未验证 提交 1dd95c88 编写于 作者: O openharmony_ci 提交者: Gitee

!16839 OpenHarmony-3.2-Release

Merge pull request !16839 from 王易朋/OpenHarmony-3.2-Release
......@@ -136,8 +136,6 @@ USB设备可作为Host设备连接Device设备进行数据传输。开发示例
usb.bulkTransfer(pipe, inEndpoint, dataUint8Array, 15000).then(dataLength => {
if (dataLength >= 0) {
console.info("usb readData result Length : " + dataLength);
let resultStr = this.ab2str(dataUint8Array); // uint8数据转string。
console.info("usb readData buffer : " + resultStr);
} else {
console.info("usb readData failed : " + dataLength);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册