This cluster provides an interface to the functionality of Smart Energy Demand Response and Load Control.
◆ ZB_ZCL_DECLARE_DRLC_ATTR_LIST
#define ZB_ZCL_DECLARE_DRLC_ATTR_LIST |
( |
|
attr_list, |
|
|
|
attrs |
|
) |
| |
Value:
&attrs.start_randomization_munutes, &attrs.duration_randomization_minutes, \
&attrs.device_class_value)
Declare attribute list for DRLC cluster.
- Parameters
-
[in] | attr_list | - attribute list variable name |
[in] | attrs | - variable of zb_zcl_drlc_client_attrs_t type (containing DRLC cluster attributes) |
◆ ZB_ZCL_DECLARE_DRLC_ATTR_LIST_INIT
#define ZB_ZCL_DECLARE_DRLC_ATTR_LIST_INIT |
Value:
{ .utility_enrollment_group = 0, \
.start_randomization_munutes = 0x1e, \
.duration_randomization_minutes = 0, }
Initialize zb_zcl_drlc_client_attrs_s DRLC cluster's attributes
◆ ZB_ZCL_DECLARE_DRLC_ATTRIB_LIST
#define ZB_ZCL_DECLARE_DRLC_ATTRIB_LIST |
( |
|
attr_list, |
|
|
|
utility_enrollment_group, |
|
|
|
start_randomization_munutes, |
|
|
|
duration_randomization_minutes, |
|
|
|
device_class |
|
) |
| |
Value:
ZB_ZCL_FINISH_DECLARE_ATTRIB_LIST
Declare attribute list for DRLC cluster.
- Parameters
-