nRF5 SDK for Thread and Zigbee v3.2.0
Data Fields
zb_zcl_metering_get_sampled_data_response_payload_s Struct Reference

#include <zb_zcl_metering.h>

Data Fields

zb_uint16_t sample_id
 
zb_uint32_t sample_start_time
 
zb_uint8_t sample_type
 
zb_uint16_t sample_request_interval
 
zb_uint16_t number_of_samples
 
zb_uint24_t * samples
 

Detailed Description

GetSampledDataResponse command payload

See also
SE spec, subclause D.3.2.3.1.8

Field Documentation

zb_uint16_t zb_zcl_metering_get_sampled_data_response_payload_s::number_of_samples

Represents the number of samples being requested, This value cannot exceed the size stipulated in the MaxNumberOfSamples field in the StartSampling command.

zb_uint16_t zb_zcl_metering_get_sampled_data_response_payload_s::sample_id

Unique identifier allocated to this Sampling session. This field allows devices to match response data with the appropriate request.

zb_uint16_t zb_zcl_metering_get_sampled_data_response_payload_s::sample_request_interval

An unsigned 16-bit field representing the interval or time in seconds between samples.

zb_uint32_t zb_zcl_metering_get_sampled_data_response_payload_s::sample_start_time

A UTC Time field to denote the time of the first sample returned in this response.

zb_uint8_t zb_zcl_metering_get_sampled_data_response_payload_s::sample_type

An 8-bit enumeration that identifies the type of data being sampled.

zb_uint24_t* zb_zcl_metering_get_sampled_data_response_payload_s::samples

Series of data samples captured using the interval specified by the SampleRequestInterval field in the StartSampling command.


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

Documentation feedback | Developer Zone | Subscribe | Updated