BLE disconnect. Gatt error 133
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
connectDevice.connectGatt(context, Consts.autoConnect, gatt_callback, BluetoothDevice.TRANSPORT_LE);
}else {
connectDevice.connectGatt(context, Consts.autoConnect, gatt_callback);
}
沒有留言:
張貼留言