The USB CDC is no modem and does not use the AT protocol
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
This commit is contained in:
parent
42f590ce0b
commit
d4dc3b2717
|
@ -144,7 +144,7 @@ static const struct usb_interface_descriptor gdb_comm_iface[] = {{
|
|||
.bNumEndpoints = 1,
|
||||
.bInterfaceClass = USB_CLASS_CDC,
|
||||
.bInterfaceSubClass = USB_CDC_SUBCLASS_ACM,
|
||||
.bInterfaceProtocol = USB_CDC_PROTOCOL_AT,
|
||||
.bInterfaceProtocol = USB_CDC_PROTOCOL_NONE,
|
||||
.iInterface = 4,
|
||||
|
||||
.endpoint = gdb_comm_endp,
|
||||
|
@ -174,7 +174,7 @@ static const struct usb_iface_assoc_descriptor gdb_assoc = {
|
|||
.bInterfaceCount = 2,
|
||||
.bFunctionClass = USB_CLASS_CDC,
|
||||
.bFunctionSubClass = USB_CDC_SUBCLASS_ACM,
|
||||
.bFunctionProtocol = USB_CDC_PROTOCOL_AT,
|
||||
.bFunctionProtocol = USB_CDC_PROTOCOL_NONE,
|
||||
.iFunction = 0,
|
||||
};
|
||||
|
||||
|
@ -247,7 +247,7 @@ static const struct usb_interface_descriptor uart_comm_iface[] = {{
|
|||
.bNumEndpoints = 1,
|
||||
.bInterfaceClass = USB_CLASS_CDC,
|
||||
.bInterfaceSubClass = USB_CDC_SUBCLASS_ACM,
|
||||
.bInterfaceProtocol = USB_CDC_PROTOCOL_AT,
|
||||
.bInterfaceProtocol = USB_CDC_PROTOCOL_NONE,
|
||||
.iInterface = 5,
|
||||
|
||||
.endpoint = uart_comm_endp,
|
||||
|
@ -277,7 +277,7 @@ static const struct usb_iface_assoc_descriptor uart_assoc = {
|
|||
.bInterfaceCount = 2,
|
||||
.bFunctionClass = USB_CLASS_CDC,
|
||||
.bFunctionSubClass = USB_CDC_SUBCLASS_ACM,
|
||||
.bFunctionProtocol = USB_CDC_PROTOCOL_AT,
|
||||
.bFunctionProtocol = USB_CDC_PROTOCOL_NONE,
|
||||
.iFunction = 0,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue