-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Do we have complete RNDIS stack available for STM32 controller in zephyr ? #44573
Comments
RNDIS is supported over USB in Zephyr: https://github.com/zephyrproject-rtos/zephyr/blob/main/subsys/usb/device/class/netusb/function_rndis.c. This is vendor-independent code so as long as STM32 supports USB (it does) then this should work as well. |
Hello @carlescufi thanks for your support. Thanks!! |
I am sorry, I do not really have any insight there. Perhaps @finikorg knows? |
Basically @enthunilu, you can take some networking sample and setup netusb, it can be done with overlay file like: https://github.com/zephyrproject-rtos/zephyr/blob/main/samples/net/sockets/dumb_http_server/overlay-netusb.conf
There is also one configuration for RNDIS left for zperf here: zephyr/samples/net/zperf/sample.yaml Lines 24 to 30 in f9739ab
|
Thank you @carlescufi and @finikorg. This is a great help to start with. :-) |
Just wanted to share I am able to test usb-rndis functionality by using below example code and with some minor changes in code. Thanks again @finikorg for sharing inputs. |
Hey!
Does that mean this board doesn't support netusb and if so how can I fix that? |
Describe the bug
Hi, this is not a bug. I could not find correct option to post this question. So, logging ticket under bug category.
I am looking for integration of RNDIS for my STM32 controller. And I saw RNDIS USB class function available under zephyr subsystem
https://github.com/zephyrproject-rtos/zephyr/tree/main/subsys/usb/device/class/netusb
I am new to this. So, not sure how to understand it and check complete support of RNDIS.
So, I wanted to know does zephyr supports complete stack for RNDIS ?
If yes, where can I get documentation for the same ?
Also, do we have any test environment available to ensure functionality on zephyr ?
My system:
Board: STM32 dev board
Machine: Windows 10
Thanks in advance!!
The text was updated successfully, but these errors were encountered: