|
#define | ZB_ZCL_DECLARE_METERING_ATTRIB_LIST(attr_list, curr_summ_delivered, status, unit_of_measure, summation_formatting, metering_device_type) |
| Declare attribute list for Electrical Measurement cluster. More...
|
|
#define | ZB_ZCL_DECLARE_METERING_ATTRIB_LIST_EXT(attr_list, curr_summ_delivered, status, unit_of_measure, summation_formatting, metering_device_type, instantaneous_demand, demand_formatting, historical_consumption_formatting, multiplier, divisor) |
| Declare attribute list for Electrical Measurement cluster (extended attribute set) More...
|
|
#define | ZB_ZCL_DECLARE_METERING_ATTR_LIST(attr_list, attrs) |
| Declare attribute list for Metering cluster cluster. More...
|
|
The Metering Cluster provides a mechanism to retrieve usage information from Electric, Gas, Water, and potentially Thermal metering devices.
◆ ZB_ZCL_DECLARE_METERING_ATTR_LIST
#define ZB_ZCL_DECLARE_METERING_ATTR_LIST |
( |
|
attr_list, |
|
|
|
attrs |
|
) |
| |
Value:
&attrs.status, &attrs.unit_of_measure, &attrs.summation_formatting, \
&attrs.device_type)
Declare attribute list for Metering cluster cluster.
- Parameters
-
[in] | attr_list | - attribute list variable name |
[in] | attrs | - variable of zb_zcl_metering_attrs_t type (containing Metering cluster attributes) |
◆ ZB_ZCL_DECLARE_METERING_ATTRIB_LIST
#define ZB_ZCL_DECLARE_METERING_ATTRIB_LIST |
( |
|
attr_list, |
|
|
|
curr_summ_delivered, |
|
|
|
status, |
|
|
|
unit_of_measure, |
|
|
|
summation_formatting, |
|
|
|
metering_device_type |
|
) |
| |
Value: ZB_ZCL_START_DECLARE_ATTRIB_LIST(attr_list) \
ZB_ZCL_FINISH_DECLARE_ATTRIB_LIST
Declare attribute list for Electrical Measurement cluster.
- Parameters
-
attr_list | - attribute list name |
curr_summ_delivered | - pointer to variable to store Current Summation Delivered attribute value |
status | - pointer to variable to store Status attribute value |
unit_of_measure | - pointer to variable to store Unit Of Measure attribute value |
summation_formatting | - pointer to variable to store Summation Formatting attribute value |
metering_device_type | - pointer to variable to store Device Type attribute value |
◆ ZB_ZCL_DECLARE_METERING_ATTRIB_LIST_EXT
#define ZB_ZCL_DECLARE_METERING_ATTRIB_LIST_EXT |
( |
|
attr_list, |
|
|
|
curr_summ_delivered, |
|
|
|
status, |
|
|
|
unit_of_measure, |
|
|
|
summation_formatting, |
|
|
|
metering_device_type, |
|
|
|
instantaneous_demand, |
|
|
|
demand_formatting, |
|
|
|
historical_consumption_formatting, |
|
|
|
multiplier, |
|
|
|
divisor |
|
) |
| |
Value: ZB_ZCL_START_DECLARE_ATTRIB_LIST(attr_list) \
ZB_ZCL_FINISH_DECLARE_ATTRIB_LIST
Declare attribute list for Electrical Measurement cluster (extended attribute set)
- Parameters
-
attr_list | - attribute list name |
curr_summ_delivered | - pointer to variable to store Current Summ Delivered attribute value |
status | - pointer to variable to store Status attribute value |
unit_of_measure | - pointer to variable to store Unit Of Measure attribute value |
summation_formatting | - pointer to variable to store Summation Formatting attribute value |
metering_device_type | - pointer to variable to store Device Type attribute value |
instantaneous_demand | - pointer to variable to store Instantaneous Demand attribute value |
demand_formatting | - pointer to variable to store Demand Formatting attribute value |
historical_consumption_formatting | - pointer to variable to store Historical Consumption Formatting attribute value |
multiplier | - pointer to variable to store Multiplier attribute value |
divisor | - pointer to variable to store Divisor attribute value |