I'm using Javascript ,Websocket to simulate webrepl to connect to micropython(esp8266) on my android phone. It works fine but after the android phone screen turns off or switches to another app(not close browser), when I come back , I get a Connection timed out error, if I try to connect again, I just get a Disconnected message.I have to reboot esp8266 to connect again.
Any solution for this?
Thanks,
Jerry
webrepl timeout issue
-
- Posts: 5
- Joined: Wed Jan 20, 2021 9:12 pm
Re: webrepl timeout issue
I found a solution. Adding a timer to check if webrepl is getting messages. 
