Hello hihith,
In your source, you changed some code as below, you used 100 instead of get_timestamp_us.
bsec_iot_loop(sleep, 1000, output_ready, state_save, 10000);
get_timestamp_us isn't just 1000, it's function to get some timestamp for getting interval time.
Therefore, you should implement same function for it.
int64_t get_timestamp_us()
{ return (int64_t) millis() * 1000; }
Then, could you please let me know the result?
Thanks,
... View more