Developing with ZBOSS for Zigbee
ZCL basic API add-ons

Data Structures

struct  zb_zcl_basic_attrs_ext_t
 Basic cluster attributes according to ZCL Spec 3.2.2.2. More...
 

Macros

#define ZB_ZCL_DECLARE_BASIC_CLIENT_ATTRIB_LIST(attr_list)
 Declare attribute list for Basic cluster (client). More...
 
#define ZB_ZCL_DECLARE_BASIC_SERVER_ATTRIB_LIST(attr_list, zcl_version, power_source)
 Declare attribute list for Basic cluster (server). More...
 

Detailed Description

Macro Definition Documentation

◆ ZB_ZCL_DECLARE_BASIC_CLIENT_ATTRIB_LIST

#define ZB_ZCL_DECLARE_BASIC_CLIENT_ATTRIB_LIST (   attr_list)
Value:
ZB_ZCL_FINISH_DECLARE_ATTRIB_LIST

Declare attribute list for Basic cluster (client).

Parameters
attr_list- attribute list name.

◆ ZB_ZCL_DECLARE_BASIC_SERVER_ATTRIB_LIST

#define ZB_ZCL_DECLARE_BASIC_SERVER_ATTRIB_LIST (   attr_list,
  zcl_version,
  power_source 
)
Value:
ZB_ZCL_SET_ATTR_DESC(ZB_ZCL_ATTR_BASIC_ZCL_VERSION_ID, (zcl_version)) \
ZB_ZCL_SET_ATTR_DESC(ZB_ZCL_ATTR_BASIC_POWER_SOURCE_ID, (power_source)) \
ZB_ZCL_FINISH_DECLARE_ATTRIB_LIST

Declare attribute list for Basic cluster (server).

Parameters
attr_list- attribute list name
zcl_version- pointer to variable to store zcl version attribute value
power_source- pointer to variable to store power source attribute value
ZB_ZCL_START_DECLARE_ATTRIB_LIST_CLUSTER_REVISION
#define ZB_ZCL_START_DECLARE_ATTRIB_LIST_CLUSTER_REVISION(attrs_desc_name, cluster_name)
Start declaration of attributes list with cluster revision.
Definition: zb_zcl_common.h:791
ZB_ZCL_ATTR_BASIC_ZCL_VERSION_ID
@ ZB_ZCL_ATTR_BASIC_ZCL_VERSION_ID
Definition: zb_zcl_basic.h:49
ZB_ZCL_ATTR_BASIC_POWER_SOURCE_ID
@ ZB_ZCL_ATTR_BASIC_POWER_SOURCE_ID
Definition: zb_zcl_basic.h:63