BME688 setConfig error code: -34

Have created an BSEC Config file using the BME AI Studio 2.3.2. The .txt file loads and runs fine when I use the Arduino IDE with boschsensortec/bsec2@^1.8.2610 and boschsensortec/BME68x Sensor library@^1.2.40408 library. I have been migrating this code to Platform IO to add unit testing to ensure the code is properly tested. The code will compile fine and upload on the ESP32-S3 when I setConfig(bsec_config) I get BME68X warning code : 14 then an BSEC error code : -34. I have looked at the file format, directory, library configurations and have run out of options was hoping the community could provide some thoughts on next steps.

4 replies