Logo
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. More...
 

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 
)

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zcl/zb_zcl_price.h>

Value:
ZB_ZCL_START_DECLARE_ATTRIB_LIST_CLUSTER_REVISION(attr_list, ZB_ZCL_PRICE) \
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
Definition: zb_zcl_price.h:2595

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.

Typedef Documentation

§ zb_zcl_price_cli_attr_t

Enumeration Type Documentation

§ zb_zcl_price_cli_attr_e

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zcl/zb_zcl_price.h>

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.