nRF5 SDK for Thread and Zigbee v4.2.0
Data Fields
zb_zcl_price_attr_set_block_period_s Struct Reference

Data Fields

zb_uint32_t start_of_block_period
 
zb_uint24_t block_period_duration
 
zb_uint24_t threshold_multiplier
 
zb_uint24_t threshold_divisor
 
zb_uint8_t block_period_duration_type
 

Field Documentation

zb_uint24_t zb_zcl_price_attr_set_block_period_s::block_period_duration

An unsigned 24-bit field to denote the block tariff period.

zb_uint8_t zb_zcl_price_attr_set_block_period_s::block_period_duration_type

An 8-bit bitmap where the least significant nibble is an enumerated sub-field indicating the time base used for the duration, and the most significant nibble is an enumerated sub-field providing duration control.

See also
zb_zcl_price_block_period_duration_type_e
zb_uint24_t zb_zcl_price_attr_set_block_period_s::threshold_divisor

BlockThresholdDivisor provides a value to divide the result of applying the ThresholdMultiplier attribute to BlockThreshold values to derive values that can be compared against the CurrentBlockPeriodConsumptionDelivered attribute within the Metering cluster. In case no divisor is defined, this field shall be set to 1.

zb_uint24_t zb_zcl_price_attr_set_block_period_s::threshold_multiplier

BlockThresholdMultiplier provides a value to be multiplied against Threshold parameter(s). If present, this attribute must be applied to all BlockThreshold values to derive values that can be compared against the CurrentBlockPeriodConsumptionDelivered attribute within the Metering cluster.


The documentation for this struct was generated from the following file:

Documentation feedback | Developer Zone | Subscribe | Updated