A format used for any sensor data where the payload consists of one or multiple data entries where each data entry is defined by a format specific structure
#include <sensor/sensor_api.h>
typedef struct sensor_format_data_t { uint64_t data_size; uint32_t num_entries; uint32_t entry_size; uint32_t flags; } sensor_format_data_t;
To access the next data entry, add this amount to your payload pointer that points to the current data entry.
The meaning of these flags is format specific. For backwards compatibility, use these flags to confirm the presence of a given field of the structure before accessing it.