Skip to content

Commit a58d5a8

Browse files
authored
Support larger payload sizes (#264)
- Realized the 127-byte limit is not applicable to nRF52840, it supports up to 255 byte payloads, 254 with 16-bit CRC & DPL
1 parent 3fa7469 commit a58d5a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

RF24Network.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@
203203
#define USER_TX_MULTICAST 4
204204

205205
#if defined NRF52_RADIO_LIBRARY
206-
#define RF24NETWORK_MAX_FRAME_SIZE 123 // Size of individual radio frames is larger with NRF52
206+
#define RF24NETWORK_MAX_FRAME_SIZE 254 // Size of individual radio frames is larger with NRF52
207207
#else
208208
#define RF24NETWORK_MAX_FRAME_SIZE 32 // Size of individual radio frames
209209
#endif

0 commit comments

Comments
 (0)