Update: These days i've managed to merge the last available official BSEC library (1.6.x) with the latest BSEC 2.x successfully, after all no code modification was required library-side (just an accurate copy-paste). As of now the provided example "basic_config_state.ino" compile and runs smoothly but it obviously is in the BSEC_SAMPLE_RATE_HIGH_PERFORMANCE. To the needs of my project i want to configure it in ULP mode (300s) but i've found problem handling DeepSleep: unlike previous BSEC library (1.6.x), the sensor keep re-initializing after a deep-sleep wake up event. Do I miss how to use this new library API for DeepSleep? Can you provide a brief example or few steps? Here is a link to the project source (just the .ino file is published, bsec 2.x library porting is not distribuited in any form, as required by the license): https://github.com/Sensei32-DevKit/Sensei32-BME688_Advanced/blob/BSEC_2-0-6-1/Sensei32-BME688_Advanced.ino As an additional information the code above will run well if DeepSleep is replaced with LightSleep or delay, so i think is just an erroneus setup at wake-up. Many thanks for the help.
... View more