BME688 and ESP32 giving BSEC error code : -2

Hello,

We are using single BME688 sensor with esp32 (ESP-WROVER-KIT V4.1 board) over i2c communication.

Facing BSEC error code : -2 error  while wokring with example https://github.com/boschsensortec/Bosch-BSEC2-Library/blob/master/examples/generic_examples/basic_config_state/basic_config_state.ino

Bosch-BSEC2-Library : https://github.com/boschsensortec/Bosch-BSEC2-Library/tree/master 
Bosch-BME68x-Library : https://github.com/BoschSensortec/Bosch-BME68x-Library 

We are getting this error as envSensor.run() fails.

On further debuggin in bsec2.cpp file we are failing bsec_do_steps(inputs, nInputs, _outputs, &nOutputs); here, as bsec_do_steps returns BSEC_E_DOSTEPS_VALUELIMITS.

https://github.com/boschsensortec/Bosch-BME68x-Library/tree/master/examples/sequential_mode example is working properly with accurate output.

Any help will be appreciated.

Thank you,
Akshay

 

7 replies