Versions Compared

Key

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

...

Mass storage commands are sent by the host through a structure called the Command Block Wrapper (CBW). For commands requiring a data transport stage, the host will attempt to send or receive the exact number of bytes from the device as specified by the length and flag fields of the CBW. After the data transport stage, the host attempts to receive a Command Status Wrapper (CSW) from the device detailing the status of the command as well as any data residue (if any). For commands that do not include a data transport stage, the host attempts to receive the CSW directly after CBW is sent. The protocol is detailed in Figure - MSC Protocol.

Anchor
Figure - MSC Protocol
Figure - MSC Protocol

Panel
borderWidth0
titleFigure - MSC Protocol

MSC ProtocolImage Added


Endpoints

On the device side, in compliance with the BOT specification, the MSC is composed of the following endpoints:

...