SparkFun Electronics

UBX Message Parsing with SparkFun_UBLOX lib

UBX Message Parsing with SparkFun_UBLOX lib

Posted: Wed Dec 26, 2018 1:00 pm

by dkelly79

Hi, I'm looking for suggestions on how to read a UBX packet on I2C using the SparkFun_UBLOX library, and then parse it. I've studied the SparkFun_UBLOX library examples, which gives an example of NMEA parsing, but no example for UBX message parsing is provided.

I regularly use Brian Taylor's UBLOX library (see Bolderflight on github) for parsing UBX via UART, so was hoping I could use Brian's UBX parsing lib and combine it with the Sparkfun_UBLOX library to pass it raw UBX via I2C, similar to the NMEA example in the SparkFun_UBLOX library. But I can't seem to figure this out.