Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

UBX: counter hit MAX_PAYLOAD_SIZE #123

@eried

Description

@eried

Subject of the issue

I am getting that debug output message about UBX: counter hit MAX_PAYLOAD_SIZE, what is the reason behind that message?

Your workbench

Artemis Global Tracker with ZOE-M8Q

Expected behavior

Silent operation

Actual behavior

UBX: counter hit MAX_PAYLOAD_SIZE messages while waiting for SIV > 8

The piece of code doing this:


      if (verbose)
        myGPS.enableDebugging(); // Enable debug messages
        
      myGPS.setI2COutput(COM_TYPE_UBX); // Limit I2C output to UBX (disable the NMEA noise)

      long abort = millis() + GPS_ABORT_AFTER_MS;
      while (millis() < abort)
      {
        dispatcher.delay(3000);
        byte fixType = myGPS.getFixType();

        String d = "Waiting for FIX>0: ";
        d += fixType;
        debugln(d.c_str());

        if (fixType > 0)
        {
          byte SIV = myGPS.getSIV();

          String d = "Waiting for SIV>: ";
          d += GPS_MIN_SIV + ": ";
          d += SIV;
          debugln(d.c_str());

          if (SIV > GPS_MIN_SIV)
          {
            debugln("Waiting for valid time and date");

            if (myGPS.getTimeValid() && myGPS.getDateValid())
            {

I am just querying the values every 3 seconds, so I do not think it might be the source of problem

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions