Disconnect event got initially after restart or power cycle ESP32 device

Ritesh
Posts: 1365
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Disconnect event got initially after restart or power cycle ESP32 device

Postby Ritesh » Wed Feb 13, 2019 6:58 pm

Hi,

We are using ESP32 IDF 3.1 Stable Release for our application development purpose. Also, We are using STA mode for online communications and AP mode for offline communication.

So, We have did following test into our application.

1) We have set STA configuration as per our router and connected ESP32 to that router
2) set reconnect policy to 60 seconds
3) Do power cycle or ESP32 Device

So, We have observed that initially ESP32 device is generating disconnect on first attempt while connecting ESP32 Device with Router. After that it will try to connect with same Router after 60 seconds of reconnect interval.

So, Do you have any idea like how to resolve that issue like ESP32 device is connected with router into first attempt?

I believe that when ESP32 is going to reboot or power cycle at that time Router won't get any disconnect event so that might be ESP32 device will generate event once it will try to connect STA configured router.

Still, I need proper details ans justification for that.
Regards,
Ritesh Prajapati

Ritesh
Posts: 1365
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: Disconnect event got initially after restart or power cycle ESP32 device

Postby Ritesh » Thu Feb 14, 2019 5:09 pm

Hi Espressif SDK Developer,

Anyone has any idea or information regarding issue which I have posted?
Regards,
Ritesh Prajapati

Ritesh
Posts: 1365
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: Disconnect event got initially after restart or power cycle ESP32 device

Postby Ritesh » Sun Feb 17, 2019 10:29 am

Hi Espressif SDK Developer,

I think this might be known issue which you have fixed recently into ESP32 IDF but I don't know that commit.

Let me correct if I am wrong.
Regards,
Ritesh Prajapati

Who is online

Users browsing this forum: Lvalue, zelenecul and 111 guests