调用startBluetoothDevicesDiscovery找不到设备
发布于 5 年前 作者 juan00 1962 次浏览 来自 问答

代码片段:

wx.openBluetoothAdapter

success: function (res) {

setTimeout(function () {

wx.startBluetoothDevicesDiscovery({

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

测试机:荣耀v10

对比iPhone 6没有这个问题

回到顶部