sensor_format_unspecified_t

Updated: April 19, 2023

Format to represent data when the format is unknown

Synopsis:

#include <sensor/sensor_api.h>
typedef struct sensor_format_unspecified_t {
    uint8_t data[SENSOR_MAX_FORMAT_INFO_SIZE];
} sensor_format_unspecified_t;

Data:

uint8_t data[SENSOR_MAX_FORMAT_INFO_SIZE]
An array representing the data.

The size of the array is defined by the SENSOR_MAX_FORMAT_INFO_SIZE value. This placeholder value ensures that the format-specific information is always padded for forwards compatibility.

Library:

libsensor

Description:

This format isn't usually used in the API, but is used to keep a minimum size for the sensor_format_info_t union.