Meter Mirror#

Callbacks for Meter Mirror Component.

Callbacks#

void
sl_zigbee_af_meter_mirror_mirror_added_cb(const sl_802154_long_addr_t requestingDeviceIeeeAddress, uint8_t endpoint)

Mirror is added.

void
sl_zigbee_af_meter_mirror_mirror_removed_cb(const sl_802154_long_addr_t requestingDeviceIeeeAddress, uint8_t endpoint)

Mirror is removed.

void

Reporting is complete.

Callbacks Documentation#

sl_zigbee_af_meter_mirror_mirror_added_cb#

void sl_zigbee_af_meter_mirror_mirror_added_cb (const sl_802154_long_addr_t requestingDeviceIeeeAddress, uint8_t endpoint)

Mirror is added.

Parameters
TypeDirectionArgument NameDescription
const sl_802154_long_addr_tN/ArequestingDeviceIeeeAddress

Ver.: always

uint8_tN/Aendpoint

Ver.: always

This function is called by the Meter Mirror plugin whenever a RequestMirror command is successfully processed.


sl_zigbee_af_meter_mirror_mirror_removed_cb#

void sl_zigbee_af_meter_mirror_mirror_removed_cb (const sl_802154_long_addr_t requestingDeviceIeeeAddress, uint8_t endpoint)

Mirror is removed.

Parameters
TypeDirectionArgument NameDescription
const sl_802154_long_addr_tN/ArequestingDeviceIeeeAddress

Ver.: always

uint8_tN/Aendpoint

Ver.: always

This function is called by the Meter Mirror plugin whenever a RemoveMirror command is successfully processed.


sl_zigbee_af_meter_mirror_reporting_complete_cb#

void sl_zigbee_af_meter_mirror_reporting_complete_cb (uint8_t endpoint)

Reporting is complete.

Parameters
TypeDirectionArgument NameDescription
uint8_tN/Aendpoint

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.