You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 28, 2021. It is now read-only.
constuint8_t UBX_CFG_PRT = 0x00; //Used to configure port specifics
96
96
constuint8_t UBX_CFG_RATE = 0x08; //Used to set port baud rates
97
+
constuint8_t UBX_CFG_CFG = 0x09; //Used to save current configuration
97
98
constuint8_t UBX_CFG_VALSET = 0x8A; //Used for config of higher version Ublox modules (ie protocol v27 and above)
98
99
constuint8_t UBX_CFG_VALGET = 0x8B; //Used for config of higher version Ublox modules (ie protocol v27 and above)
99
100
constuint8_t UBX_CFG_VALDEL = 0x8C; //Used for config of higher version Ublox modules (ie protocol v27 and above)
@@ -189,7 +190,7 @@ class SFE_UBLOX_GPS
189
190
voidprocessRTCM(uint8_t incoming) __attribute__((weak)); //Given rtcm byte, do something with it. User can overwrite if desired to pipe bytes to radio, internet, etc.
190
191
191
192
voidprocessUBXpacket(ubxPacket *msg); //Once a packet has been received and validated, identify this packet's class/id and update internal flags
192
-
voidprocessNMEA(char incoming) __attribute__((weak)); //Given a nmea character, do something with it. User can overwrite if desired to use something like tinyGPS or MicroNMEA libraries
193
+
voidprocessNMEA(char incoming) __attribute__((weak)); //Given a NMEA character, do something with it. User can overwrite if desired to use something like tinyGPS or MicroNMEA libraries
193
194
194
195
voidcalcChecksum(ubxPacket *msg); //Sets the checksumA and checksumB of a given messages
195
196
boolean sendCommand(ubxPacket outgoingUBX, uint16_t maxWait = 250); //Given a packet and payload, send everything including CRC bytes
@@ -201,8 +202,10 @@ class SFE_UBLOX_GPS
201
202
202
203
boolean setNavigationFrequency(uint8_t navFreq, uint16_t maxWait = 250); //Set the number of nav solutions sent per second
203
204
uint8_tgetNavigationFrequency(uint16_t maxWait = 250); //Get the number of nav solutions sent per second currently being output by module
205
+
boolean saveConfiguration(uint16_t maxWait = 250); //Save current configuration to flash and BBR (battery backed RAM)
206
+
boolean factoryDefault(uint16_t maxWait = 250); //Reset module to factory defaults
204
207
205
-
boolean waitForResponse(uint16_t maxTime = 250); //Poll the module until and ack is received
208
+
boolean waitForResponse(uint8_t requestedClass, uint8_t requestedID, uint16_t maxTime = 250); //Poll the module until and ack is received
206
209
207
210
boolean getPVT(uint16_t maxWait = 1000); //Query module for latest group of datums and load global vars: lat, long, alt, speed, SIV, accuracies, etc.
208
211
int32_tgetLatitude(uint16_t maxWait = 250); //Returns the current latitude in degrees * 10^-7. Auto selects between HighPrecision and Regular depending on ability of module.
0 commit comments