01-31-2022 07:39 PM
hello
is there a mean to reduce the delay between 2 bsec_sensor_control calls.
in my case the delay is almost acceptable for about 50 seconds ( 27ms between each call of bsec_sensor_control) , after that the delay for the next call will be 1min50s.
regards.
Zakaria
Solved! Go to Solution.
01-31-2022 11:36 PM - edited 01-31-2022 11:37 PM
Hello,
Are you using BSEC 2 right?
If you are developing based on BSEC 1, I'd like to recommend to use BSEC 2.
https://github.com/BoschSensortec/Bosch-BSEC2-Library
And, bsec_sensor_control is controlled by power mode. You can't control manually.
If you are using BSEC_SAMPLE_RATE_LP mode, it will be called every 3s. In case of BSEC_SAMPLE_RATE_ULP, it will be 300s.
If you want to call more frequently, there is high performance mode. BSEC_SAMPLE_RATE_HIGH_PERFORMANCE
Thanks,
02-01-2022 01:53 PM
hello
thanks for the message.
i am using BSEC_2.0.6.1_Generic_Release_04302021.
i will try the version you proposed.
Regards.
Zakaria