We tried executing the example sketch "basic.ino" in the BSEC library v184.108.40.206. But we find it always return eroor code '-2'.
We uncommented the macro BME680_FLOAT_POINT_COMPENSATION in "bme680_defs.h". Though the example code always throw error code '-2'.
Why does it always return '-2'?
The BME680 Error code -2 corresponds to 'BME680_E_COM_FAIL' which means that the communcation between the host microcontroller and the sensor failed. Please verify the connections.