安卓Android低功耗蓝牙BLE连接异常报错133
之前连接一直好好的,不知道为什么今天突然就连接不了蓝牙了,报错133,按照
找网上的说明总是说清除GATT缓存,其实并不是我的问题,最后看到这里https://softs.im/android-ble-%e8%bf%9e%e6%8e%a5%e9%94%99%e8%af%af133/
有如下说明:
情形2:
connectGatt 时 没有使用 BluetoothDevice.TRANSPORT_LE 参数
我做如下尝试,修改连接函数方式:
//发起GATT服务连接,操作结果将在bluetoothGattCallback回调中响应//mBluetoothGatt = device.connectGatt(this, false, bluetoothGattCallback);mBluetoothGatt = device.connectGatt