espressif/esp-azure

Device disconnects after ~49 days online (CA-138)

SeriousD opened this issue · 0 comments

Hello,
I am using this azure intergration in production and noticed that the devices disconnect after ~49 days. I think the problem lies in the implementation of tickcounter_get_current_ms, since the 32 bit value overflows after this time.

Is there any way to fix this behaviour?

I am using commit 6c17e3a64c02eff3a4f726ce4b7248ce11810833 for ESP-IDF and commit b67efd7 for esp-azure.

Greetings
SeriousD