...
Figure 1 illustrates a serial transaction with serial acknowledgement enabled by the Host.
Figure 1
The drawing in Figure 2 illustrates the same serial transaction but with serial acknowledgment disabled; note that these transactions omits any Status Response conveying Success.
Figure 2
...
The Module queues all outgoing serial messages to the Host. If the Host has enabled the Serial Acknowledgment option, the Module will retransmit any message up to (3) times until that message is acknowledged. The acknowledgement must be of the Status Response type, with a Frame Sequence Number that matches the frame being acknowledged.
...
- The Host should ACK every frame from the Module that is not an ACK frame or One of the Exception above.
- After the Host sends a frame to the Module, it should wait for an ACK or Response from the Module before proceeding with sending another frame.
- If the Host does not receive an ACK or Response from the Module within expected timeout periods (i.e. up to 15 seconds for a ZCL command that goes out over the network), it should retry.
Code Samples
...
language | cpp |
---|---|
title | Serial Ack Sample |
linenumbers | true |
collapse | true |
...