embassy-usb

Crates

git

Versions

default

Flavors

Skip to main content

Module host

Module host 

Source
Expand description

CDC-ECM (Ethernet Control Model) host driver.

Enables connecting to USB Ethernet dongles, 4G/LTE cellular modems in ECM mode, and embedded devices running ECM gadget mode. Raw Ethernet frames are transmitted and received directly over USB bulk endpoints.

Modules§

embassy_net
embassy-net driver for the CDC-ECM host class.
filter
Packet filter bitmask flags for SET_ETHERNET_PACKET_FILTER.

Structs§

EcmHost
CDC-ECM USB host driver.
EcmHostReceiver
Host receiver half.
EcmHostSender
Host transmitter half.
EcmInfo
Descriptor-located info for CDC-ECM device.
EcmMatcher
Matcher for CDC-ECM network control interface.

Enums§

EcmError
CDC-ECM host driver error.

Functions§

find_ecm
Parse configuration descriptor to find CDC-ECM interfaces and endpoints.