Orient ОС-103 [238/244] Appendix a binary commands

Orient ОС-201 [238/244] Appendix a binary commands
COMNAV OEM BOARD REFERENCE MANUAL
Appendix A. Binary Commands
ComNav Technology Ltd.
219
CNT-OEM-RM001, Rev 1.8
APPENDIX A. BINARY COMMANDS
This chapter describes the syntax and usage of board commands defined by ComNav.
A.1 COMMAND FORMATS
A.1.1 ComNav Command Formats
$
$
Cmd
Direct
Len
Cksum
\r
\n
Table 54.Description of Parameters
ITEM
LENGTH
DESCRIPTION
$$
2 bytes
Prompt
Cmd
2 bytes
Command Code
Direct*
1 byte
ID of Source device and Target device
Len*
1 bytes (2 bytes before Ver5.0)
Length of Data
Data
N bytes
Data
Cksum*
1 byte
Checksum
\r\n
2 bytes
Carriage return and line feed. Tail of Command
NOTE:
* Direct
The high 4 bits is id of source device, and the low 4 bits is id of target device. All IDs are listed
inTable 56. For example:
@=0x18
Where source device id =0001 (PC/PDA COM Port), destination device id=1000 (Data
controller).
* Len

Содержание

Похожие устройства

Скачать