Developing with ZBOSS for Zigbee
IAS Control with security

Macros

#define ZB_HA_COMCAST_SECURITY_CONTROL_VER   0
 
#define ZB_HA_COMCAST_SECURITY_CONTROL_ID   0xfff0
 
#define ZB_HA_COMCAST_SECURITY_CONTROL_IN_CLUSTER_NUM   3
 
#define ZB_HA_COMCAST_SECURITY_CONTROL_OUT_CLUSTER_NUM   6
 
#define ZB_HA_DECLARE_COMCAST_SECURITY_CONTROL_CLUSTER_LIST( cluster_list_name, basic_attr_list, identify_attr_list, ias_ace_attr_list, poll_control_attr_list)
 Declare cluster list for IAS Control and Indicating Equipment. More...
 
#define ZB_HA_DECLARE_COMCAST_SECURITY_CONTROL_SIMPLE_DESC( ep_name, ep_id, in_clust_num, out_clust_num)
 Declare simple descriptor for IAS Control and Indicating Equipment. More...
 
#define ZB_HA_DECLARE_COMCAST_SECURITY_CONTROL_EP(ep_name, ep_id, cluster_list)
 Declare endpoint for IAS Control and Indicating Equipment. More...
 
#define ZB_HA_DECLARE_COMCAST_SECURITY_CONTROL_CTX(device_ctx, ep_name)   ZBOSS_DECLARE_DEVICE_CTX_1_EP(device_ctx, ep_name)
 

Detailed Description

IAS Control with security

Macro Definition Documentation

◆ ZB_HA_COMCAST_SECURITY_CONTROL_ID

#define ZB_HA_COMCAST_SECURITY_CONTROL_ID   0xfff0

Input clusters number.

◆ ZB_HA_COMCAST_SECURITY_CONTROL_IN_CLUSTER_NUM

#define ZB_HA_COMCAST_SECURITY_CONTROL_IN_CLUSTER_NUM   3

Output clusters number.

◆ ZB_HA_COMCAST_SECURITY_CONTROL_VER

#define ZB_HA_COMCAST_SECURITY_CONTROL_VER   0

Control for test

◆ ZB_HA_DECLARE_COMCAST_SECURITY_CONTROL_CLUSTER_LIST

#define ZB_HA_DECLARE_COMCAST_SECURITY_CONTROL_CLUSTER_LIST (   cluster_list_name,
  basic_attr_list,
  identify_attr_list,
  ias_ace_attr_list,
  poll_control_attr_list 
)

Declare cluster list for IAS Control and Indicating Equipment.

Parameters
cluster_list_name[IN] - cluster list variable name.
basic_attr_list[IN] - attribute list for Basic cluster.
identify_attr_list[IN] - attribute list for Identify cluster.
ias_ace_attr_list[IN] - attribute list for IAS ACE cluster.
poll_control_attr_list[OUT] - attribute list for Poll Control cluster - client.

◆ ZB_HA_DECLARE_COMCAST_SECURITY_CONTROL_EP

#define ZB_HA_DECLARE_COMCAST_SECURITY_CONTROL_EP (   ep_name,
  ep_id,
  cluster_list 
)
Value:
ep_name, \
ep_id, \
ZB_HA_COMCAST_SECURITY_CONTROL_OUT_CLUSTER_NUM); \
ZB_AF_DECLARE_ENDPOINT_DESC( \
ep_name, \
ep_id, \
0, \
NULL, \
ZB_ZCL_ARRAY_SIZE( \
cluster_list, \
cluster_list, \
(zb_af_simple_desc_1_1_t*)&simple_desc_##ep_name, \
0, NULL, /* No reporting ctx */ \
0, NULL) /* No CVC ctx */

Declare endpoint for IAS Control and Indicating Equipment.

Parameters
ep_name[IN] - endpoint variable name.
ep_id[IN] - endpoint ID.
cluster_list[IN] - endpoint cluster list.

◆ ZB_HA_DECLARE_COMCAST_SECURITY_CONTROL_SIMPLE_DESC

#define ZB_HA_DECLARE_COMCAST_SECURITY_CONTROL_SIMPLE_DESC (   ep_name,
  ep_id,
  in_clust_num,
  out_clust_num 
)
Value:
ZB_DECLARE_SIMPLE_DESC(in_clust_num, out_clust_num); \
ZB_AF_SIMPLE_DESC_TYPE(in_clust_num, out_clust_num) simple_desc_##ep_name = \
{ \
ep_id, \
ZB_AF_HA_PROFILE_ID, \
ZB_HA_COMCAST_SECURITY_CONTROL_ID, \
ZB_HA_COMCAST_SECURITY_CONTROL_VER, \
0, \
in_clust_num, \
out_clust_num, \
{ \
ZB_ZCL_CLUSTER_ID_BASIC, \
ZB_ZCL_CLUSTER_ID_IDENTIFY, \
ZB_ZCL_CLUSTER_ID_IAS_ACE, \
ZB_ZCL_CLUSTER_ID_IAS_WD, \
ZB_ZCL_CLUSTER_ID_IAS_ZONE, \
ZB_ZCL_CLUSTER_ID_POLL_CONTROL, \
ZB_ZCL_CLUSTER_ID_TEMP_MEASUREMENT, \
ZB_ZCL_CLUSTER_ID_ILLUMINANCE_MEASUREMENT, \
ZB_ZCL_CLUSTER_ID_REL_HUMIDITY_MEASUREMENT \
} \
}

Declare simple descriptor for IAS Control and Indicating Equipment.

Parameters
ep_name- endpoint variable name.
ep_id[IN] - endpoint ID.
in_clust_num[IN] - number of supported input clusters.
out_clust_num[IN] - number of supported output clusters.
Note
in_clust_num, out_clust_num should be defined by numeric constants, not variables or any definitions, because these values are used to form simple descriptor type name.
ZB_AF_HA_PROFILE_ID
#define ZB_AF_HA_PROFILE_ID
Definition: zboss_api_af.h:287
ZB_DECLARE_SIMPLE_DESC
#define ZB_DECLARE_SIMPLE_DESC(in_clusters_count, out_clusters_count)
Definition: zboss_api_af.h:237
zb_zcl_cluster_desc_s
ZCL cluster description.
Definition: zb_zcl_common.h:127
ZB_HA_COMCAST_SECURITY_CONTROL_IN_CLUSTER_NUM
#define ZB_HA_COMCAST_SECURITY_CONTROL_IN_CLUSTER_NUM
Definition: zb_comcast_security_control.h:54
ZB_HA_DECLARE_COMCAST_SECURITY_CONTROL_SIMPLE_DESC
#define ZB_HA_DECLARE_COMCAST_SECURITY_CONTROL_SIMPLE_DESC( ep_name, ep_id, in_clust_num, out_clust_num)
Declare simple descriptor for IAS Control and Indicating Equipment.
Definition: zb_comcast_security_control.h:126