There's a bug open for it here - while you could hack something up in JS you'd basically be creating your own web server from scratch.
It's much better if it's built into the Espruino firmware itself. I pasted some code there that does most of what's needed to enable WebSockets, minus the SHA1.
However, there's also a branch (AES) on GitHub which contains mbedtls, which contains a SHA1 implementation. At some point I'll expose that and then WebSockets can be enabled easily - but it's probably easiest to wait until that happens.
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.
There's a bug open for it here - while you could hack something up in JS you'd basically be creating your own web server from scratch.
It's much better if it's built into the Espruino firmware itself. I pasted some code there that does most of what's needed to enable WebSockets, minus the SHA1.
However, there's also a branch (AES) on GitHub which contains
mbedtls
, which contains a SHA1 implementation. At some point I'll expose that and then WebSockets can be enabled easily - but it's probably easiest to wait until that happens.