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

nRF24L01+: How resend the same packet to PTX?

Best regards:

Once the data was received in PRX, Is there a way forward (or modify) to PTX the same data and deliver it together with ACK payload in the same transaction?

Example:

PTX send "0x05" ----> PRX (0x05 + 1 = 0x06)

PTX receive "0x06" <--- PRX (responds along with ACK PAYLOAD)

In my tests PTX receive "0x06" when send a second packet but I need to receive in the first ack payload.

How do i do it?

Parents Reply
  • In my algorithm, PTX sends the same packet (0x05 value) 2 times to PRX (2 transactions), PRX add  1 to 0x05 value but PTX gets the valid response (0x06 value) in the second transaction.

    So you confirm to me that in the same transaction it is impossible for PRX to respond to PTX?

    Is there no way that PRX will just receive the value 0x05 increment it to 0x06 and immediately forward it to PTX? (in the same transaction).

Children
Related