when attempting to follow the websocket client example at http://www.espruino.com/ws, i get errors on the server (running node.js on a windows10 laptop) as:
RangeError: Invalid WebSocket frame: RSV1 must be clear
When I modify the code to use the npm ws client on the laptop, it works fine.
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.
when attempting to follow the websocket client example at http://www.espruino.com/ws, i get errors on the server (running node.js on a windows10 laptop) as:
RangeError: Invalid WebSocket frame: RSV1 must be clear
When I modify the code to use the npm ws client on the laptop, it works fine.
server:
node 8.9.4,
"dependencies": {
}
espruino wifi client:
1v97
output on the repl is