Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use wired solution with Wiznet module on teensy #52

Open
stephanschulz opened this issue Nov 25, 2019 · 3 comments
Open

use wired solution with Wiznet module on teensy #52

stephanschulz opened this issue Nov 25, 2019 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@stephanschulz
Copy link

Your library looks great. It seems to be more updated than
https://github.com/PaulStoffregen/ArduinoWebsocketClient

I am hoping to use Websocket through the wizen module on a teensy 3.2 (Arduino compatible micro controller).
But the library I am currently using does not support SEC-Key but it looks yours does.

Do you think it would be possible to add support for the wiznet ethernet module?
Your wifi solution is great but I find a wired solution more secure for long term installations.

Thanks for any advice.

@stephanschulz stephanschulz changed the title use wired solution with Wizen module on teensy use wired solution with Wiznet module on teensy Nov 25, 2019
@adelin-mcbsoft
Copy link
Contributor

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.

@gilmaimon
Copy link
Owner

gilmaimon commented Nov 26, 2019

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.

@stephanschulz
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants