Examples of the handshaking flowchart
• Example of successful handshaking
HOST | SLAVE | |
Command | Command | |
acceptable | ||
| ||
| Related | |
| Status answer | |
| or ACK | |
Status request | Request | |
| acceptable | |
| Status answer | |
| Changed | |
| some status! | |
| Auto status | |
| feedback |
The product can reply ACK instead of related status, if the product can not send the related status immediatly.
• Examples of handshaking error
HOST | SLAVE |
Command | Command |
| incorrect |
| NAK |
Status request | Request |
| |
| incorrect |
| NAK |
RECOMMENDATIONS OF COMMAND, STATUS AND LAYER DEFINITION
-All Commands, Statuses and Layers will be defined other specific document.
-[MANDATORY] The product MUST have Commands and the Statuses same as a remote controller buttons (IR controller) of the product.
-All commands are required working by discreate as ON/OFF commands. (It means that do not support TOGGLE command only.)
-AllCommandsandStatusesaredefinedsamecharactersizeexceptACK/NAKontheproduct.(Recommended character length : 3~6 characters)
-It permits attaching 0x0A character to reply characters from the product. In this case, must suppose that the object is followed altogether.
-Recommend to supports numbers or values direct setting command, if it has variable numbers or values.
ENGLISH
39