Merge branch 'contrib/github_pr_11113' into 'master'

Fix usb enumeration stage error for some device (GitHub PR)

Closes IDFGH-9778

See merge request espressif/esp-idf!23233
This commit is contained in:
Darian
2023-04-19 02:19:26 +08:00
2 changed files with 5 additions and 3 deletions

View File

@@ -86,7 +86,7 @@ Therefore, in addition to the client tasks, the Host Library also requires a tas
Devices
^^^^^^^
The Host Library hides the details of device handling (such as connection, memory allocation, and enumeration) from the clients. The clients are provided only with a list of already connected and enumerated devices to choose from. During enumeration, each device is configured to use configuration 1.
The Host Library hides the details of device handling (such as connection, memory allocation, and enumeration) from the clients. The clients are provided only with a list of already connected and enumerated devices to choose from. During enumeration, each device is automatically configured to use the first configuration found (i.e., the first configuration descriptor returned on a Get Configuration Descriptor request). For most standard devices, the first configuration will have a ``bConfigurationValue`` of ``1``.
It is possible for a two or more clients to simultaneously communicate with the same device as long as they are not communicating to the same interface. However, multiple clients can simultaneously communicate with the same device's default endpoint (EP0), which will result in their control transfers being serialized.