Developing with ZBOSS for Zigbee
zb_zcl_price_publish_tier_labels_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 issuer_tariff_id
 
zb_uint8_t command_index
 
zb_uint8_t total_number_of_commands
 
zb_uint8_t number_of_labels
 
zb_zcl_price_publish_tier_labels_sub_payload_ttier_labels
 

Detailed Description

PublishTierLabels command payload

See also
SE spec, subclause D.4.2.4.9.2

Field Documentation

◆ command_index

zb_uint8_t zb_zcl_price_publish_tier_labels_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_tier_labels_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_tier_labels_payload_s::issuer_tariff_id

Unique identifier generated by the commodity supplier. This is used to identify the tariff that the labels apply to.

◆ number_of_labels

zb_uint8_t zb_zcl_price_publish_tier_labels_payload_s::number_of_labels

The number of TierID/Tier Label sets contained within the command.

◆ provider_id

zb_uint32_t zb_zcl_price_publish_tier_labels_payload_s::provider_id

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

◆ tier_labels

zb_zcl_price_publish_tier_labels_sub_payload_t* zb_zcl_price_publish_tier_labels_payload_s::tier_labels

◆ total_number_of_commands

zb_uint8_t zb_zcl_price_publish_tier_labels_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: