Example - Digi XBee 3 ZigBee User Manual

Rf module
Table of Contents

Advertisement

API Operation
Frame data fields
Cluster ID
Profile ID
Broadcast radius
Transmission options 22
Data payload

Example

The following example 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
Start delimiter
Length
Frame type
Frame ID
64-bit destination address
Digi XBee® 3 Zigbee® RF Module
Offset
Description
Set to the cluster ID that corresponds to the ZDO command being
17
sent.
18
0x0005 = Active Endpoints Request
19-20
Set to 0x0000 for ZDO transmissions (Profile ID 0x0000 is the
Zigbee device profile that supports ZDOs).
Sets the maximum number of hops a broadcast transmission can
21
traverse. If set to 0, the device sets the transmission radius to the
network maximum hops value.
All bits must be set to 0.
The required payload for a ZDO command. All multi-byte ZDO
23
parameter values (u16, u32, 64- bit address) must be sent in little
endian byte order.
The Active Endpoints Request includes the following payload:
24
[16-bit NwkAddrOfInterest]
Note
The 16-bit address in the API example (0x1234) is sent in little
25
endian byte order (0x3412).
Send ZDO commands with the API
Offset
Example
0
0x7E
MSB 1
0x00
LSB 2
0x17
3
0x11
4
0x01
MSB 5
0x00
6
0x00
7
0x00
8
0x00
9
0x00
10
0x00
11
0xFF
LSB12
0xFF
242

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