Configuration and commands Serial interfacing commands
XBee®-PRO 900HP/XSC RF Modules
218
Changes to the PK parameter may have a secondary effect on the RB (Packetization Threshold)
parameter. RB must always be less than or equal to PK. If you change PK to a value that is less than
the current value of RB, the RB value lowers to be equal to PK.
Note This command is only supported on S3B hardware.
Binary command
0x29 (41 decimal)
Parameter range
0x2 - 0x100 [Bytes]
Default
0x40 (64 decimal)
Bytes returned
2
RB (Packetization Threshold)
Sets or displays the character threshold value.
RF transmission begins after a device receives data in the DIN buffer and meets either of the following
criteria:
n The UART receives RB characters
n The UART receive lines detect RO character times of silence after receiving at least 1 byte of
data
If a device lowers PK below the value of RB, RB is automatically lowered to match the PK value.
If RO = 0, the device must receive RB bytes before beginning transmission.
RB and RO criteria only apply to the first packet of a multi-packet transmission. If data remains in the
DIN buffer after the first packet, transmissions continue in a streaming manner until there is no data
left in the DIN buffer.
Binary command
0x20 (32 decimal)
Parameter range
1 - 0x100 (bytes) (Maximum value equals the current value of PK Parameter (up to 0x100 HEX (800
decimal))
Default
1
Bytes returned
2
RO (Packetization Timeout)
Set or read the number of character times of inter-character silence required before transmission
begins. For information on how ROworks with the RB command, see RB (Packetization Threshold).