I am using nRF5_SDK_11.0.0_89a8197 to test esb maximum throughput.
in the macro definition of NRF_ESB_CREATE_PAYLOAD,
#define NRF_ESB_CREATE_PAYLOAD(_pipe, ...)
{.pipe = _pipe, .length = NUM_VA_ARGS(__VA_ARGS__), .data = {__VA_ARGS__}};
STATIC_ASSERT(NUM_VA_ARGS(__VA_ARGS__) > 0 && NUM_VA_ARGS(__VA_ARGS__) <= 63)
Where does the number 63 come from?
Since NRF_ESB_MAX_PAYLOAD_LENGTH can be from 1 to 252, I want to change 63 to 100; however, I have compiling error.
How can I stretch the payload length to 250 in NRF_ESB_CREATE_PAYLOAD?