44
Manual Documentation Number: ZPXXx-XXXXx-XR-0812
B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104 –
www.bb-elec.com
B&B Electronics – Westlink Commercial Park – Oranmore, Galway, Ireland – Ph +353 91-792444 – Fax +353 91-792445 –
www.bb-europe.com
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.
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.
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
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