Rm (Ambient Power - All Channels) Command; Rn (Delay Slots) Command - Digi XTend User Manual

Rf module
Table of Contents

Advertisement

RM (Ambient Power - All Channels) Command

<Diagnostics> The RM command is used to examine and report power levels on all channels. If no parameter is given,
the channels are scanned one time. If a parameter is given, the channels are repeatedly scanned for that number of
seconds. The maximum power level seen for each channel is reported (i.e. peak hold).
A graphical spectrum analyzer can be implemented by repeatedly sending the RM command (with no arguments) and
reading the resultant 50 power levels (this is easiest to do when CF = 1 or 2).
Sample output [when CF = 0]:
Sample output [when CF = 1]:
Sample output [when CF = 2]:
AT Command: ATRM
Parameter Range: no parameter - 0x7D0)
Number of bytes returned: 2
Related Commands: RC (Ambient Power - Single channel)

RN (Delay Slots) Command

<Networking and Security> The RN command is used to set/read the time delay that the transmitting RF module
inserts before attempting to resend a packet. If the transmitting module 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 msec (when BR=1) and 54 msec (when BR=0).
If two modules attempt to transmit at the same time, the random time delay after packet failure allows only one
module to transmit the packet successfully; while the other module waits until the channel available for RF
transmission.
RN Command is only applicable if retries have been enabled [RR (Retries) Command] or if forced delays will be
inserted into a transmission [TT (Streaming Limit) Command].
AT Command: ATRN
Binary Command: 0x19 (25 decimal)
Parameter Range:0 - 0xFF [38 ms slots]
Default Parameter Value: 0 (no delay slots inserted)
Number of bytes returned: 1
Related Commands: RR (Retries), TT (Streaming Limit)
XTend RF Module User Guide
Ch 0: -100 dBm
Ch 1: -103 dBm
...
Ch 49: -99 dBm
64
67
...
63
100
-103
...
-99
Command descriptions
48

Advertisement

Table of Contents
loading

Table of Contents