Expand description
UBX message decode for the navigation, timing, acknowledgement and version
messages a host typically consumes. Offsets follow the u-blox F9 interface
description; every decoder checks the payload length first and returns
None for a short or foreign payload.
Structs§
Constants§
- ACK_ACK
- Message id of ACK-ACK.
- ACK_NAK
- Message id of ACK-NAK.
- CFG_
VALSET - Message id of CFG-VALSET.
- CLS_ACK
- UBX class ACK (acknowledgements).
- CLS_CFG
- UBX class CFG (configuration).
- CLS_MON
- UBX class MON (monitoring).
- CLS_NAV
- UBX class NAV (navigation results).
- CLS_TIM
- UBX class TIM (timing).
- GPS_
UTC_ LEAP_ S - GPS − UTC leap seconds, constant since 2017-01-01.
- MON_VER
- Message id of MON-VER.
- NAV_DOP
- Message id of NAV-DOP.
- NAV_PVT
- Message id of NAV-PVT.
- NAV_
RELPOSNED - Message id of NAV-RELPOSNED.
- NAV_
SVIN - Message id of NAV-SVIN.
- TIM_TP
- Message id of TIM-TP.
Functions§
- ack_
target - UBX-ACK-ACK / ACK-NAK: the acknowledged (class, id).
- days_
from_ civil - Days since 1970-01-01 of a proleptic Gregorian date.
- mon_
ver_ model - UBX-MON-VER: the module name (
MOD=extension), else the hardware version string. - nav_
dop_ hdop - UBX-NAV-DOP: the horizontal DOP.
- nav_pvt
- Decode a NAV-PVT payload.
- nav_
relposned - Decode a NAV-RELPOSNED (version 1) payload.
- nav_
svin - Decode a NAV-SVIN payload.
- tim_
tp_ utc_ ns - UBX-TIM-TP: the UTC (Unix ns) of the next time pulse.