oppo R11s找不到蓝牙设备
发布于 4 年前 作者 jhou 6111 次浏览 来自 问答
  • 当前 Bug 的表现(可附上截图)

找不到附近的蓝牙设备

oppo r11s已经开启了蓝牙,定位,微信也获取了定位权限。仍然搜索不到蓝牙设备,该手机不用小程序是可以搜索到外部的蓝牙设备并且连接上的。

  • 预期表现

可以搜索到附近的蓝牙

  • 复现路径
  • 提供一个最简复现 Demo

   wx.openBluetoothAdapter({

     success(res) {

       console.log(res)

       wx.startBluetoothDevicesDiscovery({

         interval: ‘0’,

         success: function (res) {

           console.log(‘找到设备’, res)

           wx.getBluetoothDevices({

             success: function (res) {

               console.log(‘getBluetoothDevices’, res);

             },

             fail: function (res) {

               console.log(‘getBluetoothDevices 失败’, res)

             }

           })

         },

         fail: function (res) {

           console.log(‘未找到设备’, res)

         }

       })

     }

   })

4 回复

目前仅支持低耗蓝牙,建议查看下是否是低耗蓝牙

三星galaxy s8也搜不到设备,这是什么问题,官方有解释吗?试了开启蓝牙和定位,都不行~

我现在也遇到这个问题,你有解决吗?解决可以说下方法?

搜索后,直接用蓝牙的mac地址连接试试

回到顶部