Developing with ZBOSS for Zigbee

Macros

#define ZB_ZCL_DECLARE_PRICE_CLI_ATTRIB_LIST(attr_list, inc_rand_min, dec_rand_min, commodity_type)
 Declare client-side Price cluster attributes. More...
 

Typedefs

typedef enum zb_zcl_price_cli_attr_e zb_zcl_price_cli_attr_t
 Price Cluster client attributes.
 

Enumerations

enum  zb_zcl_price_cli_attr_e { ZB_ZCL_ATTR_PRICE_CLI_PRICE_INCREASE_RANDOMIZE_MINUTES = 0x0000, ZB_ZCL_ATTR_PRICE_CLI_PRICE_DECREASE_RANDOMIZE_MINUTES = 0x0001, ZB_ZCL_ATTR_PRICE_CLI_COMMODITY_TYPE = 0x0002 }
 Price Cluster client attributes. More...
 

Detailed Description

Macro Definition Documentation

◆ ZB_ZCL_DECLARE_PRICE_CLI_ATTRIB_LIST

#define ZB_ZCL_DECLARE_PRICE_CLI_ATTRIB_LIST (   attr_list,
  inc_rand_min,
  dec_rand_min,
  commodity_type 
)
Value:
ZB_ZCL_START_DECLARE_ATTRIB_LIST(attr_list) \
ZB_ZCL_SET_ATTR_DESC(ZB_ZCL_ATTR_PRICE_CLI_PRICE_INCREASE_RANDOMIZE_MINUTES, (inc_rand_min)) \
ZB_ZCL_SET_ATTR_DESC(ZB_ZCL_ATTR_PRICE_CLI_PRICE_DECREASE_RANDOMIZE_MINUTES, (dec_rand_min)) \
ZB_ZCL_SET_ATTR_DESC(ZB_ZCL_ATTR_PRICE_CLI_COMMODITY_TYPE, (commodity_type)) \
ZB_ZCL_FINISH_DECLARE_ATTRIB_LIST

Declare client-side Price cluster attributes.

Parameters
attr_list- Attribute list name
inc_rand_min- pointer to variable to store PriceIncreaseRandomizeMinutes attribute value.
dec_rand_min- pointer to variable to store PriceDecreaseRandomizeMinutes attribute value.
commodity_type- pointer to variable to store "CommodityType" attribute value.

Enumeration Type Documentation

◆ zb_zcl_price_cli_attr_e

Price Cluster client attributes.

Enumerator
ZB_ZCL_ATTR_PRICE_CLI_PRICE_INCREASE_RANDOMIZE_MINUTES 

PriceIncreaseRandomizeMinutes attribute represents the maximum amount of time to be used when randomizing the response to a price increase.

ZB_ZCL_ATTR_PRICE_CLI_PRICE_DECREASE_RANDOMIZE_MINUTES 

PriceDecreaseRandomizeMinutes attribute represents the maximum number of minutes to be used when randomizing the response to a price decrease.

ZB_ZCL_ATTR_PRICE_CLI_COMMODITY_TYPE 

CommodityType attribute provides a label for identifying the type of pricing client present.

ZB_ZCL_ATTR_PRICE_CLI_PRICE_DECREASE_RANDOMIZE_MINUTES
@ ZB_ZCL_ATTR_PRICE_CLI_PRICE_DECREASE_RANDOMIZE_MINUTES
Definition: zb_zcl_price.h:2520
ZB_ZCL_ATTR_PRICE_CLI_COMMODITY_TYPE
@ ZB_ZCL_ATTR_PRICE_CLI_COMMODITY_TYPE
Definition: zb_zcl_price.h:2524
ZB_ZCL_ATTR_PRICE_CLI_PRICE_INCREASE_RANDOMIZE_MINUTES
@ ZB_ZCL_ATTR_PRICE_CLI_PRICE_INCREASE_RANDOMIZE_MINUTES
Definition: zb_zcl_price.h:2515