02-15-2023 03:35 PM
I'm trying to use the bsec_set_configuration to load the bsec_sel_iaq_33v_3s_4d on a raspberry pico.
The bsec library works fine without using the set configuration to retrieve the IAQ and CO2 (i've already tried that) but when i try to load the configuration file the set_configuration returns with a -34 error that is version mismatch, I checked the bsec version through bsec_get_version and it is 2.2.0.0.
The files i used for the bsec library are located in algo>normal_version>bin>gcc>Cortex_MO+ and are the bsec_datatypes.h, bsec_interface.h and for the library it is the libalgobsec.a.
The configuration file is 2022_05_17_01_09_bsec_h2s_nonh2s_2_2_0_0.config and i saved it on an sd card that then i read using the adafruit sd reader. The file is loaded just fine (i also loaded the state file in a previous project and that works too) but then the error happens. Anyone knows why this version mismatch happens? Does anybody know how to fix it?
Solved! Go to Solution.
03-02-2023 02:40 AM
Hi Prop4et,
You should use config file and BSEC library under same bsec_2-2-0-0 package.
03-07-2023 10:58 AM
I AM using it, it is in the same folder of everything else
03-15-2023 03:25 AM
Hi Prop4et,
Normally, version mismatches occur because of the use of cross-version software.