Price Server#

Callbacks for Price Server Component.

Callbacks#

void

Initialize he price cluster server.

void
sl_zigbee_af_price_server_new_active_price_matrix_cb(const sl_zigbee_af_price_common_info_t *priceCommonInfo, const sl_zigbee_af_scheduled_price_matrix_t *priceMatrix)

Notify the application that a new PriceMatrix has become available.

void
sl_zigbee_af_price_server_new_active_tariff_information_cb(const sl_zigbee_af_price_common_info_t *priceCommonInfo, const sl_zigbee_af_scheduled_tariff_t *priceTariffInfo)

Notify the application that a new tariff information has become available.

void
sl_zigbee_af_price_server_new_active_block_thresholds_information_cb(const sl_zigbee_af_price_common_info_t *priceCommonInfo, const sl_zigbee_af_scheduled_block_thresholds_t *priceBlockThresholds)

Notify the application that a new block thresholds information has become available.

void
sl_zigbee_af_price_server_new_active_block_period_information_cb(const sl_zigbee_af_price_common_info_t *priceCommonInfo, const sl_zigbee_af_price_block_period_t *priceBlockPeriods)

Notify the application that a new block period information has become available.

Callbacks Documentation#

sl_zigbee_af_price_cluster_server_init_cb#

void sl_zigbee_af_price_cluster_server_init_cb (uint8_t endpoint)

Initialize he price cluster server.

Parameters
N/Aendpoint

Endpoint that is being initialized Ver.: always


Definition at line 1425 of file app/framework/plugin/price-server/price-server.h

sl_zigbee_af_price_server_new_active_price_matrix_cb#

void sl_zigbee_af_price_server_new_active_price_matrix_cb (const sl_zigbee_af_price_common_info_t * priceCommonInfo, const sl_zigbee_af_scheduled_price_matrix_t * priceMatrix)

Notify the application that a new PriceMatrix has become available.

Parameters
N/ApriceCommonInfo

Ver.: always

N/ApriceMatrix

Ver.: always

The application is responsible for updating proper ZCL attributes to reflect the necessary vendor-specific behaviors. priceCommonInfo contains common information, such as startTime. priceMatrix contains the PriceMatrix information.


Definition at line 1438 of file app/framework/plugin/price-server/price-server.h

sl_zigbee_af_price_server_new_active_tariff_information_cb#

void sl_zigbee_af_price_server_new_active_tariff_information_cb (const sl_zigbee_af_price_common_info_t * priceCommonInfo, const sl_zigbee_af_scheduled_tariff_t * priceTariffInfo)

Notify the application that a new tariff information has become available.

Parameters
N/ApriceCommonInfo

Ver.: always

N/ApriceTariffInfo

Ver.: always

The application is responsible for updating proper ZCL attributes to reflect the necessary vendor-specific behaviors. priceCommonInfo contains common information, such as startTime. priceTariffInfo contains the price matrix information.


Definition at line 1452 of file app/framework/plugin/price-server/price-server.h

sl_zigbee_af_price_server_new_active_block_thresholds_information_cb#

void sl_zigbee_af_price_server_new_active_block_thresholds_information_cb (const sl_zigbee_af_price_common_info_t * priceCommonInfo, const sl_zigbee_af_scheduled_block_thresholds_t * priceBlockThresholds)

Notify the application that a new block thresholds information has become available.

Parameters
N/ApriceCommonInfo

Ver.: always

N/ApriceBlockThresholds

Ver.: always

The application is responsible for updating proper ZCL attributes to reflect the necessary vendor-specific behaviors. priceCommonInfo contains common information, such as startTime. priceTariffInfo contains the BlockThresholds information.


Definition at line 1466 of file app/framework/plugin/price-server/price-server.h

sl_zigbee_af_price_server_new_active_block_period_information_cb#

void sl_zigbee_af_price_server_new_active_block_period_information_cb (const sl_zigbee_af_price_common_info_t * priceCommonInfo, const sl_zigbee_af_price_block_period_t * priceBlockPeriods)

Notify the application that a new block period information has become available.

Parameters
N/ApriceCommonInfo

Ver.: always

N/ApriceBlockPeriods

Ver.: always

The application is responsible for updating proper ZCL attributes to reflect the necessary vendor-specific behaviors. priceCommonInfo contains common information, such as startTime. priceBlockPeriod contains the BlockPeriod information.


Definition at line 1480 of file app/framework/plugin/price-server/price-server.h