Developing with ZBOSS for Zigbee
|
#include <zb_zcl_price.h>
PublishCurrencyConversion command payload.
zb_uint32_t zb_zcl_price_publish_currency_conversion_payload_s::conversion_factor |
The format and use of this field is the same as for the ConversionFactor attribute as defined in D.4.2.2.4.3.
zb_uint8_t zb_zcl_price_publish_currency_conversion_payload_s::conversion_factor_trailing_digit |
The format and use of this field is the same as for the ConversionFactorTrailingDigit attribute as defined in D.4.2.2.4.4.
zb_uint32_t zb_zcl_price_publish_currency_conversion_payload_s::currency_change_control_flags |
A 32-bit mask that denotes the functions that are required to be carried out on processing of this command.
zb_uint32_t zb_zcl_price_publish_currency_conversion_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_uint16_t zb_zcl_price_publish_currency_conversion_payload_s::new_currency |
An unsigned 16-bit field containing identifying information concerning the new local unit of currency used in the Price cluster. The value of the NewCurrency field should match the values defined by ISO 4217.
zb_uint16_t zb_zcl_price_publish_currency_conversion_payload_s::old_currency |
An unsigned 16-bit field containing identifying information concerning the old local unit of currency used in the Price cluster.
zb_uint32_t zb_zcl_price_publish_currency_conversion_payload_s::provider_id |
An unsigned 32-bit field containing a unique identifier for the commodity provider.
zb_uint32_t zb_zcl_price_publish_currency_conversion_payload_s::start_time |
A UTCTime field to denote the time at which the new currency becomes valid.