startBluetoothDevicesDiscovery

startBluetoothDevicesDiscovery

{"errno": 1509008, "errCode": -1, "errMsg": "startBluetoothDevicesDiscovery:fail:location permission is denied", "isDiscovering": false}

主要原因部分微信版本获取蓝牙需要定位信息

"permission" : {
    "scope.userLocation" : {
        "desc" : "授权定位有助于提高蓝牙水表的连接成功率"
    }
},

需要新增定位权限