
API Operation
Send Public Profile Commands with the API
XBee/XBee-PRO® S2C ZigBee® RF Module
215
Frame Fields
Offset Description
Destination
endpoint
16
Set to the destination endpoint on the remote
device. (0x42 arbitrarily selected).
Cluster ID
MSB
17
Set to the cluster ID that corresponds to the ZCL
command being sent. 0x0701 = Demand response
and load control cluster ID
LSB
18
Profile ID
MSB
19
Set to the profile ID supported on the device. 0x0109
= Smart Energy profile ID.
LSB
20
Broadcast
radius
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.
Transmit
options
22
All bits must be set to 0.
Data
payload
ZCL
frame
header
Frame
control
23
Bitfield that defines the command type and other
relevant information in the ZCL command. For more
information, see the ZCL specification.
Transaction
sequence
number
24
A sequence number used to correlate a ZCL
command with a ZCL response. (The hardware
version response will include this byte as a sequence
number in the response.) The value 0x01 was
arbitrarily selected.
25
Since the frame control “frame type” bits are 01, this
byte specifies a cluster-specific command. Command
ID 0x00 in the Demand Response and Load Control
cluster is a Load Control Event command. For more
information, see the Smart Energy specification.
ZCL
payload
- load
control
event
data
Issuer event
ID
26
The 4-byte unique identifier.
Note
The 4-byte ID is sent in little endian byte order
(0x78563412).
The event ID in this example (0x12345678) is
arbitrarily selected.
27
28
29