Description of Binary Exchange Protocol Commands
Format of Binary Protocol Messages
All the commands of the binary communication protocol have the same standardized format which is given in the table:
| Sequential number of the field | Field name | Field size, byte | Description |
|---|---|---|---|
| 1 | Prefix | 1 | The field is a marker of the message beginning shall have prefix 31h, and an outcoming messages shall be displayed with 3Eh prefix by the program. |
| 2 | Network address | 1 | For prefix 31h specify the network address of the recipient For prefix 3Eh specify the network address of the sender |
| 3 | Operation code | 1 | For prefix 31h specify the code of operation which the program shall perform For Eh prefix specify the code of operation to which the response is given |
| 4 | Data | It depends on the operation code | Data composition and format of the field depends on the operation code |
| 5 | Checksum | 1 | The field is used to control over data integrity |