Digi XBee 3 ZigBee User Manual page 241

Rf module
Table of Contents

Advertisement

API Operation
ZDO command
Simple Descriptor Request
Active Endpoints Request
Match Descriptor Request
Mgmt LQI Request
Mgmt Routing Request
Mgmt Leave Request
Mgmt Permit Joining Request
Mgmt Network Update Request
Use the
Explicit Addressing Command frame - 0x11
devices in the network. Sending ZDO commands with the Explicit Transmit API frame requires some
formatting of the data payload field.
When sending a ZDO command with the API, all multiple byte values in the ZDO command (API
payload), for example, u16, u32, and 64-bit addresses, must be sent in little endian byte order for the
command to be executed correctly on a remote device.
For an API XBee to receive ZDO responses, set
frame.
The following table shows how you can use the Explicit API frame to send an "Active Endpoints"
request to discover the active endpoints on a device with a 16-bit address of 0x1234.
Frame data fields
Frame type
Frame ID
64-bit destination
address
16-bit destination
network address
Source endpoint
Destination endpoint
Digi XBee® 3 Zigbee® RF Module
AO (API Options)
Offset
Description
3
0x11
4
Identifies the data frame for the host to correlate with a
subsequent transmit status. If set to 0 , the device does not send a
response out the serial port.
MSB first, LSB last. The 64-bit address of the destination device (big
5-12
endian byte order). For unicast transmissions, set to the 64-bit
address of the destination device, or to 0x0000000000000000 to
send a unicast to the coordinator. Set to 0x000000000000FFFF for
broadcast.
13
MSB first, LSB last. The 16-bit address of the destination device (big
endian byte order). Set to 0xFFFE for broadcast, or if the 16-bit
14
address is unknown.
15
Set to 0x00 for ZDO transmissions (endpoint 0 is the ZDO
endpoint).
16
Set to 0x00 for ZDO transmissions (endpoint 0 is the ZDO
endpoint).
Send ZDO commands with the API
Cluster ID
0x0004
0x0005
0x0006
0x0031
0x0032
0x0034
0x0036
0x0038
to send Zigbee device objects commands to
to 1 to enable the explicit receive API
241

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the XBee 3 ZigBee and is the answer not in the manual?

Questions and answers

Table of Contents