Skip to content

Commit cc27fb0

Browse files
committed
Increase MAX_PAYLOAD_SIZE to 276 (matches v3 of the library)
1 parent 9b27ef1 commit cc27fb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/SparkFun_u-blox_GNSS_Arduino_Library.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ enum sfe_ublox_rxm_mode_e
604604

605605
#ifndef MAX_PAYLOAD_SIZE
606606
// v2.0: keep this for backwards-compatibility, but this is largely superseded by setPacketCfgPayloadSize
607-
#define MAX_PAYLOAD_SIZE 256 // We need ~220 bytes for getProtocolVersion on most ublox modules
607+
#define MAX_PAYLOAD_SIZE 276 // We need >=250 bytes for getProtocolVersion on the NEO-F10N
608608
//#define MAX_PAYLOAD_SIZE 768 //Worst case: UBX_CFG_VALSET packet with 64 keyIDs each with 64 bit values
609609
#endif
610610

0 commit comments

Comments
 (0)