Websocket for arduino
Posted: Wed Nov 19, 2014 7:09 am
Hello,
I try to made a Websocket for Arduino. This because it's a good way to communicate with a app Android / Ios / ..... Every html5 browser.
I'm able to send (short) messages from http://www.websocket.org/echo.html to my arduino. But when I send it the other way arround to the websocket I got the error:
WebSocket connection to 'ws://192.168.1.101:8000/?encoding=text' failed: One or more reserved bits are on: reserved1 = 0, reserved2 = 1, reserved3 = 1
When well working I'm going to try to implement it in the ESP firmware itself...
https://github.com/zoutepopcorn/esp8266-Websocket
Maybe someone can take a fresh look at it?
Thanks
I try to made a Websocket for Arduino. This because it's a good way to communicate with a app Android / Ios / ..... Every html5 browser.
I'm able to send (short) messages from http://www.websocket.org/echo.html to my arduino. But when I send it the other way arround to the websocket I got the error:
WebSocket connection to 'ws://192.168.1.101:8000/?encoding=text' failed: One or more reserved bits are on: reserved1 = 0, reserved2 = 1, reserved3 = 1
When well working I'm going to try to implement it in the ESP firmware itself...
https://github.com/zoutepopcorn/esp8266-Websocket
Maybe someone can take a fresh look at it?
Thanks