Skip to main content

Module ubx

Module ubx 

Source
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§

NavPvt
UBX-NAV-PVT.
NavSvin
UBX-NAV-SVIN.
RelPosNed
UBX-NAV-RELPOSNED (version 1, F9).

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.