未验证 提交 4d4cea28 编写于 作者: K king_he 提交者: Gitee

update en/device-dev/subsystems/subsys-usbservice-guide.md.

Signed-off-by: Nking_he <6384784@qq.com>
上级 902cb0f9
...@@ -43,10 +43,11 @@ ret = g_usbClient.ClaimInterface(pip, interface, true); ...@@ -43,10 +43,11 @@ ret = g_usbClient.ClaimInterface(pip, interface, true);
```cpp ```cpp
srvClient.BulkTransfer(pipe, endpoint, vdata, timeout); srvClient.BulkTransfer(pipe, endpoint, vdata, timeout);
``` ```
- **pipe** indicates the pipe for data transfer of the USB device opened. Parameter description:
- **endpoint** indicates the endpoint for data transfer on the USB device. - **pipe**: pipe for data transfer of the USB device opened.
- **vdata** indicates the binary data block to be transferred or read. - **endpoint**: endpoint for data transfer on the USB device.
- **timeout** indicates the timeout duration of data transfer. - **vdata**: binary data block to be transferred or read.
- **timeout**: timeout duration of data transfer.
7. Close the USB device. 7. Close the USB device.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册