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
N/A | requestingDeviceIeeeAddress | Ver.: always |
N/A | endpoint | Ver.: always |
This function is called by the Meter Mirror plugin whenever a RequestMirror command is successfully processed.
Definition at line
129
of file app/framework/plugin/meter-mirror/meter-mirror.h
emberAfPluginMeterMirrorMirrorRemovedCallback#
void emberAfPluginMeterMirrorMirrorRemovedCallback (const EmberEUI64 requestingDeviceIeeeAddress, uint8_t endpoint)
Mirror is removed.
Parameters
N/A | requestingDeviceIeeeAddress | Ver.: always |
N/A | endpoint | Ver.: always |
This function is called by the Meter Mirror plugin whenever a RemoveMirror command is successfully processed.
Definition at line
140
of file app/framework/plugin/meter-mirror/meter-mirror.h
emberAfPluginMeterMirrorReportingCompleteCallback#
void emberAfPluginMeterMirrorReportingCompleteCallback (uint8_t endpoint)
Reporting is complete.
Parameters
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.
Definition at line
152
of file app/framework/plugin/meter-mirror/meter-mirror.h