Chapter 1: ANAFAZE/AB Protocol
Communications Specification 5
This flowchart shows one way for the host software to handle error
checking. (If you are writing simple software, you don't necessarily
need to use error handling routines as complete as these.)
Send command
packet
Wait for DLE ACK
or DLE NAK
Timed out?
Got ACK
or NAK?
Sent DLE
Sent packet
ENQ
3 times?
Wait for reply
packet
Send DLE NAK
Timed out?
Sent DLE
NAK 3 times?
Packet valid?
Send DLE ACK
Send DLE ENQ
NO
YES
YES
YESYES
YES
NO
NO
NO
NO
NO
NAK
ACK
Done
YES
3 times?
Comments to this Manuals