nRF5 SDK for Thread and Zigbee v1.0.0
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
zb_zcl_prepayment_publish_prepay_snapshot_payload_s Struct Reference

#include <zb_zcl_prepayment.h>

Data Fields

zb_uint32_t snapshot_id
 
zb_uint32_t snapshot_time
 
zb_uint8_t total_snapshots_found
 
zb_uint8_t command_index
 
zb_uint8_t total_number_of_commands
 
zb_uint32_t snapshot_cause
 
zb_zcl_prepayment_snapshot_payload_t snapshot_payload
 

Detailed Description

Publish Prepay Snapshot Command Payload

See also
SE spec, subclause 7.2.4.2

Field Documentation

zb_uint8_t zb_zcl_prepayment_publish_prepay_snapshot_payload_s::command_index

The follow field is uses to count the payload fragments in the case where the entire payload does not fit into one message. The Command Index starts at 0 and is incremented for each fragment belonging to the same command.

zb_uint32_t zb_zcl_prepayment_publish_prepay_snapshot_payload_s::snapshot_cause

A 32-bit BitMap indicating the cause of the snapshot.

zb_uint32_t zb_zcl_prepayment_publish_prepay_snapshot_payload_s::snapshot_id

Unique identifier allocated by the device creating the snapshot.

zb_uint32_t zb_zcl_prepayment_publish_prepay_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_prepayment_publish_prepay_snapshot_payload_s::total_number_of_commands

In the case where the entire payload does not fit into one message, the Total Number of Commands field indicates the total number of sub-commands in the message.

zb_uint8_t zb_zcl_prepayment_publish_prepay_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 GetPrepaySnapshot command. If the value is greater than 1, the client is able to request the next snapshot by incrementing the Snapshot Offset field in an otherwise repeated get_prepay_snapshot command.


The documentation for this struct was generated from the following file: