Meter Snapshot Server#
Callbacks for Meter Snapshot Server Component.
Callbacks#
Schedule Snapshot.
Take Snapshot.
Get Snapshot.
Callbacks Documentation#
sl_zigbee_af_meter_snapshot_server_schedule_snapshot_cb#
void sl_zigbee_af_meter_snapshot_server_schedule_snapshot_cb (uint8_t srcEndpoint, uint8_t dstEndpoint, sl_802154_short_addr_t dest, uint8_t * snapshotPayload, uint8_t * responsePayload)
Schedule Snapshot.
N/A | srcEndpoint | Ver.: always |
N/A | dstEndpoint | Ver.: always |
N/A | dest | Ver.: always |
N/A | snapshotPayload | Ver.: always |
N/A | responsePayload | Ver.: always |
This function is called by the Meter Snapshot server plugin whenever a ScheduleSnapshot command is received. A plugin implementing backhaul functionality for the snapshot mechanism should proceed to schedule the snapshot as required.
60
of file app/framework/plugin/meter-snapshot-server/meter-snapshot-server.h
sl_zigbee_af_meter_snapshot_server_take_snapshot_cb#
uint32_t sl_zigbee_af_meter_snapshot_server_take_snapshot_cb (uint8_t endpoint, uint32_t snapshotCause, uint8_t * snapshotConfirmation)
Take Snapshot.
N/A | endpoint | Ver.: always |
N/A | snapshotCause | Ver.: always |
N/A | snapshotConfirmation | Ver.: always |
This function is called by the Meter Snapshot server plugin whenever a TakeSnapshot command is received. A plugin implementing backhaul functionality for the snapshot mechanism should proceed to manually take a snapshot as required. If for some reason the snapshot could not be taken, this should be reflected in the snapshotConfirmation argument.
77
of file app/framework/plugin/meter-snapshot-server/meter-snapshot-server.h
sl_zigbee_af_meter_snapshot_server_get_snapshot_cb#
void sl_zigbee_af_meter_snapshot_server_get_snapshot_cb (uint8_t srcEndpoint, uint8_t dstEndpoint, sl_802154_short_addr_t dest, uint8_t * snapshotCriteria)
Get Snapshot.
N/A | srcEndpoint | Ver.: always |
N/A | dstEndpoint | Ver.: always |
N/A | dest | Ver.: always |
N/A | snapshotCriteria | Ver.: always |
This function is called by the Meter Snapshot server plugin whenever a GetSnapshot command is received. A plugin implementing backhaul functionality for the snapshot mechanism should proceed to retrieve the snapshot and send a PublishSnapshot command to the requesting client.
92
of file app/framework/plugin/meter-snapshot-server/meter-snapshot-server.h