Developing with ZBOSS for Zigbee
zb_zcl_price_publish_billing_period_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 billing_period_start_time
 
zb_uint24_t billing_period_duration
 
zb_uint8_t billing_period_duration_type
 
zb_uint8_t tariff_type
 

Detailed Description

PublishBillingPeriod command payload

See also
SE spec, D.4.2.4.10

Field Documentation

◆ billing_period_duration

zb_uint24_t zb_zcl_price_publish_billing_period_payload_s::billing_period_duration

An unsigned 24-bit field to denote the billing period duration. The duration units are defined by the BillingPeriodDurationType field.

◆ billing_period_duration_type

zb_uint8_t zb_zcl_price_publish_billing_period_payload_s::billing_period_duration_type

An 8-bit bitmap where the least significant nibble is an enumerated sub-field indicating the time base used for the duration, and the most significant nibble is an enumerated sub-field providing duration control.

See also
zb_zcl_price_block_period_duration_type_t
zb_zcl_price_block_period_duration_control_t

◆ billing_period_start_time

zb_uint32_t zb_zcl_price_publish_billing_period_payload_s::billing_period_start_time

A UTCTime field to denote the time at which the billing period starts.

◆ issuer_event_id

zb_uint32_t zb_zcl_price_publish_billing_period_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_billing_period_payload_s::provider_id

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

◆ tariff_type

zb_uint8_t zb_zcl_price_publish_billing_period_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_block_period_duration_control_t

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