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
Type | Direction | Argument Name | Description |
---|---|---|---|
EmberEUI64 | N/A | requestingDeviceIeeeAddress | 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.
emberAfPluginSimpleMeteringClientRemoveMirrorCallback#
uint16_t emberAfPluginSimpleMeteringClientRemoveMirrorCallback (EmberEUI64 requestingDeviceIeeeAddress)
Remove Mirror.
Parameters
Type | Direction | Argument Name | Description |
---|---|---|---|
EmberEUI64 | N/A | requestingDeviceIeeeAddress | 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.