Developing with ZBOSS for Zigbee

Macros

#define ZB_ZCL_PRICE_SRV_TIER1_PRICE_LABEL_DEFAULT_VALUE   {0x54, 0x49, 0x45, 0x52, 0x20, 0x31 ,0x00}
 Default value for Tier1_PriceLabel attribute.
 
#define ZB_ZCL_PRICE_SRV_TIER2_PRICE_LABEL_DEFAULT_VALUE   {0x54, 0x49, 0x45, 0x52, 0x20, 0x32 ,0x00}
 Default value for Tier2_PriceLabel attribute.
 
#define ZB_ZCL_PRICE_SRV_TIER3_PRICE_LABEL_DEFAULT_VALUE   {0x54, 0x49, 0x45, 0x52, 0x20, 0x33 ,0x00}
 Default value for Tier3_PriceLabel attribute.
 
#define ZB_ZCL_PRICE_SRV_TIER4_PRICE_LABEL_DEFAULT_VALUE   {0x54, 0x49, 0x45, 0x52, 0x20, 0x34 ,0x00}
 Default value for Tier4_PriceLabel attribute.
 
#define ZB_ZCL_PRICE_SRV_TIER5_PRICE_LABEL_DEFAULT_VALUE   {0x54, 0x49, 0x45, 0x52, 0x20, 0x35 ,0x00}
 Default value for Tier5_PriceLabel attribute.
 
#define ZB_ZCL_PRICE_SRV_TIER6_PRICE_LABEL_DEFAULT_VALUE   {0x54, 0x49, 0x45, 0x52, 0x20, 0x36 ,0x00}
 Default value for Tier6_PriceLabel attribute.
 
#define ZB_ZCL_PRICE_SRV_TIER7_PRICE_LABEL_DEFAULT_VALUE   {0x54, 0x49, 0x45, 0x52, 0x20, 0x37 ,0x00}
 Default value for Tier7_PriceLabel attribute.
 
#define ZB_ZCL_PRICE_SRV_TIER8_PRICE_LABEL_DEFAULT_VALUE   {0x54, 0x49, 0x45, 0x52, 0x20, 0x38 ,0x00}
 Default value for Tier8_PriceLabel attribute.
 
#define ZB_ZCL_PRICE_SRV_TIER9_PRICE_LABEL_DEFAULT_VALUE   {0x54, 0x49, 0x45, 0x52, 0x20, 0x39 ,0x00}
 Default value for Tier9_PriceLabel attribute.
 
#define ZB_ZCL_PRICE_SRV_TIER10_PRICE_LABEL_DEFAULT_VALUE   {0x54, 0x49, 0x45, 0x52, 0x20, 0x31 ,0x30, 0x00}
 Default value for Tier10_PriceLabel attribute.
 
#define ZB_ZCL_PRICE_SRV_TIER11_PRICE_LABEL_DEFAULT_VALUE   {0x54, 0x49, 0x45, 0x52, 0x20, 0x31 ,0x31, 0x00}
 Default value for Tier11_PriceLabel attribute.
 
#define ZB_ZCL_PRICE_SRV_TIER12_PRICE_LABEL_DEFAULT_VALUE   {0x54, 0x49, 0x45, 0x52, 0x20, 0x31 ,0x32, 0x00}
 Default value for Tier12_PriceLabel attribute.
 
#define ZB_ZCL_PRICE_SRV_TIER13_PRICE_LABEL_DEFAULT_VALUE   {0x54, 0x49, 0x45, 0x52, 0x20, 0x31 ,0x33, 0x00}
 Default value for Tier13_PriceLabel attribute.
 
#define ZB_ZCL_PRICE_SRV_TIER14_PRICE_LABEL_DEFAULT_VALUE   {0x54, 0x49, 0x45, 0x52, 0x20, 0x31 ,0x34, 0x00}
 Default value for Tier14_PriceLabel attribute.
 
#define ZB_ZCL_PRICE_SRV_TIER15_PRICE_LABEL_DEFAULT_VALUE   {0x54, 0x49, 0x45, 0x52, 0x20, 0x31 ,0x35, 0x00}
 Default value for Tier15_PriceLabel attribute.
 
#define ZB_ZCL_PRICE_SRV_CONVERSION_FACTOR_DEFAULT_VALUE   ((zb_uint32_t)0x10000000)
 Default value for ConversionFactor attribute.
 
#define ZB_ZCL_PRICE_SRV_CONVERSION_FACTOR_TRAILING_DIGIT_DEFAULT_VALUE   ((zb_uint8_t)0x70)
 Default value for ConversionFactorTrailingDigit attribute.
 
#define ZB_ZCL_PRICE_SRV_CALORIFIC_VALUE_DEFAULT_VALUE   ((zb_uint32_t)0x2625A00)
 Default value for CalorificValue attribute.
 
#define ZB_ZCL_PRICE_SRV_CALORIFIC_VALUE_UNIT_DEFAULT_VALUE   ((zb_uint8_t)0x1)
 Default value for CalorificValueUnit attribute.
 
#define ZB_ZCL_PRICE_SRV_CALORIFIC_VALUE_TRAILING_DIGIT_DEFAULT_VALUE   ((zb_uint8_t)0x60)
 Default value for CalorificValueTrailingDigit attribute.
 

Enumerations

enum  zb_zcl_price_set_received_extended_price_information_e {
  ZB_ZCL_ATTR_PRICE_SRV_RECEIVED_PRICE_TIER16 = ZB_ZCL_ATTR_SET_WITH_ATTR_ID(ZB_ZCL_PRICE_SET_RECEIVED_EXTENDED_PRICE_INFORMATION, 0x0F), ZB_ZCL_ATTR_PRICE_SRV_RECEIVED_PRICE_TIER17, ZB_ZCL_ATTR_PRICE_SRV_RECEIVED_PRICE_TIER18, ZB_ZCL_ATTR_PRICE_SRV_RECEIVED_PRICE_TIER19,
  ZB_ZCL_ATTR_PRICE_SRV_RECEIVED_PRICE_TIER20, ZB_ZCL_ATTR_PRICE_SRV_RECEIVED_PRICE_TIER21, ZB_ZCL_ATTR_PRICE_SRV_RECEIVED_PRICE_TIER22, ZB_ZCL_ATTR_PRICE_SRV_RECEIVED_PRICE_TIER23,
  ZB_ZCL_ATTR_PRICE_SRV_RECEIVED_PRICE_TIER24, ZB_ZCL_ATTR_PRICE_SRV_RECEIVED_PRICE_TIER25, ZB_ZCL_ATTR_PRICE_SRV_RECEIVED_PRICE_TIER26, ZB_ZCL_ATTR_PRICE_SRV_RECEIVED_PRICE_TIER27,
  ZB_ZCL_ATTR_PRICE_SRV_RECEIVED_PRICE_TIER28, ZB_ZCL_ATTR_PRICE_SRV_RECEIVED_PRICE_TIER29, ZB_ZCL_ATTR_PRICE_SRV_RECEIVED_PRICE_TIER30, ZB_ZCL_ATTR_PRICE_SRV_RECEIVED_PRICE_TIER31,
  ZB_ZCL_ATTR_PRICE_SRV_RECEIVED_PRICE_TIER32, ZB_ZCL_ATTR_PRICE_SRV_RECEIVED_PRICE_TIER33, ZB_ZCL_ATTR_PRICE_SRV_RECEIVED_PRICE_TIER34, ZB_ZCL_ATTR_PRICE_SRV_RECEIVED_PRICE_TIER35,
  ZB_ZCL_ATTR_PRICE_SRV_RECEIVED_PRICE_TIER36, ZB_ZCL_ATTR_PRICE_SRV_RECEIVED_PRICE_TIER37, ZB_ZCL_ATTR_PRICE_SRV_RECEIVED_PRICE_TIER38, ZB_ZCL_ATTR_PRICE_SRV_RECEIVED_PRICE_TIER39,
  ZB_ZCL_ATTR_PRICE_SRV_RECEIVED_PRICE_TIER40, ZB_ZCL_ATTR_PRICE_SRV_RECEIVED_PRICE_TIER41, ZB_ZCL_ATTR_PRICE_SRV_RECEIVED_PRICE_TIER42, ZB_ZCL_ATTR_PRICE_SRV_RECEIVED_PRICE_TIER43,
  ZB_ZCL_ATTR_PRICE_SRV_RECEIVED_PRICE_TIER44, ZB_ZCL_ATTR_PRICE_SRV_RECEIVED_PRICE_TIER45, ZB_ZCL_ATTR_PRICE_SRV_RECEIVED_PRICE_TIER46, ZB_ZCL_ATTR_PRICE_SRV_RECEIVED_PRICE_TIER47,
  ZB_ZCL_ATTR_PRICE_SRV_RECEIVED_PRICE_TIER48
}
 Received Extended Price Information Attributes Set. More...
 

Detailed Description

In case of TOU charging only, the price server shall support up to 48 TOU rates. To reduce the number of attributes, RxTierNBlock1Price attributes are reused to represent rates for tiers 1 to 15. Rates for tiers 16 to 48 are provided in the Received Extended Price Information Set.

Enumeration Type Documentation

◆ zb_zcl_price_set_received_extended_price_information_e

Received Extended Price Information Attributes Set.

See also
SE spec, D.4.2.2.14
Enumerator
ZB_ZCL_ATTR_PRICE_SRV_RECEIVED_PRICE_TIER16 

The format and use of these attributes is the same as for the 'Delivered' PriceTierN attributes.