Developing with ZBOSS for Zigbee
|
#include <zb_zcl_price.h>
PublishBlockThresholds command 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.
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.
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.
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.
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.
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.
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.
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.