RN (Delay Slots)
This command applies to the XTC RF Module.
Sets or displays the time delay that the transmitting device inserts before attempting to resend a packet. If the transmitting device fails to receive an acknowledgment after sending a packet, it inserts a random number of delay slots (ranging from 0 to (RN minus 1)) before attempting to resend the packet. Each delay slot is 5 ms when BR = 1 and 54 ms when BR = 0.
If two devices attempt to transmit at the same time, the random time delay after packet failure only allows one device to transmit the packet successfully, while the other device waits until the channel is available for RF transmission.
RN is only applicable if:
- You enable retries using the RR command, or
- You insert forced delays into a transmission using the TT command
Binary command
0x19 (25 decimal)
Parameter range
0 - 0xFF [38 ms delay slots]
Default
0 (no delay slots inserted)
Bytes returned
1