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:
- C:/bambuild/KNG-TSD-BD/framework/docs_thread_zigbee/dox/api/doc_snippets/samples/se/common/price_srv_attr_sets.h