I am using a bme680 in combination with the bsec library. Now i want to change the settings of the oversampeling and the IIR filter on the fly but the bsec lib seems to not have a function wich does this. Is this because it is not recommanded to do this when using the bsec lib? Or did I overlook something?
I understand that it is possible to overwrite these settings when using just the bme680 library but could not find these implemented in a seprate bsec library function.
Although the BME680 offers these built-in IIR filters when processing raw sensor signals, the BSEC library was optimized for the BME680 running with this feature disabled. Since such filters would affect the sensor's response, we recommend not to enable the IIR filter while using BSEC.
Typically when running BSEC you should make use of the function bsec_sensor_control(). This function returns the sensor's settings to be applied for the next measurement, which already includes oversampling configurations.