Developing with ZBOSS for Zigbee
zb_zcl_price_publish_price_matrix_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

Detailed Description

PublishPriceMatrix command payload

See also
SE spec, subclause D.

Field Documentation

◆ command_index

zb_uint8_t zb_zcl_price_publish_price_matrix_payload_s::command_index

The CommandIndex is used to count the payload fragments in the case that an 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_price_matrix_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_price_matrix_payload_s::issuer_tariff_id

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

◆ price_matrix_sub_payload

zb_zcl_price_price_matrix_sub_payload_t* zb_zcl_price_publish_price_matrix_payload_s::price_matrix_sub_payload

◆ provider_id

zb_uint32_t zb_zcl_price_publish_price_matrix_payload_s::provider_id

A unique identifier for the commodity supplier.

◆ start_time

zb_uint32_t zb_zcl_price_publish_price_matrix_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_price_matrix_payload_s::sub_payload_control

An 8-bit bitmap, the least significant bit of which specifies the information type stored in the sub payload. The remaining bits are reserved.

◆ total_number_of_commands

zb_uint8_t zb_zcl_price_publish_price_matrix_payload_s::total_number_of_commands

In the case that an 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: