Developing with ZBOSS for Zigbee
ZCL Demand Response and Load Control (DRLC) cluster

Modules

 DRLC attributes and enumerations
 
 DRLC commands
 

Data Structures

struct  zb_zcl_drlc_client_attrs_s
 DRLC client cluster attributes. More...
 

Macros

#define ZB_ZCL_DECLARE_DRLC_ATTRIB_LIST(attr_list, utility_enrollment_group, start_randomization_munutes, duration_randomization_minutes, device_class)
 Declare attribute list for DRLC cluster. More...
 
#define ZB_ZCL_DECLARE_DRLC_ATTR_LIST_INIT
 
#define ZB_ZCL_DECLARE_DRLC_ATTR_LIST(attr_list, attrs)
 Declare attribute list for DRLC cluster. More...
 

Typedefs

typedef struct zb_zcl_drlc_client_attrs_s zb_zcl_drlc_client_attrs_t
 DRLC client cluster attributes.
 

Detailed Description

This cluster provides an interface to the functionality of Smart Energy Demand Response and Load Control.

Macro Definition Documentation

◆ ZB_ZCL_DECLARE_DRLC_ATTR_LIST

#define ZB_ZCL_DECLARE_DRLC_ATTR_LIST (   attr_list,
  attrs 
)
Value:
ZB_ZCL_DECLARE_DRLC_ATTRIB_LIST(attr_list, &attrs.utility_enrollment_group, \
&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_START_DECLARE_ATTRIB_LIST(attr_list) \
ZB_ZCL_SET_ATTR_DESC_M(ZB_ZCL_ATTR_DRLC_DURATION_RANDOMIZATION_MINUTES, (duration_randomization_minutes), ZB_ZCL_ATTR_TYPE_8BIT, ZB_ZCL_ATTR_ACCESS_READ_WRITE) \
ZB_ZCL_FINISH_DECLARE_ATTRIB_LIST

Declare attribute list for DRLC cluster.

Parameters
[in]attr_list- attribute list variable name
[in]utility_enrollment_group- pointer to variable to store ZB_ZCL_ATTR_DRLC_UTILITY_ENROLLMENT_GROUP value
[in]start_randomization_munutes- pointer to variable to store ZB_ZCL_ATTR_DRLC_START_RANDOMIZATION_MINUTES value
[in]duration_randomization_minutes- pointer to variable to store ZB_ZCL_ATTR_DRLC_DURATION_RANDOMIZATION_MINUTES value
[in]device_class- pointer to variable to store ZB_ZCL_ATTR_DRLC_DEVICE_CLASS_VALUE value
ZB_ZCL_ATTR_TYPE_8BIT
#define ZB_ZCL_ATTR_TYPE_8BIT
Definition: zb_zcl_common.h:531
ZB_ZCL_ATTR_TYPE_16BIT
#define ZB_ZCL_ATTR_TYPE_16BIT
Definition: zb_zcl_common.h:532
zb_zcl_drlc_client_attrs_t
struct zb_zcl_drlc_client_attrs_s zb_zcl_drlc_client_attrs_t
DRLC client cluster attributes.
ZB_ZCL_ATTR_DRLC_DEVICE_CLASS_VALUE
@ ZB_ZCL_ATTR_DRLC_DEVICE_CLASS_VALUE
Definition: zb_zcl_drlc.h:65
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)
Declare attribute list for DRLC cluster.
Definition: zb_zcl_drlc.h:640
ZB_ZCL_ATTR_DRLC_DURATION_RANDOMIZATION_MINUTES
@ ZB_ZCL_ATTR_DRLC_DURATION_RANDOMIZATION_MINUTES
Definition: zb_zcl_drlc.h:60
ZB_ZCL_ATTR_ACCESS_READ_WRITE
#define ZB_ZCL_ATTR_ACCESS_READ_WRITE
Definition: zb_zcl_common.h:608
ZB_ZCL_ATTR_DRLC_UTILITY_ENROLLMENT_GROUP
@ ZB_ZCL_ATTR_DRLC_UTILITY_ENROLLMENT_GROUP
Definition: zb_zcl_drlc.h:51
ZB_ZCL_ATTR_DRLC_START_RANDOMIZATION_MINUTES
@ ZB_ZCL_ATTR_DRLC_START_RANDOMIZATION_MINUTES
Definition: zb_zcl_drlc.h:55