Back to Serial Studio

UBX Protocol (u-blox)

app/rcc/scripts/native/ubx_ublox.md

4.0.11.1 KB
Original Source

UBX Protocol (u-blox)

Decodes NAV-PVT, NAV-SAT, NAV-SOL and NAV-POSLLH messages from u-blox GNSS receivers. Values latch between frames.

Wire Format

The parser expects sync-stripped messages:

[class][id][len lo][len hi][payload ...][ckA][ckB]

Parameters

ParameterTypeDefaultDescription
Validate checksumbooleanonRejects messages with an invalid Fletcher checksum.

Output Channels

ChannelValueMessage
1-2Latitude, longitude (degrees)NAV-PVT, NAV-POSLLH
3-4Height MSL, ellipsoid height (m)NAV-PVT, NAV-POSLLH
5-6Ground speed (m/s), heading (degrees)NAV-PVT
7-9Velocity N/E/D (m/s)NAV-PVT
10Satellites in useNAV-PVT
11iTOW (ms)NAV-PVT
12-14iTOW, version, satellite countNAV-SAT
15-19ECEF X/Y/Z (m), accuracy (m), satellitesNAV-SOL

Pipeline Notes

Select the Binary (raw bytes) decoder with a B5 62 start delimiter (Hex Delimiters enabled) so the frame reader strips the sync characters.