espressif / esp-rainmaker

ESP RainMaker Agent for firmware development
Apache License 2.0
432 stars 145 forks source link

RMaker Agent connection to Rmaker Cloud (MEGH-4069) #203

Open atanudasgupta opened 1 year ago

atanudasgupta commented 1 year ago

At times the RMaker agent on the device loses connection to the cloud and does not reconnect, it could be due to the service provider rotates the dynamic IP addresses.

How do I check from the esp32 device that the connection is still on with RMaker cloud?

If I can detect the disconnection I can do RMakerWifiReset() and resolve this.

Using Arduino IDE with RMaker

sanketwadekar commented 1 year ago

Hi @atanudasgupta, Does this comment solve your issue ?

shahpiyushv commented 1 year ago

@atanudasgupta , meanwhile, is the issue really about MQTT disconnect or Wi-Fi disconnect?

atanudasgupta commented 1 year ago

HI Piyush, It is about Wifi disconnect, when the broadband provider changes the dynamic IP allocations. I see disconnect from the device to the cloud. regards,Atanu

Atanu Dasgupta, Phone : +91 9901756756 Skype ID : @.***

On Tuesday, December 6, 2022 at 02:19:30 PM GMT+5:30, Piyush Shah ***@***.***> wrote:  

@atanudasgupta , meanwhile, is the issue really about MQTT disconnect or Wi-Fi disconnect?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

atanudasgupta commented 1 year ago

Hi Sanket,I am using Ardruino IDE, will these header files given the example work?

regards,Atanu

Atanu Dasgupta, Phone : +91 9901756756 Skype ID : @.***

On Tuesday, December 6, 2022 at 09:10:15 AM GMT+5:30, Sanket Wadekar ***@***.***> wrote:  

Hi @atanudasgupta, Does this comment solve your issue ?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>