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#
emberAfPriceClusterClientAttributeChangedCallback#
void emberAfPriceClusterClientAttributeChangedCallback (uint8_t endpoint, EmberAfAttributeId 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
emberAfPriceClusterClientDefaultResponseCallback#
void emberAfPriceClusterClientDefaultResponseCallback (uint8_t endpoint, uint8_t commandId, EmberAfStatus 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
emberAfPriceClusterClientInitCallback#
void emberAfPriceClusterClientInitCallback (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
emberAfPriceClusterClientManufacturerSpecificAttributeChangedCallback#
void emberAfPriceClusterClientManufacturerSpecificAttributeChangedCallback (uint8_t endpoint, EmberAfAttributeId 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
emberAfPriceClusterClientMessageSentCallback#
void emberAfPriceClusterClientMessageSentCallback (EmberOutgoingMessageType type, uint16_t indexOrDestination, EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, EmberStatus 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
emberAfPriceClusterClientPreAttributeChangedCallback#
EmberAfStatus emberAfPriceClusterClientPreAttributeChangedCallback (uint8_t endpoint, EmberAfAttributeId attributeId, EmberAfAttributeType 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
emberAfPriceClusterClientTickCallback#
void emberAfPriceClusterClientTickCallback (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
emberAfPluginPriceClientPriceStartedCallback#
void emberAfPluginPriceClientPriceStartedCallback (EmberAfPluginPriceClientPrice * 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
emberAfPluginPriceClientPriceExpiredCallback#
void emberAfPluginPriceClientPriceExpiredCallback (EmberAfPluginPriceClientPrice * 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
emberAfPluginPriceClientPendingCppEventCallback#
uint8_t emberAfPluginPriceClientPendingCppEventCallback (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