Prepayment Server#

Callbacks for Prepayment Server Component.

Callbacks#

void
sl_zigbee_af_prepayment_cluster_server_attribute_changed_cb(uint8_t endpoint, sl_zigbee_af_attribute_id_t attributeId)

Prepayment Cluster Server Attribute Changed.

void
sl_zigbee_af_prepayment_cluster_server_default_response_cb(uint8_t endpoint, uint8_t commandId, sl_zigbee_af_status_t status)

Prepayment cluster server default response.

void

Initialize the prepayment cluster server.

void
sl_zigbee_af_prepayment_cluster_server_manufacturer_specific_attribute_changed_cb(uint8_t endpoint, sl_zigbee_af_attribute_id_t attributeId, uint16_t manufacturerCode)

Prepayment cluster server manufacturer-specific attribute changed.

void
sl_zigbee_af_prepayment_cluster_server_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)

Prepayment cluster server message sent.

sl_zigbee_af_prepayment_cluster_server_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)

Prepayment cluster server pre attribute changed.

Callbacks Documentation#

sl_zigbee_af_prepayment_cluster_server_attribute_changed_cb#

void sl_zigbee_af_prepayment_cluster_server_attribute_changed_cb (uint8_t endpoint, sl_zigbee_af_attribute_id_t 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

sl_zigbee_af_prepayment_cluster_server_default_response_cb#

void sl_zigbee_af_prepayment_cluster_server_default_response_cb (uint8_t endpoint, uint8_t commandId, sl_zigbee_af_status_t 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

sl_zigbee_af_prepayment_cluster_server_init_cb#

void sl_zigbee_af_prepayment_cluster_server_init_cb (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

sl_zigbee_af_prepayment_cluster_server_manufacturer_specific_attribute_changed_cb#

void sl_zigbee_af_prepayment_cluster_server_manufacturer_specific_attribute_changed_cb (uint8_t endpoint, sl_zigbee_af_attribute_id_t 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

sl_zigbee_af_prepayment_cluster_server_message_sent_cb#

void sl_zigbee_af_prepayment_cluster_server_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)

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

sl_zigbee_af_prepayment_cluster_server_pre_attribute_changed_cb#

sl_zigbee_af_status_t sl_zigbee_af_prepayment_cluster_server_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)

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