Manual Documentation Number: MDRxxxxA-807 29
Black Box Corporation - 1000 Park Drive - Lawrence, PA 15055-1018
www.blackbox.com -- Tech Support and Ordering: 724-746-5500 - Fax: 724-746-0746
RN (Delay Slots) Command
<Networking & Security> RN
Command is only applicable if
retries have been enabled [RR
(Retries) parameter > 0], or if
forced delays will be inserted
into a transmission [TT
(Streaming Limit) parameter >
0]. RN Command is used to
adjust the time delay that the
transmitter inserts before
attempting to resend a packet.
If the transmitter fails to receive an acknowledgement after sending a packet, it will
insert a random number of delay slots (ranging from 0 to (RN minus 1)) before
attempting to resend the packet. Each delay slot lasts for a period of 38ms.
If two modules attempted to transmit at the same time, the random time delay after
packet failure would allow one of the two modules to transmit the packet successfully,
while the other would wait until the channel opens up to begin transmission.
RO (Packetization Timeout)
Command
<Serial Interfacing> Set/Read
the time of silence (no bytes
received) after which
transmission begins. After a
serial byte is received and if no
other byte is received before
the RO timeout, the
transmission will start.
RP (RSSI PWM Timer)
Command
<Diagnostics> RP Command
is used to enable PWM (Pulse
Width Modulation) output on
the CONFIG pin. The output is
calibrated to show the level the
received RF signal is above
the sensitivity level of the
module. The PWM pulses
vary from zero to 95 percent.
Zero percent means the received RF signal is at or below the published sensitivity
level of the module. The following table shows levels above sensitivity and PWM
values.
The total period of the PWM output is 8.32 ms. Because there are 40 steps in the
PWM output; the minimum step size is 0.208 ms.
AT Command: ATRN
Binary Command: 0x19 (25 decimal)
Parameter Range: 0 – 0xFF [slots]
Default Parameter Value: 0
(no delay slots are inserted)
Number of bytes returned: 1
Related Commands: RR (Retries), TT (Streaming
Limit)
Minimum Firmware Version Required: 4.22
AT Command: ATRO
Binary Command: 0x21 (33 decimal)
Parameter Range: 0 – 0xFFFF [x 200 µs]
Default Parameter Value: 0
Number of bytes returned: 2
Minimum Firmware Version Required: 4.2A
AT Command: ATRP
Binary Command: 0x22 (34 decimal)
Parameter
Range: 0 - 0x7F [x 100 milliseconds]
Default Parameter Value: 0 (disabled)
Number of bytes returned: 1
Minimum Firmware Version Required: 4.2A
30 Manual Documentation Number: MDRxxxxA-807
Black Box Corporation - 1000 Park Drive - Lawrence, PA 15055-1018
www.blackbox.com -- Tech Support and Ordering: 724-746-5500 - Fax: 724-746-0746
PWM Chart
dBm above Sensitivity PWM percentage (high period / total period)
10 47.5%
20 62.5%
30 77.5%
A non-zero value defines the time that the PWM output will be active with the RSSI
value of the last received RF packet. After the set time when no RF packets are
received, the PWM output will be set low (0 percent PWM) until another RF packet is
received. The PWM output will also be set low at power-up. A parameter value of
0xFF permanently enables the PWM output and it will always reflect the value of the
last received RF packet.
PWM output shares the Config input pin. When the module is powered, the Config pin
will be an input. During the power-up sequence, the Config pin will be read to
determine whether the module is going into AT Command Mode. After this, if RP
parameter is a non-zero value, the Config pin will be configured as an output and set
low until the first RF packet is received. With a non-zero RP parameter, the Config pin
will be an input for RP ms after power up.
RR (Retries) Command
<Networking> Set/Read the
number of retries that can be
sent for a given RF packet.
Once RR command is enabled
(set to a non-zero value), RF
packet acknowledgements and
retries are enabled. After
transmitting a packet, the transmitter will wait to receive an acknowledgement from a
receiver. If the acknowledgement is not received in the period of time specified by the
RN (Delay Slots) Command, the transmitter will transmit the original packet again.
The packet will be transmitted repeatedly until an acknowledgement is received or
until the packet has been sent RR times.
Note: For retries to work correctly, all modules in the system must have
retries enabled.
RS (RSSI) Command
<Diagnostics> Read the signal
level of the last packet
received. This reading is useful
for determining range
characteristics of the modules
under various conditions of
noise and distance.
Once the command is issued, the module will return a value between 0x06 and 0x36.
(‘0x36’ represents a very strong signal level and ‘0x06’ indicates a low signal level.)
Binary Command: 0x18 (24 decimal)
Parameter Range: 0 – 0xFF
Default Parameter Value: 0 (disabled)
Number of bytes returned: 1
Minimum Firmware Version Required: 4.22
AT Command: ATRS
Binary Command: 0x1C (28 decimal)
Parameter Range: 0x06 – 0x36 [read-only]
Number of bytes returned: 1
Minimum Firmware Version Required: 4.22