12-26-2023 05:26 PM
I am using esp32s3 with bsec lib v2.4.0.0. develop environment program language is c. I want to use bme680_iaq_33v_300s_4d config. I copied bme680_iaq_33v_300s_4d directory to my project and then include bsec_iaq.h. write config_load function:
uint32_t config_load(uint8_t *config_buffer, uint32_t n_buffer)
{
memcpy(config_buffer, bsec_config_iaq, n_buffer);
return n_buffer;
}
but this do not work. Its smaple period is not 300 seconds instead 3 seconds.The sample rate I am using is BSEC_SAMPLE_RATE_LP. Should I replace BSEC_SAMPLE_RATE_LP to BSEC_SAMPLE_RATE_ULP?
Solved! Go to Solution.
12-26-2023 05:57 PM
Hi Mark,
Yes, you should use BSEC_SAMPLE_RATE_ULP mode, not LP for 300s.
Also, please make sure that you are using s3 library.
Here is the right path.
\BSEC2.4.0.0_Generic_Release_23012023\algo\normal_version\bin\esp\ESP32_s3
Thank you.