I'm trying to figure out how to hook-up the IDE to the esp8266 via wifi. I did try it out using setConsole() and LoopbackA/B and that's very cool, but what I'm really looking for is something that always works. I.e., I want this to work through resets, reboots, even reflashing with a device that is 1000 miles away (or just in an inconvenient location up in the attic). I'm pretty convinced that I need to implement the server socket code in C and then hook that up as a console. Might the best way to do that be to add a device like USBSerial, e.g. WifiSerial? Or maybe hijack USBSerial? Thoughts?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I'm trying to figure out how to hook-up the IDE to the esp8266 via wifi. I did try it out using setConsole() and LoopbackA/B and that's very cool, but what I'm really looking for is something that always works. I.e., I want this to work through resets, reboots, even reflashing with a device that is 1000 miles away (or just in an inconvenient location up in the attic). I'm pretty convinced that I need to implement the server socket code in C and then hook that up as a console. Might the best way to do that be to add a device like USBSerial, e.g. WifiSerial? Or maybe hijack USBSerial? Thoughts?