Why wifi long disconnect and then re-connect will appear problems?

BearPeak
Posts: 15
Joined: Fri Jul 21, 2017 3:48 am

Why wifi long disconnect and then re-connect will appear problems?

Postby BearPeak » Tue Aug 01, 2017 7:41 am

My project idf is RTOS-v2.0-rc1,and hardware is ESP-WROOM-32.
In my project,the chip wifi is set STA mode to connect phone's hot spots.
When the wifi is connect the phone's hot spots,and transfer sendto() to send data,it is normal work.
But when i turn off phone's hot spots,and wait a few minutes.The problem appeared when open phone's hot spots to reconnect it.It can't normal work just print "wifi: pm start 1 ...".The probability of such a problem is less,but for a product is not allow.Have you everybody encountered this problem?
The wifi code is refer to the official example,Is it due to the cause of the sendto() function?

Who is online

Users browsing this forum: No registered users and 122 guests