#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
◆ number_of_samples
| 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.
◆ sample_id
| 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.
◆ sample_request_interval
| 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.
◆ sample_start_time
| 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.
◆ sample_type
| 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.
◆ samples
| 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.
- external/zboss/include/zcl/zb_zcl_metering.h