I'm trying to setup a websocket server on a ESP8266.
I have wifi connection, http requests work, WS connection looks okay (right headers and chrome send the first frame).
The problem I have is that it do not look like the event for "websocket" is triggered i.e. i dont ge the ws object and no data.
I have looked at different examples on the net, but cant figure out what I do wrong so any suggestions are welcome.
1 Attachment
@Fredrik started
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.
I'm trying to setup a websocket server on a ESP8266.
I have wifi connection, http requests work, WS connection looks okay (right headers and chrome send the first frame).
The problem I have is that it do not look like the event for "websocket" is triggered i.e. i dont ge the ws object and no data.
I have looked at different examples on the net, but cant figure out what I do wrong so any suggestions are welcome.
1 Attachment