21 #ifndef SELKIELoggerGPS_Types
22 #define SELKIELoggerGPS_Types
43 #define UBX_SYNC_BYTE1 0xB5
50 #define UBX_SYNC_BYTE2 0x62
struct ubx_message_name ubx_message_name
UBX Message descriptions.
struct ubx_message ubx_message
Internal representation of a UBX message.
struct ubx_nav_pvt ubx_nav_pvt
Represent decoded NAV-PVT message.
ubx_class
UBX Message class ID bytes.
UBX Message descriptions.
uint8_t msgID
Message ID byte.
char name[30]
Human readable description/name.
uint8_t msgClass
ubx_class value
Internal representation of a UBX message.
uint8_t csumB
Checksum part B.
uint8_t sync1
Should always be 0xB5.
uint8_t sync2
Should always be 0x62.
uint8_t data[256]
Data if length <= 256.
uint8_t msgClass
A value from ubx_class.
uint8_t msgID
Message ID byte.
uint16_t length
Message length.
uint8_t csumA
Checksum part A.
Represent decoded NAV-PVT message.
int32_t downV
Velocity (Down, mm/s)
uint8_t second
Second (UTC)
uint32_t tow
GPS Time of Week.
uint8_t minute
Minute (UTC)
uint8_t numSV
Number of satellites used for current solution.
int32_t ASL
Height above mean sea level (?datum)
uint32_t accuracy
Estimated time accuracy (ns)
float magneticDeclination
Local magnetic field declination.
float latitude
WGS84 Latitude.
uint32_t vertAcc
Vertical accuracy estimate.
int32_t headingAcc
Heading accuracy estimate.
bool validTime
Time data valid.
uint8_t fixType
Navigation Fix type.
int32_t speedAcc
Speed/velocity accuracy estimate.
uint16_t year
Calendar year.
int32_t groundSpeed
Ground Speed (mm/s)
int32_t northV
Velocity (North, mm/s)
int32_t height
WGS84 Height.
uint8_t pvtFlags
More flags.
uint32_t horizAcc
Horizontal accuracy estimate (mm)
bool validMagDec
Magnetic declination data valid.
float heading
Motion heading.
int32_t eastV
Velocity (East, mm/s)
uint8_t fixFlags
Navigation status flags.
uint16_t pDOP
Position dilution.
uint8_t fixFlags2
Expanded navigation status flags.
int32_t nanosecond
+/- nanosecond (UTC)
uint8_t month
Calendar month.
float magDecAcc
Estimated accuracty of magnetic field declination.
float longitude
WGS84 Longitude.
float vehicleHeading
Vehicle orientation.
bool validDate
Date data valid.