华为畅享20pro鸿蒙系统调用小程序蓝牙api搜索不到蓝牙?
发布于 5 年前 作者 guiyinggao 7597 次浏览 来自 问答

华为畅享20pro,鸿蒙系统,手机蓝牙界面能搜索到蓝牙设备。但是使用微信小程序蓝牙API搜索不到蓝牙设备。

手机的位置服务打开的,微信也允许使用位置信息。

使用:wx.startBluetoothDevicesDiscovery。

报错信息:{"errno":1509009,"errCode":-1,"errMsg":"startBluetoothDevicesDiscovery:fail:location service is disabled","isDiscovering":false}


1 回复

你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

麻烦在手机微信那里上传下日志: 我->设置->帮助与反馈右上角有个上报日志的入口,麻烦提供一下微信号,时间点(具体到分钟)。

回到顶部