I am working on a project that wants to be able to potentially change the sample rate of a BME680 during runtime.
I understand that there are 2 (or 3 if continuous can be used) fixed sample modes (ULP and LP), my question is that can you change between these while the microcontroller is running?
I was unable to find any uninit function in bsec integration and calling bsec_iot_init a second time with a different sample rate crashes the microcontroller.
There was integration guide document under "integration_guide" folder as you have downloaded BSEC18.104.22.168 package. You could see sampling rate selection in document.