arduinoWebSockets
arduinoWebSockets copied to clipboard
Support for ESP32 + W5500 ?
Hi, Does support this library also ESP32 with W5500 ethernet module? Thank for great websocket lib!
I do not own a W5500,
but since the API is the same (Ethernet.h
) as for the W5100 you can try to set the
WEBSOCKETS_NETWORK_TYPE
define to NETWORK_W5100
.
Having issue with WEBSOCKETS_NETWORK_TYPE define to NETWORK_W5100, here is the error Arduino/libraries/WebSockets/src/WebSocketsClient.cpp: In member function 'void WebSocketsClient::loop()': /home/zzzzz/Arduino/libraries/WebSockets/src/WebSocketsClient.cpp:266:77: error: no matching function for call to 'EthernetClient::connect(const char*, uint16_t&, int)' if(_client.tcp->connect(_host.c_str(), _port, WEBSOCKETS_TCP_TIMEOUT)