Expand description
CDC-ECM (Ethernet Control Model) class implementation, aka raw Ethernet over USB.
Unlike CDC-NCM which batches datagrams into complex NTBs, CDC-ECM transfers raw Ethernet frames directly over USB bulk endpoints (one Ethernet frame per USB transfer).
§Compatibility
Well-supported out of the box on Linux, macOS, Android, and Unix/embedded systems.
Modules§
- embassy_
net embassy-netdriver for the CDC-ECM class.
Structs§
- CdcEcm
Class - CDC-ECM class instance.
- Config
- Configuration for
CdcEcmClass. - Receiver
- Receiver half for the CDC-ECM class.
- Sender
- Sender half for the CDC-ECM class.
- State
- State for the CDC-ECM class.
Constants§
- CDC_
PROTOCOL_ NONE - Default protocol.
- CDC_
SUBCLASS_ ECM - CDC ECM subclass.
- USB_
CLASS_ CDC - USB CDC base class.
- USB_
CLASS_ CDC_ DATA - USB CDC-Data class.