Thanks! Were you using the latest (Git) builds of Espruino? The current (1v84) version had a bug where it didn't sent the header immediately (why you needed the write("")).
Still, if that fixed it for everyone without needing a tweaked firmware it's probably worth putting in the main websockets code :)
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.
Thanks! Were you using the latest (Git) builds of Espruino? The current (1v84) version had a bug where it didn't sent the header immediately (why you needed the
write("")
).Still, if that fixed it for everyone without needing a tweaked firmware it's probably worth putting in the main websockets code :)