Skip to content

Zephyr USB-RNDIS #47865

Answered by enthunilu
99003662 asked this question in Q&A
Discussion options

You must be logged in to vote

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…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by 99003662
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area: Networking area: USB Universal Serial Bus
3 participants
Converted from issue

This discussion was converted from issue #47857 on July 15, 2022 16:46.