goGPS-Project/goGPS_Java

Is it possible to use this code with the u-blox M8N receiver?

Closed this issue · 4 comments

Is it possible to use this code with the u-blox M8N receiver? If so, could you please give any instructions -- where to start or anything you would consider relevant?

I'm promarily interested in getting the coordinates, altitude, accuracy and dilution info. From the cursory reading of the manual I know that there is some kind of anti-jamming support, but I'm not sure yet whether it needs to be turned on explicitly; I would also be interested in that, because sometimes I have to deal USB3 interference.

Hi, I've never used the M8N, but as far as I understood by reading online comments, it does not provide provide access - officially - to raw data. There have been people who accessed "unofficial" messages that carried raw data (UBX-TRK-MEAS and UBX-TRK-SFRBX), but it seems that these messages are no longer provided with the newer firmware (see n. 132 here http://www.rtklib.com/rtklib_support.htm).

Thank you for the information! I'm rewriting a C++ project I inherited from someone, in Java and with some new features. All the code does right now is parse the coordinates, altitude, and time, and those are the only data that the receiver generates, as far as I can see in application logs, but I see that the receiver capable of reporting signal quality / accuracy data as well. I'm not sure whether that would be considered "raw data".

I haven't figured out how to configure the GPS receiver yet. Do you think it would make sense for me to try this project?

The raw data you would need to run goGPS are (at least) pseudoranges of code and phase (i.e. satellite-receiver measured distances) and measurement time.

Happy to report the M8N can indeed provide raw data but at the moment only with firmware 2.01. See:

I want to write a little app with the required initialisation sequence but I'm having problems with RXTX and 64bit jvms.
Anyway, you need to enable first the TRK-MEAS message:

Text: !UBX CFG-MSG 3 16 0 1 0 1 0 0 (this doesn't work for me, not sure way)
Hex: B5 62 06 01 03 00 03 10 01 1E 691 (this one works)

The UBB-NAV-SOL message is also required in order to compute pseudoranges from transmission time.
There might be corrections needed for constellations other than GPS I haven't ported yet from RTK-LIB (the RTKLIB Explorer version, see here and here)

The TRK-SFRBX command is needed in order to generate Rinex Navs (which GoGPS currently doesn't produce)
!UBX CFG-MSG 3 16 0 1 0 1 0 0
B5 62 06 01 03 00 03 0F 01 1D 67

I'm gonna try with the current firmware 3.01 and see what happens.