Skip to content

Commit 386d9f9

Browse files
Increase MAX_PAYLOAD_SIZE to 512 bytes
Updated MAX_PAYLOAD_SIZE from 276 to 512 to support getModuleInfo() on the ZED-X20P GNSS module, which requires at least 288 bytes.
1 parent cb81d37 commit 386d9f9

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)