Data Logger BLE Cellular Board
Loading...
Searching...
No Matches
Data Read out

Read our data from the sensor.

Collaboration diagram for Data Read out:

Read our data from the sensor.

bme68x_get_data

int8_t bme68x_get_data(uint8_t op_mode, struct bme68x_data *data, uint8_t *n_data, struct bme68x_dev *dev);
int8_t bme68x_get_data(uint8_t op_mode, struct bme68x_data *data, uint8_t *n_data, struct bme68x_dev *dev)
Definition bme68x.c:591
This API reads the pressure, temperature and humidity and gas data from the sensor, compensates the data and store it in the bme68x_data structure instance passed by the user.
Parameters
[in]op_mode: Expected operation mode.
[out]data: Structure instance to hold the data.
[out]n_data: Number of data instances available.
[in,out]dev: Structure instance of bme68x_dev
Returns
Result of API execution status
Return values
0-> Success
<0 -> Fail