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

how can i know 51822 ESB PTX sent packages successfully without ack?

hi

I am using ESB_DPL protocol between 51822 and 24LE1, and i used the sdk 12.2 examples/proprietary_rf/esb_ptx.

In my case, 51822 sent some packages with PTX mode, and did not require ack by 24LE1. i know if no ack to tx, PTX would get the NRF_ESB_EVENT_TX_FAILED event. so i set selective_auto_ack = true and tx_payload.noack = true, but i still got the NRF_ESB_EVENT_TX_FAILED event. how can i know 51822 PTX already sent packages successfully without ack?

thanks

Parents
  • Hi

    There is actually a bug in the ESB protocol pertaining to the use of the NOACK bit.

    Because of a mistake in the old nRF24Lxx documentation, the ack/noack bit was described as being a noack bit, but in reality it behaves as an ack bit in the nRF24L family. In other words it should be 1 if you want an ACK and 0 if you don't want an ACK, assuming dynamic ACK is enabled.

    This might lead to odd behavior when using the current library with an nRF24L series device, if you have dynamic ACK enabled.

    We are planning to fix this in a future update, but it is not confirmed when it will be out.

    If you want to know how to apply the fix manually just let me know, and I will dig out a patch.

    Best regards
    Torbjørn

Reply
  • Hi

    There is actually a bug in the ESB protocol pertaining to the use of the NOACK bit.

    Because of a mistake in the old nRF24Lxx documentation, the ack/noack bit was described as being a noack bit, but in reality it behaves as an ack bit in the nRF24L family. In other words it should be 1 if you want an ACK and 0 if you don't want an ACK, assuming dynamic ACK is enabled.

    This might lead to odd behavior when using the current library with an nRF24L series device, if you have dynamic ACK enabled.

    We are planning to fix this in a future update, but it is not confirmed when it will be out.

    If you want to know how to apply the fix manually just let me know, and I will dig out a patch.

    Best regards
    Torbjørn

Children
Related