Hi all, when trying to load the configuration file i get the BSEC_E_CONFIG_VERSIONMISMATCH. I tried with both BSEC_2.2.0.0 and with BSEC2.4.0.0 (changed header, .a and .config file between the two). I then checked the version of the sw with bsec_get_version() and it returns the proper one for each case. I'm working on a raspberry pi pico with an external sd and sd reader. I tried reading another file beforhand and the read function works fine. After that i actually tried to compare whats inside the bsec_selectivity.config file to what's inside the bsec_selectivity.c (they are both arrays and they should be the same don't they?). I noticed that the length is the same (1974) but the heads and the tails differ (for the 2.4 version). The .config head is [182, 7, 0, 0, 0,0,4,2,...] while the .c file has [0,0,4,2, ....] that are the next values for the .config file. The tails are the opposite, the .config file one is [1, 0, 0, 0, 0] while the .c file has [1,0,0,0,0,233,74,0,0] so basically the last four values aren't there for the .config file. In conclusion if we take the .config file as a reference we can say that the .c file is shifted 4 positions to the left and has 4 values more at the end. Why is that difference? Is there a chance that this is why i have the error? Because loading the .c file doesn't return an error but gives me the ok (0) code.
... View more