Macros | |
#define | ZB_HA_DEVICE_VER_CONFIGURATION_TOOL 0 |
#define | ZB_HA_DECLARE_CONFIGURATION_TOOL_CLUSTER_LIST(cluster_list_name,basic_client_attr_list,basic_server_attr_list,identify_client_attr_list,identify_server_attr_list,groups_client_attr_list) |
Declare cluster list for Configuration tool device. More... | |
#define | ZB_ZCL_DECLARE_CONFIGURATION_TOOL_SIMPLE_DESC(ep_name, ep_id, in_clust_num, out_clust_num) |
Declare simple descriptor for Configuration tool device. More... | |
#define | ZB_HA_DECLARE_CONFIGURATION_TOOL_EP(ep_name, ep_id, cluster_list) |
Declare endpoint for Configuration tool device. More... | |
Configuration Tool device has 3 clusters (see spec 7.4.6):
Configuration Tool device sample
Declaring clusters
Registering device list
Example of command handler
#define ZB_HA_DECLARE_CONFIGURATION_TOOL_CLUSTER_LIST | ( | cluster_list_name, | |
basic_client_attr_list, | |||
basic_server_attr_list, | |||
identify_client_attr_list, | |||
identify_server_attr_list, | |||
groups_client_attr_list | |||
) |
Declare cluster list for Configuration tool device.
cluster_list_name | - cluster list variable name |
basic_client_attr_list | - attribute list for Basic cluster (client role) |
basic_server_attr_list | - attribute list for Basic cluster (server role) |
identify_client_attr_list | - attribute list for Identify cluster (client role) |
identify_server_attr_list | - attribute list for Identify cluster (server role) |
groups_client_attr_list | - attribute list for Groups cluster (client role) |
#define ZB_HA_DECLARE_CONFIGURATION_TOOL_EP | ( | ep_name, | |
ep_id, | |||
cluster_list | |||
) |
Declare endpoint for Configuration tool device.
ep_name | - endpoint variable name |
ep_id | - endpoint ID |
cluster_list | - endpoint cluster list |
#define ZB_HA_DEVICE_VER_CONFIGURATION_TOOL 0 |
Configuration tool device version
#define ZB_ZCL_DECLARE_CONFIGURATION_TOOL_SIMPLE_DESC | ( | ep_name, | |
ep_id, | |||
in_clust_num, | |||
out_clust_num | |||
) |
Declare simple descriptor for Configuration tool device.
ep_name | - endpoint variable name |
ep_id | - endpoint ID |
in_clust_num | - number of supported input clusters |
out_clust_num | - number of supported output clusters |