Description
Many users ask for support in various boards, supporting only esp8266 and esp32 is not enough and could take the library a big step forward.
A possible solution could be a generic client that uses the Arduino Client interface and can work with anything provided by the user.
This might require deep reworks, and it should be considered. Alternatively it is possible to patch things around.
This is surely a big deal, and hopefully everyone reading this issue and wanting to contribute will watch for future changes and give their opinion on it, hopefully with the many people already using the library, the development process will be more collaborative.
Adding Support For a New Board
Implement the interfaces TcpClient
and TcpServer
for your board. Here is an example implementation of esp32 client and server (client uses this generic esp code)
Register it in ws_common.hpp
. Meaning: add a #elif defined
for your board.
This is the process generally, once you've done that keep looking at ws_common.hpp
, it has most of the board-specific #define
s.
I'm also happy to help here or on a new issue / email.
Gil.