Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • A pair of Bulk IN and OUT endpoints.

...

Table - CDC EEM Subclass Endpoints Usage describes the usage of the different endpoints:

Anchor
Table - CDC EEM Subclass Endpoints Usage
Table - CDC EEM Subclass Endpoints Usage

Panel
borderWidth0
titleTable - CDC EEM Subclass Endpoints Usage


EndpointDirectionUsage
Bulk InDevice-to-hostSend Ethernet frames and commands to host.
Bulk OUTHost-to-deviceReceive Ethernet frames and commands from host.



CDC EEM Messages

CDC EEM defines a header that is prepended to each message sent to / received from the host. The CDC EEM header has a size of two bytes. A USB transfer on the Bulk endpoints can contain multiple EEM messages. An EEM message can also span on multiple USB transfers. 

Table - CDC EEM Message Format describes the content of a CDC EEM message.

Anchor
Table - CDC EEM Message Format
Table - CDC EEM Message Format

Panel
borderWidth0
titleTable - CDC EEM Message Format


Bytes0..12..N
ContentHeaderPayload (optional)



Table - CDC EEM Header Format describes the content of a CDC EEM header.

Anchor
Table - CDC EEM Header Format
Table - CDC EEM Header Format

Panel
borderWidth0
titleTable - CDC EEM Header Format


Bit1514 .. 0
ContentbmTypeDepends on bmType value



  • bmType represents the message type, either a regular Ethernet frame or a CDC EEM specific command.
Table - CDC EEM Data Header Format describes the content of a CDC EEM data message header.

Anchor
Table - CDC EEM Data Header Format
Table - CDC EEM Data Header Format

Panel
borderWidth0
titleTable - CDC EEM Data Header Format


Bit151413 .. 0
ContentbmType (0)bmCRCLength of Ethernet frame



  • bmCRC indicates if the CRC was calculated on the Ethernet frame. If not, CRC is set to 0xDEADBEEF.


Table - CDC EEM Command Header Format describes the content of a CDC EEM command message header. Note that the EEM commands provide USB local link management. This management is opaque to the network stack.

Anchor
Table - CDC EEM Command Header Format
Table - CDC EEM Command Header Format

Panel
borderWidth0
titleTable - CDC EEM Command Header Format


Bit151413 .. 1110 .. 0
ContentbmType (1)bmReserved (0)bmEEMCmdbmEEMCmdParam



  • bmEEMCmd represents the command code to execute. 
  • bmEEMCmdParam contains command data. Fomat depends on the bmEEMCmd.

...