Developing with ZBOSS for Zigbee
zb_zcl_price_publish_cpp_event_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_uint16_t duration_in_minutes
 
zb_uint8_t tariff_type
 
zb_uint8_t cpp_price_tier
 
zb_uint8_t cpp_auth
 

Detailed Description

PublishCPPEvent command payload

See also
SE spec, subclause D.4.2.4.12.2

Field Documentation

◆ cpp_auth

zb_uint8_t zb_zcl_price_publish_cpp_event_payload_s::cpp_auth

An 8-bit enumeration identifying the status of the CPP event.

See also
zb_zcl_price_cpp_event_status_t

◆ cpp_price_tier

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.

See also
zb_zcl_price_cpp_price_tier_t

◆ duration_in_minutes

zb_uint16_t zb_zcl_price_publish_cpp_event_payload_s::duration_in_minutes

Defines the duration of the CPP event.

◆ issuer_event_id

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.

◆ provider_id

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.

◆ start_time

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.

◆ tariff_type

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.

See also
zb_zcl_price_tariff_type_t

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