Hello Bosch-Community,
I'm using the reference-code with bme680_task.c which was recommended here for my STM32L4P. After a little more than one hour my BME680 stops blinking, which indicates that it stopped measuring. Analyzing the code, he's stuck in a HAL_Delay. I was wondering if
int64_t time_stamp = 0;
[...]
sleep((uint32_t)time_stamp_interval_ms);
should actually be uint64_t? So far it didn't resolve my issues yet.
Also my IAQ_Accurarcy resets after each transmission via LoRaWAN, though every variable is declared as static and is not reset. Could it be, that they are also timestamp issues here? It's hard to resolve the issues on it's own when the functions needed are hidden in another libary.
Thank you in advance.
Sincerely
Crackl1ng