2023-10-03 09:21 PM
Board: B-L072Z-LRWAN1
MCU: STM32L072
IDE: STM32CubeIDE
I'm Trying to Implement RNDIS Over USB, Where When USB is Connected to Computer, It should get detected as USB Ethernet Adapter.
On the STM32CubeIDE, I could Implement and Test the VCP(Virtual COM Port) from the Generated Code,
I now Downloaded the Library for RNDIS From GitHub of STM32 (https://github.com/STMicroelectronics/stm32_mw_usb_device ), The Same Generated Code was Modified to use the RNDIS Library(USB_CDC Library was removed), Where I shall Pass the Respective Class/Structure/Variables of RNDIS etc. Post Compilation and Flashing of the Code, System is still detecting it as a VCP Only.
I later Referred to Various Examples from Github where Web Server using RNDIS is hosted to display a webpage on a Static webpage when connected, Which uses RTOS and it's implementation is for STM32F4, Studying the same I tried implementation of RNDIS Using RTOS for STM32L0 and Yet Still again I face the same issue of being identified as VCP. Few Links to which I referred are
Not Sure About where and Why Things weren't working as intended, I moved to Try the Say for USB ECM (Ethernet Control Model) and I'm facing the same issue.
So I have now moved on trying to implement the same using Lwip Library and work is still in progress, I would be glad and happy if someone could guide me on the right path (Including and not limited to sequence of code, Functions to be invoked)and help in it's implementation with any example/references to codes etc.
Thanks in Advance.
2023-10-25 01:25 PM
Maybe the author of that github RNDIS project can help you, try to reach him.
2023-11-15 08:35 PM
@Hana Slimi, Kindly Help on this issue.
To Keep it Short and Summarize.
Kindly Please Help in Fixing it..
All I need is, STM32 User USB should be identified as USB-Ethernet Adapter and I should be able to send Data using Computer to STM32.