|
#define | ZB_ZCL_DECLARE_BASIC_ATTRIB_LIST_HA_ADDS_FULL(attr_list,zcl_version,app_version,stack_version,hardware_version,manufacturer_name,model_id,date_code,power_source,location_id,ph_env) |
| Declare attribute list for Basic cluster with HA additions. More...
|
|
Extension for HA devices - DeviceEnable attribute shall be read-only and set to 1.
#define ZB_ZCL_DECLARE_BASIC_ATTRIB_LIST_HA_ADDS_FULL |
( |
|
attr_list, |
|
|
|
zcl_version, |
|
|
|
app_version, |
|
|
|
stack_version, |
|
|
|
hardware_version, |
|
|
|
manufacturer_name, |
|
|
|
model_id, |
|
|
|
date_code, |
|
|
|
power_source, |
|
|
|
location_id, |
|
|
|
ph_env |
|
) |
| |
Value:
ZB_ZCL_START_DECLARE_ATTRIB_LIST(attr_list) \
&(device_enable_##attr_list)) \
ZB_ZCL_FINISH_DECLARE_ATTRIB_LIST
Definition: zb_zcl_basic.h:112
Definition: zb_zcl_basic.h:115
Definition: zb_zcl_basic.h:78
Definition: zb_zcl_basic.h:68
Definition: zb_zcl_basic.h:76
Definition: zb_zcl_basic.h:66
Definition: zb_zcl_basic.h:70
Definition: zb_zcl_basic.h:110
Definition: zb_zcl_basic.h:74
Definition: zb_zcl_basic.h:72
Definition: zb_types.h:101
enum zb_bool_e zb_bool_t
General purpose boolean type.
Definition: zb_types.h:298
Definition: zb_zcl_basic.h:80
Declare attribute list for Basic cluster with HA additions.
- Parameters
-
attr_list | [IN] - attribute list name. |
zcl_version | [IN] - pointer to variable storing ZCL version attribute value. |
app_version | [IN] - pointer to the variable storing application version. |
stack_version | [IN] - pointer to the variable storing stack version. |
hardware_version | [IN] - pointer to the variable storing hardware version. |
manufacturer_name | [IN] - pointer to the variable storing manufacturer name. |
model_id | [IN] - pointer to the variable storing model identifier. |
date_code | [IN] - pointer to the variable storing date code. |
power_source | [IN] - pointer to variable storing power source attribute value. |
location_id | [IN] - pointer to variable storing location description attribute value. |
ph_env | [IN] - pointer to variable storing physical environment attribute value. |