Hi,
I am using esb function to implement my project, and I set "noack" condition to "true".
How can I know the destination address when I receive a packet?
Thank you,
Chianglin
Hi,
I am using esb function to implement my project, and I set "noack" condition to "true".
How can I know the destination address when I receive a packet?
Thank you,
Chianglin
Hi Chianglin
In ESB mode the radio address is abstracted using the pipe concept. Essentially you configure up to 8 different addresses in the radio, and you only refer to them by referencing the pipe number (0-7).
Whenever you receive a packet you can read the reception pipe from the pipe field in the nrf_esb_payload_t struct, and the address will correspond to the address you have configure into that pipe.
Best regards
Torbjørn