Developing with ZBOSS for Zigbee
zb_zcl_price_publish_currency_conversion_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 old_currency
 
zb_uint16_t new_currency
 
zb_uint32_t conversion_factor
 
zb_uint8_t conversion_factor_trailing_digit
 
zb_uint32_t currency_change_control_flags
 

Detailed Description

PublishCurrencyConversion command payload.

See also
SE spec, subclause D.4.2.4.14.2

Field Documentation

◆ conversion_factor

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.

◆ conversion_factor_trailing_digit

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.

◆ currency_change_control_flags

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.

◆ issuer_event_id

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.

◆ new_currency

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.

◆ old_currency

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.

◆ provider_id

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.

◆ start_time

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.


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