Operate in API mode
API frames
XBee/XBee-PRO DigiMesh 2.4 RF Module User Guide
121
Frame data
fields
Offset Description
Transmission
options
22
0x01 = Disable ACK
0x02 = Disable network address discovery
0x04 = Generate trace route frames for each hop of all transmitted
packets
0x08 = Generate NACK frames (which look identical to trace route
frames) on transmitted packets for any hop that fails along the path. No
trace route frames are generated for successful hops.
Note
0x04 is the hex value when bit 2 is set and 0x08 is the hex value
when bit 3 is set.
Set all other bits to
0
.
Data payload
23-n
Up to
NP
bytes per packet. Sent to the destination device.
Example
The following example sends a data transmission to a device with:
n
64-bit address: 0x0013A200 01238400
n
Source endpoint: 0xE8
n
Destination endpoint: 0xE8
n
Cluster ID: 0x11
n
Profile ID: 0xC105
n
Payload: TxData
Frame data fields
Offset
Example
Start delimiter
0
0x7E
Length
MSB 1
0x00
LSB 2
0x1A
Frame type
3
0x11
Frame ID
4
0x01
Содержание XBee DigiMesh 2.4
Страница 1: ...XBee XBee PRO DigiMesh 2 4 Radio Frequency RF Module User Guide...
Страница 63: ...Sleep modes Synchronization messages XBee XBee PRO DigiMesh 2 4 RF Module User Guide 63...
Страница 105: ...Operate in API mode API mode overview 106 API frames 110 XBee XBee PRO DigiMesh 2 4 RF Module User Guide 105...
Страница 112: ...Operate in API mode API frames XBee XBee PRO DigiMesh 2 4 RF Module User Guide 112...