Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By esptomcat
#26338 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
User avatar
By kolban
#26380 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
User avatar
By cnlohr
#26387 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 :-/