调用startBluetoothDevicesDiscovery找不到设备

发布于 7 年前作者 juan002068 次浏览最后编辑 7 年前来自 ask

代码片段:

wx.openBluetoothAdapter

success: function (res) {

setTimeout(function () {

wx.startBluetoothDevicesDiscovery({

开启适配器(openBluetoothAdapter)成功后,延迟200ms执行startBluetoothDevicesDiscovery,返回成功时,再延迟200ms执行getBluetoothDevices,没有发现设备

测试机:荣耀v10

对比iPhone 6没有这个问题

0 回复
暂无回复