alexh-name / bsec_bme680_linux

Read the BME680 sensor with the BSEC library on Linux (e.g. Raspberry Pi)
Other
88 stars 48 forks source link

BSEC_1.4.6.0_Generic_Release_20180409 incompatible // No bsec_integration.h file #5

Closed mackowiakp closed 6 years ago

mackowiakp commented 6 years ago

just downloaded from Bosch site BSEC_1.4.6.0_Generic_Release_20180409.zip file, but it does not contain bsec_integration.h for any architecture. My project based on RPi 3B with Raspbian installed in it. Can anybody help me to find out fost file?

alexh-name commented 6 years ago

BSEC_1.4.6.0_Generic_Release_20180409 seems to be quite different from BSEC_1.4.6.0_Generic_Release_20180323 or older releases. I will have to take some time digging into the changes. Hopefully soon.

I believe that unfortunately noone other then Bosch is allowed to give you the BSEC_1.4.6.0_Generic_Release_20180323, but maybe you could request it from them directly.

alexh-name commented 6 years ago

See https://github.com/BoschSensortec/BME680_driver/issues/25#issuecomment-383820475

ferazambuja commented 6 years ago

There is a bsec_integration.c file in /example, but probably is not the one you need. Does this mean that the "script" is broken for now? I'm trying to use with my UnicornHAT HD :)

pwr33 commented 6 years ago

All I needed to do was make sure the BSEC variable in make.config was pointing to right directory name and your example compiled and works OK, That was for latest BSEC downloaded today BSEC_1.4.6.0_Generic_Release_20180425 so could be a mistake bosch made in that previous release They also seem to have updated the air pressure reading wrong problem in this release.

alexh-name commented 6 years ago

BSEC_1.4.6.0_Generic_Release_20180409 didn't include bsec_integration.c and the structure was quite different over all. The current BSEC_1.4.6.0_Generic_Release_20180425 however follows the previously known structure and seems to be working just fine without any changes. I just updated the config to refer to the newest version. (93951debb6256a22147a047c14263beecf235954)

alexh-name commented 6 years ago

@ferazambuja I'm using a UnicornHAT HD too ;)

img_2525

ferazambuja commented 6 years ago

I will give it a try!