|
#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_bool_t device_enable_##attr_list =
ZB_TRUE; \
ZB_ZCL_START_DECLARE_ATTRIB_LIST(attr_list) \
&(device_enable_##attr_list)) \
ZB_ZCL_FINISH_DECLARE_ATTRIB_LIST
Definition: zb_zcl_basic.h:94
Definition: zb_zcl_basic.h:97
Definition: zb_zcl_basic.h:81
Definition: zb_zcl_basic.h:71
Definition: zb_zcl_basic.h:79
Definition: zb_zcl_basic.h:69
Definition: zb_zcl_basic.h:73
Definition: zb_zcl_basic.h:92
Definition: zb_zcl_basic.h:77
Definition: zb_zcl_basic.h:75
Definition: zb_types.h:100
Definition: zb_zcl_basic.h:83
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. |