Simple Metering Client#

Callbacks for Simple Metering Client Component.

Callbacks#

uint16_t
emberAfPluginSimpleMeteringClientRequestMirrorCallback(EmberEUI64 requestingDeviceIeeeAddress)

Request Mirror.

uint16_t
emberAfPluginSimpleMeteringClientRemoveMirrorCallback(EmberEUI64 requestingDeviceIeeeAddress)

Remove Mirror.

Callbacks Documentation#

emberAfPluginSimpleMeteringClientRequestMirrorCallback#

uint16_t emberAfPluginSimpleMeteringClientRequestMirrorCallback (EmberEUI64 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

emberAfPluginSimpleMeteringClientRemoveMirrorCallback#

uint16_t emberAfPluginSimpleMeteringClientRemoveMirrorCallback (EmberEUI64 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