Amateur radio, programming, electronics and other musings

Report Packet 0x8F-AB Primary Timing Packet

Report Packet 0x8F-AB Primary Timing Packet

In an earlier post I posted a sample capture from my Trimble to demonstrate the kind of data packets which would need to be interpreted by the software.  I left it for a little while giving any readers the chance to dig into the documentation and decode it themselves.  I received an email from Sam in VKland who managed to do just that and send me the decoded output.  Not sure if Sam is a radio ham but he has already posted some ideas for the future of the project.

0x8F-AB is an automatic output packet which provides time information once per second if enabled with packet 0x8E-A5. GPS week number, GPS time-of-week (TOW), UTC integer offset, time flags, date and time-of-day (TOD) information is provided. This packet can be requested with packet 0x8E-AB.

ByteBitItemTypeValueDescription
0SubcodeUNIT80xAB
1-4Time of WeekUINT32GPS seconds of week
5-6Week NumberUINT16GPS Week Number (see above)
7-8UTC OffsetINT16UTC Offset (seconds)
90

1

2

3

4

Timing FlagBit field0
1
0
1
0
1
0
1
0
1
GPS time
UTC time
GPS PPS
UTC PPS
time is set
time is not set
have UTC info
no UTC info
time from GPS
time from user
10SecondsUNIT80-59(60 for UTC leap second event)
11MinutesUNIT80-59Minutes of Hour
12HoursUNIT80-23Hour of Day
13Day of MonthUNIT81-31Day of Month
14MonthUNIT81-12Month of Year
15-16YearUINT16Four digits of Year (e.g. 2012)