embassy-usb

Crates

git

Versions

default

Flavors

Module cdc_ncm

Source
Expand description

CDC-NCM class implementation, aka Ethernet over USB.

§Compatibility

Windows: NOT supported in Windows 10 (though there’s apparently a driver you can install?). Supported out of the box in Windows 11.

Linux: Well-supported since forever.

Android: Support for CDC-NCM is spotty and varies across manufacturers.

Modules§

embassy_net
embassy-net driver for the CDC-NCM class.

Structs§

CdcNcmClass
CDC-NCM class
Receiver
CDC NCM class packet receiver.
Sender
CDC NCM class packet sender.
State
Internal state for the CDC-NCM class.

Constants§

USB_CLASS_CDC
This should be used as device_class when building the UsbDevice.