#include <zb_zcl_metering.h>
PublishSnapshot command payload
zb_uint8_t zb_zcl_metering_publish_snapshot_payload_s::command_index |
The CommandIndex is used to count the payload fragments in the case where the entire payload (snapshot) does not fit into one message
zb_uint32_t zb_zcl_metering_publish_snapshot_payload_s::snapshot_cause |
A 32-bit BitMap indicating the cause of the snapshot
zb_uint32_t zb_zcl_metering_publish_snapshot_payload_s::snapshot_id |
Unique identifier allocated by the device creating the snapshot.
zb_uint8_t zb_zcl_metering_publish_snapshot_payload_s::snapshot_payload_type |
The SnapshotPayloadType is an 8-bit enumerator defining the format of the Snapshot Sub-Payload in this message.
zb_zcl_metering_snapshot_sub_payload_t zb_zcl_metering_publish_snapshot_payload_s::snapshot_sub_payload |
zb_uint32_t zb_zcl_metering_publish_snapshot_payload_s::snapshot_time |
This is a 32 bit value (in UTC Time) representing the time at which the data snapshot was taken.
zb_uint8_t zb_zcl_metering_publish_snapshot_payload_s::total_number_of_commands |
In the case where the entire payload (snapshot) does not fit into one message, the Total Number of Commands field indicates the total number of sub-commands that will be returned.
zb_uint8_t zb_zcl_metering_publish_snapshot_payload_s::total_snapshots_found |
An 8-bit Integer indicating the number of snapshots found, based on the search criteria defined in the associated GetSnapshot command.