Thanks for the responses. I'll continue using Telnet as the workaround. It's tricky because I'm working on something that'll connect to any available AP, so it's not always easy to get a Telnet connection to the board when it's gallivanting on various hotspots.
I guess I should add a fallback mode where it will fire up the ESP AP mode at some point to allow me back in. I've been stuck with reflashing the device several times when I couldn't get back to the console to send new code.
You could set up to watch the flash button on the board, and when this is pressed, reinstate the console back to serial...., or a long press or double press to turn on the access point.
© Espruino, powered by microcosm.
Report a problem