@@ -10377,10 +10377,7 @@ bool SFE_UBLOX_GNSS::getNAVEOE(uint16_t maxWait)
10377
10377
}
10378
10378
else
10379
10379
{
10380
- // if (_printDebug == true)
10381
- // {
10382
- // _debugSerial->println(F("getEOE: Polling"));
10383
- // }
10380
+ // Note to self: NAV-EOE is "Periodic" (only). Not sure if it can be polled?
10384
10381
10385
10382
// The GPS is not automatically reporting navigation position so we have to poll explicitly
10386
10383
packetCfg.cls = UBX_CLASS_NAV;
@@ -10396,18 +10393,9 @@ bool SFE_UBLOX_GNSS::getNAVEOE(uint16_t maxWait)
10396
10393
10397
10394
if (retVal == SFE_UBLOX_STATUS_DATA_OVERWRITTEN)
10398
10395
{
10399
- // if (_printDebug == true)
10400
- // {
10401
- // _debugSerial->println(F("getEOE: data in packetCfg was OVERWRITTEN by another message (but that's OK)"));
10402
- // }
10403
10396
return (true);
10404
10397
}
10405
10398
10406
- // if (_printDebug == true)
10407
- // {
10408
- // _debugSerial->print(F("getEOE retVal: "));
10409
- // _debugSerial->println(statusString(retVal));
10410
- // }
10411
10399
return (false);
10412
10400
}
10413
10401
}
@@ -13504,23 +13492,9 @@ bool SFE_UBLOX_GNSS::getRXMSFRBX(uint16_t maxWait)
13504
13492
}
13505
13493
else
13506
13494
{
13507
- // The GPS is not automatically reporting navigation position so we have to poll explicitly
13508
- packetCfg.cls = UBX_CLASS_RXM;
13509
- packetCfg.id = UBX_RXM_SFRBX;
13510
- packetCfg.len = 0;
13511
- packetCfg.startingSpot = 0;
13512
-
13513
- // The data is parsed as part of processing the response
13514
- sfe_ublox_status_e retVal = sendCommand(&packetCfg, maxWait);
13515
-
13516
- if (retVal == SFE_UBLOX_STATUS_DATA_RECEIVED)
13517
- return (true);
13518
-
13519
- if (retVal == SFE_UBLOX_STATUS_DATA_OVERWRITTEN)
13520
- {
13521
- return (true);
13522
- }
13523
-
13495
+ // SFRBX is output-only. It cannot be polled...
13496
+ // Strictly, getRXMSFRBX should be deprecated. But, to keep the library backward compatible, return(false) here.
13497
+ // See issue #167 for details
13524
13498
return (false);
13525
13499
}
13526
13500
}
0 commit comments