Developing with ZBOSS for Zigbee
zb_zcl_price_publish_block_thresholds_payload_s Struct Reference

#include <zb_zcl_price.h>

Data Fields

zb_uint32_t provider_id
 
zb_uint32_t issuer_event_id
 
zb_uint32_t start_time
 
zb_uint32_t issuer_tariff_id
 
zb_uint8_t command_index
 
zb_uint8_t total_number_of_commands
 
zb_uint8_t sub_payload_control
 
zb_zcl_price_block_threshold_sub_payload_tblock_threshold_sub_payload
 

Detailed Description

PublishBlockThresholds command payload

See also
SE spec, subclause D.4.2.4.7.2

Field Documentation

◆ block_threshold_sub_payload

zb_zcl_price_block_threshold_sub_payload_t* zb_zcl_price_publish_block_thresholds_payload_s::block_threshold_sub_payload

The BlockThreshold Sub-Payload consists of multiple sets of data which consist of a TierID, BlockThresholdCount and the threshold values associated with the stated Tier.

See also
zb_zcl_price_block_threshold_sub_payload_t

◆ command_index

zb_uint8_t zb_zcl_price_publish_block_thresholds_payload_s::command_index

The CommandIndex is used to count the payload fragments in the case where the entire payload does not fit into one message. The CommandIndex starts at 0 and is incremented for each fragment belonging to the same command.

◆ issuer_event_id

zb_uint32_t zb_zcl_price_publish_block_thresholds_payload_s::issuer_event_id

Unique identifier generated by the commodity provider. When new information is provided that replaces older information for the same time period, this field allows devices to determine which information is newer.

◆ issuer_tariff_id

zb_uint32_t zb_zcl_price_publish_block_thresholds_payload_s::issuer_tariff_id

Unique identifier generated by the commodity supplier. This must match the IssuerTariffID sent in the related PublishTariffInformation command.

◆ provider_id

zb_uint32_t zb_zcl_price_publish_block_thresholds_payload_s::provider_id

An unsigned 32-bit field containing a unique identifier for the commodity provider.

◆ start_time

zb_uint32_t zb_zcl_price_publish_block_thresholds_payload_s::start_time

A UTCTime field to denote the time at which the price signal becomes valid.

◆ sub_payload_control

zb_uint8_t zb_zcl_price_publish_block_thresholds_payload_s::sub_payload_control

The Sub-Payload Control bitmap specifies the usage of the information contained within the Block Threshold Sub-Payload.

See also
zb_zcl_price_publish_block_thresholds_sub_payload_control_bitmap_e

◆ total_number_of_commands

zb_uint8_t zb_zcl_price_publish_block_thresholds_payload_s::total_number_of_commands

In the case where the entire payload does not fit into one message, the TotalNumberOfCommands field indicates the total number of sub-commands in the message.


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