API Operation
example uses arbitrary source and destination endpoints. The hardware version attribute (attribute ID
0x0003) is part of the basic cluster (cluster ID 0x0000). The Read Attribute general command ID is 0x00.
Frame fields
Frame type
Frame ID
64-bit
destination
address
16-bit
destination
network
address
Source
endpoint
Destination
endpoint
Cluster ID
Profile ID
Broadcast
radius
Transmit
options
Data payload ZCL
frame
header
XBee/XBee-PRO® S2C Zigbee® RF Module User Guide
Send Zigbee cluster library (ZCL) commands with the API
Description
Offset
3
4
Identifies the serial port data frame for the host
to correlate with a subsequent transmit status.
If set to 0, no transmit status frame will be sent
out the serial port.
MSB 5
The 64-bit address of the destination device
(big endian byte order). For unicast
6
transmissions, set to the 64-bit address of the
destination device, or to 0x0000000000000000
7
to send a unicast to the coordinator. Set to
8
0x000000000000FFFF for broadcast.
9
10
11
LSB 12
MSB 13
The 16-bit address of the destination device
(big endian byte order). Set to 0xFFFE for
broadcast, or if the 16-bit address is unknown.
LSB 14
15
Set to the source endpoint on the sending
device (0x41 arbitrarily selected).
16
Set to the destination endpoint on the remote
device (0x42 arbitrarily selected).
MSB 17
Set to the cluster ID that corresponds to the
ZCL command being sent. 0x0000 = Basic
LSB 18
Cluster.
MSB 19
Set to the profile ID supported on the device
(0xD123 arbitrarily selected).
LSB 20
21
Sets the maximum number of hops a broadcast
transmission can traverse. If set to 0, the
transmission radius will be set to the network
maximum hops value.
22
All bits must be set to 0.
Frame
23
Bitfield that defines the command type and
control
other relevant information in the ZCL
command. For more information, see the ZCL
181
Need help?
Do you have a question about the XBee S2C Zigbee and is the answer not in the manual?