sensor_format_unspecified_t
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:
libsensorDescription:
This format isn't usually used in the API, but is used to keep a minimum size for the sensor_format_info_t union.
Page updated:
