Simple Metering Client#

Callbacks for Simple Metering Client Component.

Callbacks#

uint16_t
sl_zigbee_af_simple_metering_client_request_mirror_cb(sl_802154_long_addr_t requestingDeviceIeeeAddress)

Request Mirror.

uint16_t
sl_zigbee_af_simple_metering_client_remove_mirror_cb(sl_802154_long_addr_t requestingDeviceIeeeAddress)

Remove Mirror.

Callbacks Documentation#

sl_zigbee_af_simple_metering_client_request_mirror_cb#

uint16_t sl_zigbee_af_simple_metering_client_request_mirror_cb (sl_802154_long_addr_t requestingDeviceIeeeAddress)

Request Mirror.

Parameters
N/ArequestingDeviceIeeeAddress

Ver.: always

This function is called by the Simple Metering client plugin whenever a Request Mirror command is received. The application should return the endpoint to which the mirror has been assigned. If no mirror could be assigned, the application should return 0xFFFF.


Definition at line 60 of file app/framework/plugin/simple-metering-client/simple-metering-client.h

sl_zigbee_af_simple_metering_client_remove_mirror_cb#

uint16_t sl_zigbee_af_simple_metering_client_remove_mirror_cb (sl_802154_long_addr_t requestingDeviceIeeeAddress)

Remove Mirror.

Parameters
N/ArequestingDeviceIeeeAddress

Ver.: always

This function is called by the Simple Metering client plugin whenever a Remove Mirror command is received. The application should return the endpoint on which the mirror has been removed. If the mirror could not be removed, the application should return 0xFFFF.


Definition at line 71 of file app/framework/plugin/simple-metering-client/simple-metering-client.h