Tizen Native API
5.0
|
Zigbee provides API for ZCL access.
#include <zigbee.h>
The Zigbee Cluster Library (ZCL) is intended to act as a repository for cluster functionality that is developed by Zigbee and, as a consequence, it will be a working library with regular updates as new functionality is added. A developer constructing a new application profile should use the ZCL to find relevant cluster functionality that can be incorporated into the new profile so as not to "re-invent the wheel". This also allows Zigbee profiles to be developed with more of an object oriented style approach.
Throughout the ZCL, a client/server model is employed.
A cluster is a related collection of commands and attributes, which together define an interface to specific functionality. Typically, the entity that stores the attributes of a cluster is referred to as the server of that cluster and an entity that affects or manipulates those attributes is referred to as the client of that cluster. However, if required, attributes may also be present on the client of a cluster.
Commands that allow devices to manipulate attributes, e.g. in this document the read attribute (zb_zcl_global_attr_read) or write attribute (zb_zcl_global_attr_write) commands, are (typically) sent from a client device and received by the server device. Any response to those commands, e.g. in this document the read attribute response (zb_zcl_global_attr_read_cb) or the write attribute response (zb_zcl_global_attr_write_cb) commands, are sent from the server device and received by the client device.
Conversely, the command that facilitates dynamic attribute reporting, i.e. the report attribute command (zb_zcl_global_config_report_write) is (typically) sent from the server device (as typically this is where the attribute data itself is stored) and sent to the client device that has been bound to the server device.
The clusters supported by an application object within an application profile are identified through the simple descriptor (zb_zdo_simple_desc_req, zb_zdo_simple_desc_cb), specified on each active endpoint of a device. In the simple descriptor, the application input cluster list shall contain the list of server clusters supported on the device and the application output cluster list shall contain the list of client clusters supported on the device.
This function is related with the following features:
It is recommended to design applications with regard to features, for reliability.
You can check if a device supports the related features for this function by using System Information, and control your application's actions accordingly.
To ensure your application is only running on the device with specific features, please define the features in your manifest file using the manifest editor in the SDK.
More details on using features in your application can be found in the Feature List.
enum zb_zcl_attr_alarms_e |
Attribute types for cluster: Alarms.
Cluster specification level: zcl-1.0-07-5123-03
Attribute types for cluster: Appliance Control.
Cluster specification level: zcl-1.0-07-5123-03
Attribute types for cluster: Ballast Configuration.
Cluster specification level: zcl-1.0-07-5123-03
enum zb_zcl_attr_basic_e |
Attribute types for cluster: Basic.
Cluster specification level: zcl-1.0-07-5123-03
Attribute types for cluster: Binary Input (Basic).
Cluster specification level: zcl-1.0-07-5123-03
Attribute types for cluster: Color Control.
Cluster specification level: zcl-1.0-07-5123-03
Attribute types for cluster: Commissioning.
Cluster specification level: zcl-1.0-07-5123-03
Attribute types for cluster: Dehumidification Control.
Cluster specification level: zcl-1.0-07-5123-03
Attribute types for cluster: Device Temperature Configuration.
Cluster specification level: zcl-1.0-07-5123-03
Attribute types for cluster: Diagnostics.
Cluster specification level: UNKNOWN
Attribute types for cluster: Door Lock.
Cluster specification level: zcl-1.0-07-5123-03
Attribute types for cluster: Electrical Measurement.
Cluster specification level: UNKNOWN
Attribute types for cluster: Fan Control.
Cluster specification level: zcl-1.0-07-5123-03
Attribute types for cluster: Flow Measurement.
Cluster specification level: zcl-1.0-07-5123-03
enum zb_zcl_attr_group_e |
Attribute types for cluster: Groups.
Cluster specification level: zcl-1.0-07-5123-03
Attribute types for cluster: IAS WD.
Cluster specification level: zcl-1.0-07-5123-03
Attribute types for cluster: IAS Zone.
Cluster specification level: zcl-1.0-07-5123-03
Attribute types for cluster: Identify.
Cluster specification level: zcl-1.0-07-5123-03
Attribute types for cluster: Illuminance Level Sensing.
Cluster specification level: zcl-1.0-07-5123-03
Attribute types for cluster: Illuminance Measurement.
Cluster specification level: zcl-1.0-07-5123-03
Attribute types for cluster: Level Control.
Cluster specification level: zcl-1.0-07-5123-03
Attribute types for cluster: Occupancy Sensing.
Cluster specification level: zcl-1.0-07-5123-03
enum zb_zcl_attr_on_off_e |
Attribute types for cluster: On/off.
Cluster specification level: zcl-1.0-07-5123-03
Attribute types for cluster: On/off Switch Configuration.
Cluster specification level: zcl-1.0-07-5123-03
Attribute types for cluster: Over the Air Bootloading.
Cluster specification level: zcl-1.0-07-5123-03
Attribute types for cluster: Partition.
Cluster specification level: zcl-1.0-07-5123-03
Attribute types for cluster: Poll Control.
Cluster specification level: zcl-1.0-07-5123-03
Attribute types for cluster: Power Configuration.
Cluster specification level: zcl-1.0-07-5123-03
Attribute types for cluster: Power Profile.
Cluster specification level: zcl-1.0-07-5123-03
Attribute types for cluster: Pressure Measurement.
Cluster specification level: zcl-1.0-07-5123-03
Attribute types for cluster: Pump Configuration and Control.
Cluster specification level: zcl-1.0-07-5123-03
Attribute types for cluster: Relative Humidity Measurement.
Cluster specification level: zcl-1.0-07-5123-03
Attribute types for cluster: RSSI Location.
Cluster specification level: zcl-1.0-07-5123-03
enum zb_zcl_attr_scenes_e |
Attribute types for cluster: Scenes.
Cluster specification level: zcl-1.0-07-5123-03
Attribute types for cluster: Shade Configuration.
Cluster specification level: zcl-1.0-07-5123-03
Attribute types for cluster: Temperature Measurement.
Cluster specification level: zcl-1.0-07-5123-03
Attribute types for cluster: Thermostat.
Cluster specification level: zcl-1.0-07-5123-03
Attribute types for cluster: Thermostat User Interface Configuration.
Cluster specification level: zcl-1.0-07-5123-03
enum zb_zcl_attr_time_e |
Attribute types for cluster: Time.
Cluster specification level: zcl-1.0-07-5123-03
Attribute types for cluster: Window Covering.
Cluster specification level: zcl-1.0-07-5123-03
enum zb_zcl_cluster_ids_e |
Zigbee Cluster IDs for reference.
Client to server command types for cluster: Alarms Client side.
Cluster specification level: zcl-1.0-07-5123-03
Client to server command types for cluster: Appliance Control.
Cluster specification level: zcl-1.0-07-5123-03
Command types for cluster: Color Control.
Cluster specification level: zcl-1.0-07-5123-03
Client to server Command types for cluster: Commissioning.
Cluster specification level: zcl-1.0-07-5123-03
Client to server command types for cluster: Door Lock.
Cluster specification level: zcl-1.0-07-5123-03
Client to server command types for cluster: Electrical Measurement.
Cluster specification level: UNKNOWN
Client to server command types for cluster: Groups.
Cluster specification level: zcl-1.0-07-5123-03
Client to server command types for cluster: IAS ACE.
Cluster specification level: zcl-1.0-07-5123-03
Client to server command types for cluster: IAS Zone.
Cluster specification level: zcl-1.0-07-5123-03
Client to server command types for cluster: Identify.
Cluster specification level: zcl-1.0-07-5123-03
Command types for cluster: Level Control.
Cluster specification level: zcl-1.0-07-5123-03
Client to server command types for cluster: On/off.
Cluster specification level: zcl-1.0-07-5123-03
Client to server command types for cluster: Over the Air Bootloading.
Cluster specification level: zcl-1.0-07-5123-03
Client to server Command types for cluster: Partition.
Cluster specification level: zcl-1.0-07-5123-03
Client to server command types for cluster: Poll Control.
Cluster specification level: zcl-1.0-07-5123-03
Client to server command types for cluster: Power Profile.
Cluster specification level: zcl-1.0-07-5123-03
Command types for cluster: RSSI Location Client side.
Cluster specification level: zcl-1.0-07-5123-03
Client to server command types for cluster: Scenes.
Cluster specification level: zcl-1.0-07-5123-03
Client to server command types for cluster: Thermostat.
Cluster specification level: zcl-1.0-07-5123-03
Command types for cluster: Window Covering.
Cluster specification level: zcl-1.0-07-5123-03
Client to server command types for cluster: ZLL Commissioning.
Cluster specification level: zll-1.0-11-0037-10
enum zb_zcl_cmd_global_e |
Global commands (Either direction).
Server to client command types for cluster: Commissioning.
Cluster specification level: zcl-1.0-07-5123-03
Server to client command types for cluster: Door Lock.
Cluster specification level: zcl-1.0-07-5123-03
Server to client command types for cluster: Electrical Measurement.
Cluster specification level: UNKNOWN
Server to client command types for cluster: Groups.
Cluster specification level: zcl-1.0-07-5123-03
Server to client command types for cluster: IAS ACE.
Cluster specification level: zcl-1.0-07-5123-03
Server to client command types for cluster: IAS Zone.
Cluster specification level: zcl-1.0-07-5123-03
Server to client command types for cluster: Over the Air Bootloading.
Cluster specification level: zcl-1.0-07-5123-03
Server to client command types for cluster: Power Profile.
Cluster specification level: zcl-1.0-07-5123-03
Command types for cluster: RSSI Location Server side.
Cluster specification level: zcl-1.0-07-5123-03
Server to client command types for cluster: Scenes.
Cluster specification level: zcl-1.0-07-5123-03
Server to client command types for cluster: Thermostat.
Cluster specification level: zcl-1.0-07-5123-03
Server to client command types for cluster: ZLL Commissioning.
Cluster specification level: zll-1.0-11-0037-10
enum zb_zcl_status_e |
ZCL Enumerations Description in Zigbee Cluster Library.