Orient ОС-201 [31/244] Abbreviated ascii

Orient ОС-201 [31/244] Abbreviated ascii
COMNAV OEM BOARD REFERENCE MANUAL
Chapter 3. Compatible Commands
ComNav Technology Ltd.
12
CNT-OEM-RM001, Rev 1.8
*1234ABCD[CR][LF]. This value is a 32-bit CRC of all bytes in the log, excluding the’#’
identifier and the asterisk preceding the four checksum digits.
Example
#HEADINGA,COM1,0,60.0,FINESTEERING,2034,301375.000,00000000,0
000,1114;SOL_COMPUTED,SINGLE,0.000000000,0.000000000,0.000000
000,0.000000000,180.000000000,90.000000000,"AAAA",18,18,18,18,
0,0,0,0*a3ac87f5
Abbreviated ASCII
This message format is designed to make the entering and viewing of commands and logs by
the user as simple as possible. The data is represented as simple ASCII characters separated by
spaces or commas and arranged in an easy to understand fashion. There is also no 32-bit CRC
for error detection because it is meant for viewing by the user.
Example Command
log version
Response Log
<VERSION COM1 0 60.0 UNKNOWN 0 0.000 00000000 0000 1114
< 1
< GPSCARD "S2002" "00902165" "CARD-501AA-22" "1.10A-1.10A" "1.000"
"2012/May/ 5" "18:18:52"
As you can see the array of 3 logs are offset from the left hand side and start with ‘<‘.
Binary
The binary format is similar to that of ComNav format. See Appendix A. Binary Commands.
Command Format
Cmd param1 paramN\r\n
The sending message is a simple ASCII string in which characters are separated by spaces and
arranged in an easy to understand fashion. The first character is command name. And don’t
miss the tail, \r\n”.
Reply Message
Except LOG command, other command’s response is:

Содержание

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

Скачать