then why is there a 2nd argument indicating size? < 32?
It allows you to read only the first x bytes from the available 32.
Likewise, it will be zero padded on sending.
I would use dynamic payloads, saves power and air time also.
Even then, read does not return anything, it just moves the memory.
uint8_t RF24::getDynamicPayloadSize (void) can be used to get the size.
https://nrf24.github.io/RF24/classRF24.html#a65963ed8d8fd45f847e2f673995b85e1
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.