Networking for Arduino (Ethernet over USB, RNDIS, ECM, NCM) possible? #517
Unanswered
TheRealSunnyalex
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Brief: is there a way to get the RNDIS or NCM class of TinyUSB running for Arduino? Is there a reason why these are not supported by the Arduino version of TinyUSB library (whereas WebUSB is supported)?
Long:
I just recently purchased an RP2350 board (pico 2W).
My final goal is to "host" a website on that device, make that device "register" at a Win 11 PC as some sort of Network Interface via USB and then being able to exchange data with the device via a Webbrowser.
I stumbled on Adafruit TinyUSB library, which should be able to achieve what I want with either RNDIS or NCM (I am not familiar with either of them, I only read that RNDIS is not recommended for new projects).
I also have the RPi debug probe.
Initially I started coding for that RP2350 with VS Code. However, frankly speaking, I was not able to get the TinyUSB library running (I found no "tutorial" or "example" simple enough to guide me through integrating that library into a project for the RP2350).
I then noticed that RP2350 can also be programmed by Arduino IDE and I noticed that there is an Arduino version of TinyUSB library.
Things started good and I got the WebUSB example running without any issues. Just then I noticed, none of the "Networking" USB device classes appear to be supported in the Arduino version of TinyUSB.
Is there a reason for that?
Will they be eventually supported in the future?
Is it possible to "manually" get them running?
Or do I have to revert back to VS Code and try my luck there?
Your feedback is very much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions