Macros | |
| #define | ZB_ZCL_DECLARE_PRICE_SRV_ATTRIB_LIST(attr_list, commodity_type) |
| Declare server-side Price cluster attributes. More... | |
Enumerations | |
| enum | zb_zcl_price_srv_attr_set_e { ZB_ZCL_PRICE_SET_TIER_LABEL = 0x00, ZB_ZCL_PRICE_SET_BLOCK_THRESHOLD = 0x01, ZB_ZCL_PRICE_SET_BLOCK_PERIOD = 0x02, ZB_ZCL_PRICE_SET_COMMODITY = 0x03, ZB_ZCL_PRICE_SET_BLOCK_PRICE_INFORMATION = 0x04, ZB_ZCL_PRICE_SET_EXTENDED_PRICE_INFORMATION = 0x05, ZB_ZCL_PRICE_SET_TARIFF_INFORMATION = 0x06, ZB_ZCL_PRICE_SET_BILLING_INFORMATION = 0x07, ZB_ZCL_PRICE_SET_CREDIT_PAYMENT = 0x08, ZB_ZCL_PRICE_SET_RECEIVED_TIER_LABEL = 0x80, ZB_ZCL_PRICE_SET_RECEIVED_BLOCK_THRESHOLD = 0x81, ZB_ZCL_PRICE_SET_RECEIVED_BLOCK_PERIOD = 0x82, ZB_ZCL_PRICE_SET_RECEIVED_BLOCK_PRICE_INFORMATION = 0x84, ZB_ZCL_PRICE_SET_RECEIVED_EXTENDED_PRICE_INFORMATION = 0x85, ZB_ZCL_PRICE_SET_RECEIVED_TARIFF_INFORMATION = 0x86, ZB_ZCL_PRICE_SET_RECEIVED_BILLING_INFORMATION = 0x87 } |
| Price Cluster General server attributes. More... | |
Detailed Description
For convenience, the attributes defined in this cluster are arranged into sets of related attributes; each set can contain up to 256 attributes. Attribute identifiers are encoded such that the most significant Octet specifies the attribute set and the least significant Octet specifies the attribute within the set.
Macro Definition Documentation
◆ ZB_ZCL_DECLARE_PRICE_SRV_ATTRIB_LIST
| #define ZB_ZCL_DECLARE_PRICE_SRV_ATTRIB_LIST | ( | attr_list, | |
| commodity_type | |||
| ) |
Value:
ZB_ZCL_START_DECLARE_ATTRIB_LIST_CLUSTER_REVISION(attr_list, ZB_ZCL_PRICE) \ ZB_ZCL_SET_ATTR_DESC(ZB_ZCL_ATTR_PRICE_SRV_COMMODITY_TYPE, (commodity_type)) \ ZB_ZCL_FINISH_DECLARE_ATTRIB_LISTDefinition: zb_zcl_price.h:662
Declare server-side Price cluster attributes.
- Parameters
-
attr_list - Attribute list name. commodity_type - pointer to variable to store CommodityType attribute value.
Enumeration Type Documentation
◆ zb_zcl_price_srv_attr_set_e
Price Cluster General server attributes.
- See also
- SE spec, Table D-73