手机蓝牙已打开,openBluetoothAdapter报10001

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

手机蓝牙已打开,openBluetoothAdapter调用失败,报错errCode:10001        errMsg:openBluetoothAdapter:fail open fail            state:4。另外这个state:4是什么意思,文档没有找到。只是概率出现,IOS出现较多一点。

1 回复
hdong
hdong1 楼5 年前
10001not available当前蓝牙适配器不可用

你好,请提供一下出现问题的机型和微信版本,以及能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。