Prepayment Server#

Callbacks for Prepayment Server Component.

Callbacks#

void
emberAfPrepaymentClusterServerAttributeChangedCallback(uint8_t endpoint, EmberAfAttributeId attributeId)

Prepayment Cluster Server Attribute Changed.

void
emberAfPrepaymentClusterServerDefaultResponseCallback(uint8_t endpoint, uint8_t commandId, EmberAfStatus status)

Prepayment cluster server default response.

void

Initialize the prepayment cluster server.

void
emberAfPrepaymentClusterServerManufacturerSpecificAttributeChangedCallback(uint8_t endpoint, EmberAfAttributeId attributeId, uint16_t manufacturerCode)

Prepayment cluster server manufacturer-specific attribute changed.

void
emberAfPrepaymentClusterServerMessageSentCallback(EmberOutgoingMessageType type, uint16_t indexOrDestination, EmberApsFrame *apsFrame, uint16_t msgLen, uint8_t *message, EmberStatus status)

Prepayment cluster server message sent.

emberAfPrepaymentClusterServerPreAttributeChangedCallback(uint8_t endpoint, EmberAfAttributeId attributeId, EmberAfAttributeType attributeType, uint8_t size, uint8_t *value)

Prepayment cluster server pre attribute changed.

Callbacks Documentation#

emberAfPrepaymentClusterServerAttributeChangedCallback#

void emberAfPrepaymentClusterServerAttributeChangedCallback (uint8_t endpoint, EmberAfAttributeId attributeId)

Prepayment Cluster Server Attribute Changed.

Parameters
N/Aendpoint

Endpoint that is being initialized Ver.: always

N/AattributeId

Attribute that changed Ver.: always


Definition at line 132 of file app/framework/plugin/prepayment-server/prepayment-server.h

emberAfPrepaymentClusterServerDefaultResponseCallback#

void emberAfPrepaymentClusterServerDefaultResponseCallback (uint8_t endpoint, uint8_t commandId, EmberAfStatus status)

Prepayment cluster server default response.

Parameters
N/Aendpoint

Destination endpoint Ver.: always

N/AcommandId

Command id Ver.: always

N/Astatus

Status in default response Ver.: always

This function is called when the server receives the default response from the client.


Definition at line 143 of file app/framework/plugin/prepayment-server/prepayment-server.h

emberAfPrepaymentClusterServerInitCallback#

void emberAfPrepaymentClusterServerInitCallback (uint8_t endpoint)

Initialize the prepayment cluster server.

Parameters
N/Aendpoint

Endpoint that is being initialized Ver.: always


Definition at line 151 of file app/framework/plugin/prepayment-server/prepayment-server.h

emberAfPrepaymentClusterServerManufacturerSpecificAttributeChangedCallback#

void emberAfPrepaymentClusterServerManufacturerSpecificAttributeChangedCallback (uint8_t endpoint, EmberAfAttributeId attributeId, uint16_t manufacturerCode)

Prepayment cluster server manufacturer-specific attribute changed.

Parameters
N/Aendpoint

Endpoint that is being initialized Ver.: always

N/AattributeId

Attribute that changed Ver.: always

N/AmanufacturerCode

Manufacturer Code of the attribute that changed Ver.: always


Definition at line 160 of file app/framework/plugin/prepayment-server/prepayment-server.h

emberAfPrepaymentClusterServerMessageSentCallback#

void emberAfPrepaymentClusterServerMessageSentCallback (EmberOutgoingMessageType type, uint16_t indexOrDestination, EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, EmberStatus status)

Prepayment cluster server message sent.

Parameters
N/Atype

The type of message sent Ver.: always

N/AindexOrDestination

The destination or address to which the message was sent Ver.: always

N/AapsFrame

The APS frame for the message Ver.: always

N/AmsgLen

The length of the message Ver.: always

N/Amessage

The message that was sent Ver.: always

N/Astatus

The status of the sent message Ver.: always


Definition at line 174 of file app/framework/plugin/prepayment-server/prepayment-server.h

emberAfPrepaymentClusterServerPreAttributeChangedCallback#

EmberAfStatus emberAfPrepaymentClusterServerPreAttributeChangedCallback (uint8_t endpoint, EmberAfAttributeId attributeId, EmberAfAttributeType attributeType, uint8_t size, uint8_t * value)

Prepayment cluster server pre attribute changed.

Parameters
N/Aendpoint

Endpoint that is being initialized Ver.: always

N/AattributeId

Attribute to be changed Ver.: always

N/AattributeType

Attribute type Ver.: always

N/Asize

Attribute size Ver.: always

N/Avalue

Attribute value Ver.: always


Definition at line 189 of file app/framework/plugin/prepayment-server/prepayment-server.h