Yes, websockets have been asked for a bit - they could be implemented in socketserver.c in a way that worked for all internet connection types on Espruino.
Also all the work could be done and tested with a pure linux desktop build so it's actually not too hard for someone else to do, it's just that nobody has done it yet.
Unfortunately I have a pretty big To Do list, and that's not really that near the top of it at the moment. To me, they don't really add a great deal. Sure, you get a UI with a button that can do stuff in 10ms and not 200ms - but apart from toy examples, I'm not sure how many real-world things that lets you do that couldn't have been done with HTTP.
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.
Yes, websockets have been asked for a bit - they could be implemented in
socketserver.c
in a way that worked for all internet connection types on Espruino.Also all the work could be done and tested with a pure linux desktop build so it's actually not too hard for someone else to do, it's just that nobody has done it yet.
Unfortunately I have a pretty big To Do list, and that's not really that near the top of it at the moment. To me, they don't really add a great deal. Sure, you get a UI with a button that can do stuff in 10ms and not 200ms - but apart from toy examples, I'm not sure how many real-world things that lets you do that couldn't have been done with HTTP.