Meter Mirror#
Callbacks for Meter Mirror Component.
Callbacks#
void
emberAfPluginMeterMirrorMirrorAddedCallback(const EmberEUI64 requestingDeviceIeeeAddress, uint8_t endpoint)
Mirror is added.
void
emberAfPluginMeterMirrorMirrorRemovedCallback(const EmberEUI64 requestingDeviceIeeeAddress, uint8_t endpoint)
Mirror is removed.
void
emberAfPluginMeterMirrorReportingCompleteCallback(uint8_t endpoint)
Reporting is complete.
Callbacks Documentation#
emberAfPluginMeterMirrorMirrorAddedCallback#
void emberAfPluginMeterMirrorMirrorAddedCallback (const EmberEUI64 requestingDeviceIeeeAddress, uint8_t endpoint)
Mirror is added.
Parameters
| Type | Direction | Argument Name | Description |
|---|---|---|---|
| const EmberEUI64 | N/A | requestingDeviceIeeeAddress | Ver.: always |
| uint8_t | N/A | endpoint | Ver.: always |
This function is called by the Meter Mirror plugin whenever a RequestMirror command is successfully processed.
emberAfPluginMeterMirrorMirrorRemovedCallback#
void emberAfPluginMeterMirrorMirrorRemovedCallback (const EmberEUI64 requestingDeviceIeeeAddress, uint8_t endpoint)
Mirror is removed.
Parameters
| Type | Direction | Argument Name | Description |
|---|---|---|---|
| const EmberEUI64 | N/A | requestingDeviceIeeeAddress | Ver.: always |
| uint8_t | N/A | endpoint | Ver.: always |
This function is called by the Meter Mirror plugin whenever a RemoveMirror command is successfully processed.
emberAfPluginMeterMirrorReportingCompleteCallback#
void emberAfPluginMeterMirrorReportingCompleteCallback (uint8_t endpoint)
Reporting is complete.
Parameters
| Type | Direction | Argument Name | Description |
|---|---|---|---|
| uint8_t | N/A | endpoint | Ver.: always |
This function is called by the Meter Mirror plugin after processing an AttributeReportingStatus attribute set to ReportingComplete. If the application needs to do any post attribute reporting processing, it can do it from within this callback.