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_uint8_t | tariff_type |
zb_uint32_t | co2_value |
zb_uint8_t | co2_value_unit |
zb_uint8_t | co2_value_trailing_digit |
PublishCO2Value command payload
zb_uint32_t zb_zcl_price_publish_co2_value_payload_s::co2_value |
The format and use of this field is the same as for the CO2 attribute or ReceivedCO2 attribute . A value of 0xFFFFFFFF indicates field not used.
zb_uint8_t zb_zcl_price_publish_co2_value_payload_s::co2_value_trailing_digit |
The format and use of this field is the same as for the CO2TrailingDigit attribute or ReceivedCO2TrailingDigit attribute. A value of 0xFF indicates field not used.
zb_uint8_t zb_zcl_price_publish_co2_value_payload_s::co2_value_unit |
The format and use of this field is the same as for the CO2Unit attribute or ReceivedCO2Unit attribute. A value of 0xFF indicates field not used.
zb_uint32_t zb_zcl_price_publish_co2_value_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_co2_value_payload_s::provider_id |
An unsigned 32-bit field containing a unique identifier for the commodity provider.
zb_uint32_t zb_zcl_price_publish_co2_value_payload_s::start_time |
A UTCTime field to denote the time at which the CO2 value becomes valid.
zb_uint8_t zb_zcl_price_publish_co2_value_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.