186
DG14 and DG16 Board & Sensor Reference Manual
As with the other query commands, the port designator (B) is optional. If a port is
not specified, the receiver sends the response to the current port.
Message Structure
Real-time messages are output in binary format:
HEADER,MESSAGE ID,DATA + CHECKSUM<CR><LF>
The header field always contains
$PASHR
. The message identifier field contains
the three-character message identifier
(MBN, PBN, SAL, etc.)
and is followed by
a field containing the binary data string. The header, identifier, and data string fields
are comma delimited. Depending on the message selected, the checksum is
contained in the last one or two bytes of the binary data string. All real-time
messages are terminated with a Carriage Return/Line Feed <CR><LF> delimiter.
The MBN message is output:
$PASHR,MPC,<Binary Data Checksum><CR><LF>
The general format for the set command to enable or disable output of raw data
messages is
$PASHS,RAW,s1,c1,s2
where s1 is the three-character message
identifier, c1 is the port designator, and s2 is ON or OFF. The port designator is a
required parameter in enabling or disabling the output of raw data messages.
Checksum
There are three different algorithms used in the checksum calculation, one for text
messages and two for binary messages:
• Text Messages:
• The hexadecimal checksum is computed by exclusive-O-Ring all of
the bytes in the message between, but not including, the $ and the *
The result is *hh where h is a hex character.
• Binary Messages:
• The checksum for all binary messages except MCA is computed by
breaking the structure into 20 unsigned shorts, adding them together,
and taking the least significant 16 bits of the result.
• The checksum for the MCA message is computed by a
bytewise exclusive OR (XOR) of all bytes from sequence tag (just
after header) to the byte before the checksum.
All bytes are in MC6800 order: most significant byte first (IBM PC uses Intel order: least significant
byte first).
Содержание DG14
Страница 12: ...xii DG16 Board Sensor Reference Manual...
Страница 14: ...xiv G12 GPS OEM Board Sensor Reference Manual...
Страница 48: ...28 DG14 and DG16 Board Sensor Reference Manual...
Страница 72: ...52 DG14 and DG16 Board Sensor Reference Manual...
Страница 105: ...Coordinate Transformation 85 Coordinate Transformation Figure 4 4 Oblique Mercator Figure 4 5 Stereographic...
Страница 202: ...182 DG14 and DG16 Board Sensor Reference Manual...
Страница 344: ...324 DG14 and DG16 Board Sensor Reference Manual...
Страница 374: ...354 DG14 and DG16 Board Sensor Reference Manual...
Страница 389: ...369 Index W warm start 2 33 WGS 72 81 WGS 84 4 81 86 X XMG 284 XYZ 221 Z ZDA 285...
Страница 390: ...370 DG14 and DG16 Board Sensor Reference Manual...