SparkFun Forums 

Where electronics enthusiasts find answers.

Tips and questions relating to the GPS modules from SFE
By dkelly79
#201549
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.

Any suggestions welcome!