sparkfun / sparkfun/SparkFun_u-blox_GNSS_Arduino_Library
[Feature Request] Enhanced support for UBX-CFG-GNSS (to allow Galileo configuration on M8)
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 286
- Forks
- 114
- PR merge metrics
- No merged PRs in 30d
Description
Hi!
I'm using Neo M8N GPS module with the code below, but unfortunately I can only see 25-26 satellites max.
Am I doing something wrong?
I want to use GPS+GLONASS+GALILEO at the same time.
at startup in setup block I check what baud number it is operating on (factory 9600 or already modified) and then I turn on the necessary satellite monitoring and change it so that no NMEA message comes but UBX
#include <SparkFun_u-blox_GNSS_Arduino_Library.h>
SFE_UBLOX_GNSS myGNSS;
#define mySerial Serial1
void setup() {
do {
mySerial.begin(38400);
if (myGNSS.begin(mySerial) == true) break;
delay(100);
mySerial.begin(9600);
if (myGNSS.begin(mySerial) == true) {
myGNSS.setSerialRate(38400);
delay(100);
} else {
delay(100);
}
} while (1);
myGNSS.enableGNSS(true, SFE_UBLOX_GNSS_ID_GPS);
myGNSS.enableGNSS(true, SFE_UBLOX_GNSS_ID_GALILEO);
myGNSS.enableGNSS(true, SFE_UBLOX_GNSS_ID_GLONASS);
myGNSS.enableGNSS(false, SFE_UBLOX_GNSS_ID_BEIDOU);
myGNSS.setUART1Output(COM_TYPE_UBX);
myGNSS.setI2COutput(COM_TYPE_UBX);
myGNSS.setMeasurementRate(200);
myGNSS.setNavigationRate(1);
myGNSS.setAutoPVTrate(1);
myGNSS.saveConfiguration();
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the enableGNSS calls shown in the issue and the library's handling of UBX-CFG-GNSS for M8 modules. Check the u-blox configuration requirements for enabling GPS, GLONASS, and Galileo together. Done means the library can configure Galileo on an M8 without disrupting the requested constellation settings, with verification added where the existing project structure supports it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- embedded-iot
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100