You are reading a single comment by @Stevie and its replies.
Click here to read the full conversation.
-
@Gordon, I have tested it with 3 different modules, always the same. I stripped down to pretty much the example code, still had that. But I heard the same also from others. It is sufficient to reset the ESP to "heal" the problem, so I am pretty sure it is not Espruino.
+1 for a way to update the firmware!
@Eric to get a server, you just replace the
require("http").get(...
line withrequire("http").createServer
. There's an example here and a bit more info on the internet page.The actual code should look a bit like this though:
@Stevie, yes the ESP8266 is a little unreliable as a server at the moment (I'm surprised about the 300 requests for a client though - I've left one going for days without problems). I'm hoping I can do something in the driver to make the server more reliable - but it may be that I have to come up with a way to update the firmware on the ESP8266...