websocket server

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
User avatar
devnull
Posts: 473
Joined: Sat Jan 07, 2017 1:52 am
Location: Singapore / Cornwall
Contact:

websocket server

Post by devnull » Thu May 04, 2017 2:02 am

Does anyone have a working websocket server that I can uses as a starting point to avoid re-inventing the wheel ??

Any code snippets etc gratefully received !

User avatar
deshipu
Posts: 1388
Joined: Thu May 28, 2015 5:54 pm

Re: websocket server

Post by deshipu » Thu May 04, 2017 8:26 am

I think the webrepl may contain a limited websocket server...

User avatar
devnull
Posts: 473
Joined: Sat Jan 07, 2017 1:52 am
Location: Singapore / Cornwall
Contact:

Re: websocket server

Post by devnull » Thu May 04, 2017 9:18 am

Thanks, yes I found that after I posted the message and are able to connect and send from client to server, but at the moment cannot reply from the server and disconnect from the client.

I think that the problem is I am reading the data using readline() and are unable to capture bytes ?!

Post Reply