提交 4c4558b9 编写于 作者: Q quanli 提交者: 权力
上级 ca54a03f
...@@ -125,6 +125,7 @@ describe('bluetoothBLETest', function() { ...@@ -125,6 +125,7 @@ describe('bluetoothBLETest', function() {
console.info('[bluetooth_js] gattClient connect' + ret) console.info('[bluetooth_js] gattClient connect' + ret)
expect(ret).assertTrue(); expect(ret).assertTrue();
gattClient.disconnect(); gattClient.disconnect();
await sleep(2000);
await gattClient.off("BLEConnectionStateChange"); await gattClient.off("BLEConnectionStateChange");
done() done()
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册