Skip to content

Commit 711eddf

Browse files
authored
Merge pull request #82 from sparkfun/increase_buffer
Increase MAX_PAYLOAD_SIZE to 512 bytes
2 parents cb81d37 + 386d9f9 commit 711eddf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/u-blox_external_typedefs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ struct sfe_ublox_ubx_logging_list_t
254254

255255
#ifndef MAX_PAYLOAD_SIZE
256256
// v2.0: keep this for backwards-compatibility, but this is largely superseded by setPacketCfgPayloadSize
257-
#define MAX_PAYLOAD_SIZE 276 // We need >=250 bytes for getProtocolVersion on the NEO-F10N
257+
#define MAX_PAYLOAD_SIZE 512 // We need >=288 bytes for getModuleInfo on the ZED-X20P
258258
// #define MAX_PAYLOAD_SIZE 768 //Worst case: UBX_CFG_VALSET packet with 64 keyIDs each with 64 bit values
259259
#endif
260260

0 commit comments

Comments
 (0)