Skip to content

[Feature Request] Enhanced support for UBX-CFG-GNSS (to allow Galileo configuration on M8) #237

Description

@jan5650

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();

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions