Azure / azure-iot-arduino

Azure IoT library for the Arduino
Other
168 stars 95 forks source link

Device Disconnects from IOT Hub after 1 hr #85

Closed jagpreetstamber closed 4 years ago

jagpreetstamber commented 5 years ago

I am using ESP8266 device with device twins over MQTT protocol.

I am sending the reported state using IoTHubClient_LL_SendReportedState, Also registered call back for desired properties.

Everything works fine till approx 1 hr, then the device disconnects from IOT hub, It does not receive the changes in desired state, also it does not send the reported properties. No failure comes on device while sending the reported properties, but nothing happens.

I am calling IoTHubClient_LL_DoWork every 100 ms

jbobotek commented 4 years ago

Please try the latest libs. Let us know if your problem still persists!