API Operation Send ZigBee Cluster Library (ZCL) commands with the API
XBee/XBee-PRO® S2C ZigBee® RF Module
209
Frame data fields Offset Example
Profile ID 19 0x00
20 0x00
Broadcast radius 21 0x00
Transmit options 22 0x00
Data payload - transaction sequence number 23 0x01
Data payload - ZDO payload 24 0x34
25 0x12
Checksum 29 0xA6
Send ZigBee Cluster Library (ZCL) commands with the API
The ZigBee Cluster Library defines a set of attributes and commands (clusters) that can be supported
in multiple ZigBee profiles. The ZCL commands are typically required when developing a ZigBee
product that will interoperate in a public profile such as home automation or smart energy, or when
communicating with ZigBee devices from other vendors. Applications that are not designed for a
public profile or for interoperability applications can skip this section.
The following table shows some prominent clusters with their respective attributes and commands.
Cluster (Cluster ID) Attributes (Attribute ID) Cluster ID
Basic (0x0000)
Application Version (0x0001)
Hardware Version (0x0003)
Model Identifier (0x0005)
Reset to defaults (0x00)
Identify (0x0003) Identify Time (0x0000)
Identify (0x00)
Identify Query (0x01)
Time (0x000A)
Time (0x0000)
Time Status (0x0001)
Time Zone (0x0002)
Thermostat (0x0201)
Local Temperature (0x0000)
Occupancy (0x0002)
Setpoint raise / lower (0x00)
The ZCL defines a number of profile-wide commands that can be supported on any profile, also known
as general commands. These commands include the following.
Command (Command ID)
Description
Read Attributes (0x00) Used to read one or more attributes on a remote device.
Read Attributes Response
(0x01)
Generated in response to a read attributes command.
Write Attributes (0x02) Used to change one or more attributes on a remote device.