esp-azure icon indicating copy to clipboard operation
esp-azure copied to clipboard

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

Open SeriousD opened this issue 3 years ago • 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 b67efd790d0475169cbf7cabbd63edccc7720a9f for esp-azure.

Greetings SeriousD

SeriousD avatar May 18 '21 19:05 SeriousD