sensor_flags_t
Sensor streaming flags
Synopsis:
#include <sensor/external_sensor_api.h>
typedef struct sensor_flags_t {
bool captured;
bool freeInputBuffer;
bool timeReferenceChange;
bool streamingGap;
uint32_t numFilledBytes;
bool slowStreaming;
bool overlapError;
uint32_t internal;
} sensor_flags_t;Data:
- bool captured
- A value of
trueif a packet was captured; otherwisefalsefor initial pipelining. - bool freeInputBuffer
- A value of
trueif input buffer provided was not consumed by the sensor and should be freed; otherwisefalse. - bool timeReferenceChange
- A value of
trueif there has been a change in the time reference and the offset should be; otherwisefalse. - bool streamingGap
- A value of
trueif the buffer provided was filled with sensor readings but contains one or more discontinuities in its data. - uint32_t numFilledBytes
- The number of filled bytes in the output buffer.
A value of 0 indicates that the buffer was completely filled.
- bool slowStreaming
- A value of
trueif the data is not being received fast enough from the sensor; otherwisefalse. - bool overlapError
- A value of
trueif it was detected that an overlap error has occurred; otherwisefalse. - uint32_t internal
- For internal use only; do not use.
Library:
libsensorPage updated:
