Disabling a characteristic notification does not work correctly. It's disabled locally (gatt.setCharacteristicNotification(characteristic, false)) but the descriptor value written to the BLE device is not correct (ENABLE_NOTIFICATION_VALUE instead of DISABLE_NOTIFICATION_VALUE).
Disabling a characteristic notification does not work correctly. It's disabled locally (
gatt.setCharacteristicNotification(characteristic, false)
) but the descriptor value written to the BLE device is not correct (ENABLE_NOTIFICATION_VALUE
instead ofDISABLE_NOTIFICATION_VALUE
).This is a fix.