This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How can I know the destination address when I receive an esb packet?

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

Parents
  • 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

Reply
  • 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

Children
No Data
Related