Post topics, source code that relate to the Arduino Platform

User avatar
By alx
#41021 Hi all,
I'm trying to develop an app on 8266 which connects to Android mobile hotspot. There's no problem connecting and start sending http requests to an app running on Android, but every now and then 8266 says "beacon timeout", drops WiFi connection and reconnects. Does anybody know why, and what can be done about it? My application works with realtime data, so I'm rather sensitive even for a few seconds communication loss.
Below is what happens when connection drops:
Code: Select allbeacon timeout
state: 5 -> 0 (1)
rm 0
pm close 7 0 0/12630665
f 0, Connecting to AP ***, status: 6
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 1
pm open phy_2,type:2 0 0
cnt


Many thanks in advance.