-->
Page 1 of 2

WebSocket Server

PostPosted: Tue Aug 18, 2015 4:32 am
by esptomcat
I started work to get a WebSocket Server running on the ESP2866 Board:

https://github.com/ghtomcat/ArduinoWebsocketServer

It's a mashup of two existing Arduino libraries

What works:

Initialization
Sending messages from client to Server
Sending direct messages to one client

What doesn't work (yet):

Sending broadcast messages by the server

Re: WebSocket Server

PostPosted: Tue Aug 18, 2015 10:18 am
by cnlohr
Gah, you were ahead of posting what I did by just a hair, though admittedly mine is more for the native and stripped down end instead of the arduino end.

https://www.youtube.com/watch?v=8ISbmQTbjDI

Maybe we could work together, though I'm not quite sure how...

Re: WebSocket Server

PostPosted: Tue Aug 18, 2015 11:27 am
by kolban
Howdy guys,
I'd probably suggest getting with @Igrr and see if we can't combine the work into the common Arduino ESP libraries.

Did I sense an overlap in work intents here? Both of you were chasing the same goal (WebSockets)?

What if we created a "brokerage" where we could list projects in flight and thus could find out if there were duplicates of what we were working on and thus could collaborate?


Later ... I came across this as well ...

https://github.com/Links2004/arduinoWebSockets

How do y'alls projects stack up against this one? It feels disappointing that we might not be collaborating with each other ...?

Neil

Re: WebSocket Server

PostPosted: Tue Aug 18, 2015 12:44 pm
by cnlohr
It looks like my thing is less ... complete implementation, though I do provide much more stuff surrounding the websockets in the web browser to make the most of the connection.

For instance, I do not support ping or binary sockets. But, I specifically don't support binary sockets because on some devices I tested with, they couldn't figure out how to deal with them.

I don't know how one would do a projects-in-flight thing, though since normally, I think I don't like talking about my ideas until I know if they'll work or not :-/