Coder Social home page Coder Social logo

Comments (3)

stephanschulz avatar stephanschulz commented on July 24, 2024 2

Thanks for those tips.
I will certainly give it a try and keep everyone updated here.

from arduinowebsockets.

adelin-mcbsoft avatar adelin-mcbsoft commented on July 24, 2024 1

Yeah, WebSockets for wired Ethernet Shield (W5100, WizNet W5500 or ENC28j60) for MCUs like ATMega2560, AMtel328p or Cortex M0 would be a great idea!
We could donate some boards if needed for research & testing.

from arduinowebsockets.

gilmaimon avatar gilmaimon commented on July 24, 2024

Hi guys,

As you know, currently the library only supports esp32 and esp8266. Adding support for other boards is not very complicated, but it does take time, which I don't have plenty of.

I can however describe the process and let you try adding support for it yourselvs, If it works for you, you can consider donating it to the library. The process is:

  1. 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)
  2. Register it in ws_common.hpp. Meaning: add a #elif defined for your board.

This is the process generally, some experimination is required for sure.

Honestly, it is not likely that I will start adding support for other boards myself. I'm currently a solo maintainer for this library. more boards means more platform specific bugs and issues. Buying the boards is not the issue :)

Gil.

from arduinowebsockets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.