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.
Copy file name to clipboardExpand all lines: src/SparkFun_Ublox_Arduino_Library.h
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -149,6 +149,7 @@ const uint8_t UBX_RTCM_1230 = 0xE6; //GLONASS code-phase biases, set to once eve
149
149
150
150
constuint8_t UBX_ACK_NACK = 0x00;
151
151
constuint8_t UBX_ACK_ACK = 0x01;
152
+
constuint8_t UBX_ACK_NONE = 0x02; //Not a real value
152
153
153
154
//The following consts are used to configure the various ports and streams for those ports. See -CFG-PRT.
154
155
constuint8_t COM_PORT_I2C = 0;
@@ -204,7 +205,7 @@ enum dynModel // Possible values for the dynamic platform model
204
205
205
206
#ifndef MAX_PAYLOAD_SIZE
206
207
207
-
#defineMAX_PAYLOAD_SIZE128
208
+
#defineMAX_PAYLOAD_SIZE256//We need ~220 bytes for getProtocolVersion on most ublox modules
208
209
//#define MAX_PAYLOAD_SIZE 768 //Worst case: UBX_CFG_VALSET packet with 64 keyIDs each with 64 bit values
209
210
210
211
#endif
@@ -367,9 +368,9 @@ class SFE_UBLOX_GPS
367
368
368
369
uint32_tgetPositionAccuracy(uint16_t maxWait = 500); //Returns the 3D accuracy of the current high-precision fix, in mm. Supported on NEO-M8P, ZED-F9P,
369
370
370
-
uint8_tgetProtocolVersionHigh(uint16_t maxWait = 1000); //Returns the PROTVER XX.00 from UBX-MON-VER register
371
-
uint8_tgetProtocolVersionLow(uint16_t maxWait = 1000); //Returns the PROTVER 00.XX from UBX-MON-VER register
0 commit comments