陈奇
2018-12-07 4203968ed148a7e56ab460c8d6edb744cb1645e4
FastBleLib/src/main/java/com/clj/fastble/bluetooth/BleBluetooth.java
@@ -435,7 +435,6 @@
                Map.Entry entry = (Map.Entry) iterator.next();
                Object call = entry.getValue();
                if (call instanceof BluetoothGattCallback) {
                    gatt.requestMtu(64);
                    ((BluetoothGattCallback) call).onServicesDiscovered(gatt, status);
                }
            }
@@ -476,6 +475,7 @@
                Map.Entry entry = (Map.Entry) iterator.next();
                Object call = entry.getValue();
                if (call instanceof BluetoothGattCallback) {
                    gatt.requestMtu(64);
                    ((BluetoothGattCallback) call).onCharacteristicChanged(gatt, characteristic);
                }
            }
@@ -484,7 +484,6 @@
        @Override
        public void onDescriptorRead(BluetoothGatt gatt, BluetoothGattDescriptor descriptor, int status) {
            BleLog.i("BleGattCallback:onDescriptorRead ");
            Iterator iterator = callbackHashMap.entrySet().iterator();
            while (iterator.hasNext()) {
                Map.Entry entry = (Map.Entry) iterator.next();