philrandal / gpsctl

GPS control and configuration for U-Blox GPS on Raspberry Pi 3B...
MIT License
44 stars 4 forks source link

Cannot configure both BeiDou and Glonass together #5

Closed philrandal closed 5 years ago

philrandal commented 5 years ago

Trying to enable both BeiDou and Glonass results in the following

$ /usr/local/bin/gpsctl -a -vv --satellites
Serial port ("/dev/serial0") open...
Serial port open and configured...
Automatically determining baud rate...
Trying 230400 baud...
Trying 115200 baud...
Synchronized on 115200 baud...
Error: Received a NAK
   Caused: problem sending GNSS configuration to GPS
   Caused: problem configuring the GPS satellites
   Caused: command line options processing error during action phase: fatal error.

Section 4.2 of the m8 receiver config doc says

"GLONASS and BeiDou both operate on different frequencies, therefore the receiver must be able to receive a second or even third carrier frequency in order to process these systems together with GPS."

Works with either one enabled, but not both.

As an aside, that same section says that Beidou, like Galileo, should have NMEA 4.1 configured.

philrandal commented 5 years ago

Thanks to Adam Kumiszcza for bringing this to my attention

philrandal commented 5 years ago

Documented in v1.5 Readme and release notes.

Auto-enabled NMEA 4.1 for both BeiDou and Galileo in release 1.5.