Developing with ZBOSS for Zigbee
|
#include <zb_zcl_price.h>
Data Fields | |
zb_uint32_t | provider_id |
zb_uint32_t | issuer_event_id |
zb_uint32_t | start_time |
zb_uint16_t | duration_in_minutes |
zb_uint8_t | tariff_type |
zb_uint8_t | cpp_price_tier |
zb_uint8_t | cpp_auth |
PublishCPPEvent command payload
zb_uint8_t zb_zcl_price_publish_cpp_event_payload_s::cpp_auth |
An 8-bit enumeration identifying the status of the CPP event.
zb_uint8_t zb_zcl_price_publish_cpp_event_payload_s::cpp_price_tier |
An 8-bit enumeration identifying the price tier associated with this CPP event. The price(s) contained in the active price matrix for that price tier will override the normal pricing scheme.
zb_uint16_t zb_zcl_price_publish_cpp_event_payload_s::duration_in_minutes |
Defines the duration of the CPP event.
zb_uint32_t zb_zcl_price_publish_cpp_event_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_cpp_event_payload_s::provider_id |
An unsigned 32-bit field containing a unique identifier for the commodity provider.
zb_uint32_t zb_zcl_price_publish_cpp_event_payload_s::start_time |
A UTCTime field to denote the time at which the CPP event begins. A start date/time of 0x00000000 shall indicate that the command should be executed immediately.
zb_uint8_t zb_zcl_price_publish_cpp_event_payload_s::tariff_type |
An 8-bit bitmap identifying the type of tariff published in this command. The least significant nibble represents an enumeration of the tariff type. The most significant nibble is reserved.