
Messages
GPStation-6 User Manual Rev 2
40
3.4
Responses
By default, if you input a message you get back a response. If desired, the INTERFACEMODE
command can be used to disable response messages (refer to the OEM6 Firmware Reference manual).
The response will be in the exact format you entered the message (that is, binary input = binary
response).
3.4.1
Abbreviated Response
Just the leading '<' followed by the response string, for example: <OK.
3.4.2
ASCII Response
Full header with the message name being identical except ending in an 'R' (for response). The body of
the message consists of a 40 character string for the response string.
For example:
#BESTPOSR,COM1,0,67.0,FINE,1028,422060.400,00000000,a31b,0;"OK" *b867caad
3.4.3
Binary Response
Similar to an ASCII response except that it follows the binary protocols, see Table 7 on
page 41
.
Table 8, Binary Message Sequence
on
page 42
is an example of the sequence for requesting and then
receiving BESTPOSB. The example is in hex format. When you enter a hex command, you may need
to add a ‘\x’ or ‘0x’ before each hex pair, depending on your code.
For example:
0xAA0x440x120x1C0x010x000x02 and so on).
COM1_ALL, COM2_ALL, COM3_ALL, THISPORT_ALL, ALL_PORTS,
USB1_ALL, USB2_ALL, USB3_ALL, ICOM1_ALL, ICOM2_ALL,
ICOM3_ALL, XCOM1_ALL, XCOM2_ALL and XCOM3_ALL are only valid for
the UNLOGALL command.