Report Message 112 - ULCP Binary Format, Digital Input and Output States, Modem ID and GPS Data

Header: 0x70 0xSS 0x06 0x00 0x00 0xNN 0x0000

Where NN is the message length range 0x1d to 0x27 - dependant on the modem ID string length.

Note: This message is similar to message 98, but adds output state information as well as modem ID.

Message body:
Hex Description
4 bytes Normalized latitude (RMC latitude x 100,000)
4 bytes Normalized longitude (RMC longitude x 100,000)
2 bytes Speed in knots
2 bytes Heading
1 byte GPS data validity: 0x”A” = valid; 0x”V” = invalid
1 byte Number of satellites used for position fix
1 byte Position type (from GGA message)
1 byte Digital input state (0= off, 1=on): bit 0 = input #1, bit 1 = input #2…bit 5 = input #6, bit 6 = RF switch box output mode (1 = RF off, 0 = RF on), bit 7 = ignition status.
2 bytes Altitude in meters
2 bytes Differential correction age (only valid if differential correction being used)
4 bytes Time (based on number of seconds since 00:00:00 January 1st 1970
1 byte Digital output state (0= off, 1=on): bit 0 = output #1, bit 1 = output #2, bit 2 = output #3, bit 3 = output #4, bit 4 … bit 7 = Not used
0x00 Not used
0x00 Event source: None
0x00 Event reason: None
1 to 11 bytes Modem ID: ASCII string

Note: ULCP binary messages should not be used for local serial report mode 1 and 2 in applications where timed message delivery is critical.