Using Commands and Logs Chapter 4
EuroPak-15a Receiver User Manual Rev 5 37
3. The CRC is a 32-bit cyclic redundancy check performed on all data including the header. See
Section 4.4.2.5 on Page 41 for the CRC algorithm.
4. The header is in the format shown in Tabl e 7 on Page 37.
Table 7: Binary Message Header Structure
Byte Hex Decimal
First AA 170
Second 44 68
Third 12 18
Field Field
Name Field
Type Description Binary
Bytes Binary
Offset Ignored
on Input
1sync Char Hexadecimal 0xAA 1 0 N
2sync Char Hexadecimal 0x44 1 1 N
3sync Char Hexadecimal 0x12 1 2 N
4header
length UChar Length of the header 1 3 N
5message
ID UShort Message ID. The message IDs for logs are given in
Table34 on Page 71.2 4 N
6message
type Char Message type indicator, as explained in Section
4.2.1 on Page 34.1 6 N
7port
address Char The port from which the log was generated.
See Table 10 on Page 39.1 7 N
8message
length UShort The length in bytes of the body of the message. This
does not include the header nor the CRC. 2 8 N
9sequence UShort
For multiple related logs. A number that counts
down from N-1 to 0 where N is the number of
related logs and 0 means it is the last one of the set.
Most logs only come out one at a time in which case
this number is 0.
210 N
10 idle time Char The percentage of time that the processor is idle in
the last second. Take the time (0-200) and divide by
two to give the percentage of time (0-100%). 112 Y
11 time status Enum The quality of the GPS time, as described in Section
4.4.2.4 on Page 40 1 a13 N b
12 week UShort GPS week number 214 N b
13 milli-
seconds GPSec Milliseconds from the beginning of the GPS week 416 N b
14 receiver
status ULong 32 bits representing the status of various hardware
and firmware components of the receiver. This
number is described in Table 46 on Page 93.420 Y
15 Reserved UShort Reserved for internal use 224 Y
16 UShort 226 Y
a. This ENUM is not 4 bytes long but, as indicated in the table, is only 1 byte.
b. These time fields are ignored if Field #11, Time Status, is invalid. In this case the current receiver time is used. The
recommended values for the three time fields are 0, 0, 0.