Developing with ZBOSS for Zigbee

Typedefs

typedef enum zb_zcl_price_block_period_duration_type_e zb_zcl_price_block_period_duration_type_t
 BlockPeriodDurationType attribute values More...
 

Enumerations

enum  zb_zcl_price_set_block_period_e {
  ZB_ZCL_ATTR_PRICE_SRV_START_OF_BLOCK_PERIOD = ZB_ZCL_ATTR_SET_WITH_ATTR_ID(ZB_ZCL_PRICE_SET_BLOCK_PERIOD, 0x00), ZB_ZCL_ATTR_PRICE_SRV_BLOCK_PERIOD_DURATION, ZB_ZCL_ATTR_PRICE_SRV_THRESHOLD_MULTIPLIER, ZB_ZCL_ATTR_PRICE_SRV_THRESHOLD_DIVISOR,
  ZB_ZCL_ATTR_PRICE_SRV_BLOCK_PERIOD_DURATION_TYPE
}
 Block Period (Delivered) Attributes Set. More...
 
enum  zb_zcl_price_block_period_duration_type_e { ZB_ZCL_PRICE_BLOCK_PERIOD_DURATION_TYPE_MINUTES = 0x00, ZB_ZCL_PRICE_BLOCK_PERIOD_DURATION_TYPE_DAYS = 0x01, ZB_ZCL_PRICE_BLOCK_PERIOD_DURATION_TYPE_WEEKS = 0x02, ZB_ZCL_PRICE_BLOCK_PERIOD_DURATION_TYPE_MONTHS = 0x03 }
 BlockPeriodDurationType attribute values More...
 

Detailed Description

This set of attributes provides remote access to the Price server Block Threshold period (typically the billing cycle) information.

Typedef Documentation

◆ zb_zcl_price_block_period_duration_type_t

BlockPeriodDurationType attribute values

See also
SE spec, table D-105.
ZB_ZCL_ATTR_PRICE_SRV_BLOCK_PERIOD_DURATION_TYPE

Enumeration Type Documentation

◆ zb_zcl_price_block_period_duration_type_e

BlockPeriodDurationType attribute values

See also
SE spec, table D-105.
ZB_ZCL_ATTR_PRICE_SRV_BLOCK_PERIOD_DURATION_TYPE
Enumerator
ZB_ZCL_PRICE_BLOCK_PERIOD_DURATION_TYPE_MINUTES 

minutes (default)

ZB_ZCL_PRICE_BLOCK_PERIOD_DURATION_TYPE_DAYS 

days

ZB_ZCL_PRICE_BLOCK_PERIOD_DURATION_TYPE_WEEKS 

weeks

ZB_ZCL_PRICE_BLOCK_PERIOD_DURATION_TYPE_MONTHS 

months

◆ zb_zcl_price_set_block_period_e

Block Period (Delivered) Attributes Set.

See also
SE spec, D.4.2.2.3
Enumerator
ZB_ZCL_ATTR_PRICE_SRV_START_OF_BLOCK_PERIOD 

The StartOfBlockPeriod attribute represents the start time of the current block tariff period.

ZB_ZCL_ATTR_PRICE_SRV_BLOCK_PERIOD_DURATION 

The BlockPeriodDuration attribute represents the current block tariff period duration in units defined by the BlockPeriodDurationType attribute.

ZB_ZCL_ATTR_PRICE_SRV_THRESHOLD_MULTIPLIER 

ThresholdMultiplier provides a value to be multiplied against Threshold attributes.

ZB_ZCL_ATTR_PRICE_SRV_THRESHOLD_DIVISOR 

ThresholdDivisor provides a value to divide the result of applying the ThresholdMultiplier attribute to Block Threshold values to derive values That can be compared against the CurrentBlockPeriodConsumptionDelivered attribute within the Metering cluster.

ZB_ZCL_ATTR_PRICE_SRV_BLOCK_PERIOD_DURATION_TYPE 

The BlockPeriodDurationType attribute indicates the timebase used for the BlockPeriodDuration attribute.