Price Client#
Callbacks for Price Client Component.
Callbacks#
Price cluster client attribute changed.
Price cluster client default response.
Initialize the price cluster client.
Price cluster client manufacturer-specific attribute changed.
Send the price cluster client message.
Price cluster client pre attribute changed.
Price cluster client tick.
Start price.
Expire price.
Pending CPP event.
Callbacks Documentation#
sl_zigbee_af_price_cluster_client_attribute_changed_cb#
void sl_zigbee_af_price_cluster_client_attribute_changed_cb (uint8_t endpoint, sl_zigbee_af_attribute_id_t attributeId)
Price cluster client attribute changed.
N/A | endpoint | Endpoint that is being initialized Ver.: always |
N/A | attributeId | Attribute that changed Ver.: always |
472
of file app/framework/plugin/price-client/price-client.h
sl_zigbee_af_price_cluster_client_default_response_cb#
void sl_zigbee_af_price_cluster_client_default_response_cb (uint8_t endpoint, uint8_t commandId, sl_zigbee_af_status_t status)
Price cluster client default response.
N/A | endpoint | Destination endpoint Ver.: always |
N/A | commandId | Command id Ver.: always |
N/A | status | Status in default response Ver.: always |
This function is called when the client receives the default response from the server.
483
of file app/framework/plugin/price-client/price-client.h
sl_zigbee_af_price_cluster_client_init_cb#
void sl_zigbee_af_price_cluster_client_init_cb (uint8_t endpoint)
Initialize the price cluster client.
N/A | endpoint | Endpoint that is being initialized Ver.: always |
491
of file app/framework/plugin/price-client/price-client.h
sl_zigbee_af_price_cluster_client_manufacturer_specific_attribute_changed_cb#
void sl_zigbee_af_price_cluster_client_manufacturer_specific_attribute_changed_cb (uint8_t endpoint, sl_zigbee_af_attribute_id_t attributeId, uint16_t manufacturerCode)
Price cluster client manufacturer-specific attribute changed.
N/A | endpoint | Endpoint that is being initialized Ver.: always |
N/A | attributeId | Attribute that changed Ver.: always |
N/A | manufacturerCode | Manufacturer Code of the attribute that changed Ver.: always |
500
of file app/framework/plugin/price-client/price-client.h
sl_zigbee_af_price_cluster_client_message_sent_cb#
void sl_zigbee_af_price_cluster_client_message_sent_cb (sl_zigbee_outgoing_message_type_t type, uint16_t indexOrDestination, sl_zigbee_aps_frame_t * apsFrame, uint16_t msgLen, uint8_t * message, sl_status_t status)
Send the price cluster client message.
N/A | type | The type of message sent Ver.: always |
N/A | indexOrDestination | The destination or address to which the message was sent Ver.: always |
N/A | apsFrame | The APS frame for the message Ver.: always |
N/A | msgLen | The length of the message Ver.: always |
N/A | message | The message that was sent Ver.: always |
N/A | status | The status of the sent message Ver.: always |
514
of file app/framework/plugin/price-client/price-client.h
sl_zigbee_af_price_cluster_client_pre_attribute_changed_cb#
sl_zigbee_af_status_t sl_zigbee_af_price_cluster_client_pre_attribute_changed_cb (uint8_t endpoint, sl_zigbee_af_attribute_id_t attributeId, sl_zigbee_af_attribute_type_t attributeType, uint8_t size, uint8_t * value)
Price cluster client pre attribute changed.
N/A | endpoint | Endpoint that is being initialized Ver.: always |
N/A | attributeId | Attribute to be changed Ver.: always |
N/A | attributeType | Attribute type Ver.: always |
N/A | size | Attribute size Ver.: always |
N/A | value | Attribute value Ver.: always |
529
of file app/framework/plugin/price-client/price-client.h
sl_zigbee_af_price_cluster_client_tick_cb#
void sl_zigbee_af_price_cluster_client_tick_cb (uint8_t endpoint)
Price cluster client tick.
N/A | endpoint | Endpoint that is being served Ver.: always |
539
of file app/framework/plugin/price-client/price-client.h
sl_zigbee_af_price_client_price_started_cb#
void sl_zigbee_af_price_client_price_started_cb (sl_zigbee_af_plugin_price_client_price_t * price)
Start price.
N/A | price | The price that has started. Ver.: always |
This function is called by the Price client plugin whenever a price starts.
547
of file app/framework/plugin/price-client/price-client.h
sl_zigbee_af_price_client_price_expired_cb#
void sl_zigbee_af_price_client_price_expired_cb (sl_zigbee_af_plugin_price_client_price_t * price)
Expire price.
N/A | price | The price that has expired. Ver.: always |
This function is called by the Price client plugin whenever a price expires.
554
of file app/framework/plugin/price-client/price-client.h
sl_zigbee_af_price_client_pending_cpp_event_cb#
uint8_t sl_zigbee_af_price_client_pending_cpp_event_cb (uint8_t cppAuth)
Pending CPP event.
N/A | cppAuth | The CPP Auth status. Ver.: always |
This function is called by the Price client plugin when a CPP event is received with a pending status.
562
of file app/framework/plugin/price-client/price-client.h