Transmit Options Bit Field; Examples - Digi XBee SX 868 User Manual

Radio frequency (rf) module
Hide thumbs Also See for XBee SX 868:
Table of Contents

Advertisement

Frame descriptions
Offset
Size
17-n
variable
EOF
8-bit

Transmit options bit field

The available transmit options vary depending on the protocol being used. Bitfield options can be
combined. Set all unused bits to 0.
0
Disable ACK [0x01]
Disable route
1
discoveries [0x02]
Unicast NACK [0x04]
2
Unicast trace route
3
[0x08]
5
Reserved
6,7
Delivery method

Examples

Each example is written without escapes (AP=1) and all bytes are represented in hex format. For
brevity, the start delimiter, length, and checksum fields have been excluded.
64-bit unicast
Sending a unicast transmission to a device with the 64-bit address of 0013A20012345678 with the
serial data "TxData". Transmit options are set to 0, which means the transmission will send using the
options set by the TO command.
The corresponding
the transmission succeeded.
7E 00 14 10 52 00 13 A2 00 12 34 56 78 FF FE 00 00 54 78 44 61 74 61 91
XBee® SX 868 RF Module User Guide
Frame Field
Description
options
options.
If set to 0, the value of TO specifies the transmit options.
Payload
Data to be sent to the destination device. Up to NP bytes per
data
packet.
Checksum
0xFF minus the 8-bit sum of bytes from offset 3 to this byte
(between length and checksum).
Disable acknowledgments on all unicasts.
Disable Route Discovery on all DigiMesh unicasts.
Enable unicast NACK messages on DigiMesh transmissions
When set, a failed transmission will generate a
0x8D frame for diagnosis.
Enable a unicast Trace Route on DigiMesh transmissions
When set, the transmission will generate a
0x8D frame.
<set this bit to 0>
b'00 = If BR = 0 then packet type will be Point-multipoint otherwise
it will be DigiMesh
b'01 = Point-multipoint [0x40]
b'10 = Repeater mode, Directed Broadcast [0x80]
b'11 = DigiMesh—not available when BR = 0 [0xC0]
Transmit Status -
0x89 response with a matching Frame ID will indicate whether
Transmit Request - 0x10
Route Information -
Route Information -
172

Advertisement

Table of Contents
loading

Table of Contents