khoih-prog / WebSockets2_Generic

A WebSocket Server and Client library for Arduino, based on RFC6455, for writing modern Websockets applications. Now support ESP8266, ESP32 (including ESP32-S2 Saola, AI-Thinker ESP-12K, WT32_ETH01, etc.), nRF52, SAMD21, SAMD51, SAM DUE, STM32F/L/H/G/WB/MP1, Teensy, RP2040-based, etc. boards, with WiFiNINA, Teensy 4.1 NativeEthernet/QNEthernet, Ethernet W5x00 / ENC28J60 / LAN8742A / LAN8720, ESP8266 / ESP32-AT modules/shields, as well as SINRIC / Alexa / Google Home
GNU General Public License v3.0
81 stars 30 forks source link

WebSockets2_Generic on Mega2560 with w5100 ethernet shield #28

Closed TE-2 closed 3 years ago

TE-2 commented 3 years ago

Hello! Is it possible to run this library on a Mega2560 with w5100 ethernet shield? I want to set up my Alexa Gateway with Sinric over Lan.

I cannot find a working example for my setup and always get a compatibility error ("This code is intended to run on...").

Thanks in Advance!

khoih-prog commented 3 years ago

As you've already tried and found out, too-old and resource-constraint Mega2560 is and will not be supported.

I suggest you use the more powerful and much cheaper ESP32/ESP8266 or WT32_ETH01 (ESP32 + LAN8720) for your purpose.

Good Luck,