-
HI team, Can you please help me to figure it out. Note - Am using windows system , board - STM32 board. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hello @99003662 I also faced the same issue. Please try this at your end if it works, as
with above change i tried to use below example and I am able to see device getting detected as RNDIS device However, functionality is still not working. So, I am looking at it. Can you also try the same at your end ? One more thing device is not getting detected for as mentioned in https://github.com/zephyrproject-rtos/zephyr/issues/44573 For this you need to enable USB, something like below code along with existing ethernet code. Unless we enable usb, device will not be shown
|
Beta Was this translation helpful? Give feedback.
-
There is a possibility to use USB OS Descriptors like described here: https://static.sched.com/hosted_files/osseu19/6a/WYOG-eng-v15.pdf |
Beta Was this translation helpful? Give feedback.
Hello @99003662
I also faced the same issue.
Please try this at your end if it works,
I tried to change rndis_cfg structure available in the below code
https://github.com/zephyrproject-rtos/zephyr/blob/main/subsys/usb/device/class/netusb/function_rndis.c
as
USBD_CLASS_DESCR_DEFINE(primary, 0) struct usb_rndis_config rndis_cfg = { .iad = { .bLength = sizeof(struct usb_association_descriptor), .bDescriptorType = USB_DESC_INTERFACE_ASSOC, .bFirstInterface = 0, .bInterfaceCount = 0x02, .bFunctionClass = 0xEF, //USB_BCC_CDC_CONTROL, .bFunctionSubClass = 4, //6, .bFunctionProtocol = 1, //0, .iFunction = 0, }, /* Interface descriptor 0 */ /* CDC Communication interface */ .if0 = { .bLength = siz…