Stub for device notification changes

master
cpfeiffer 2015-06-18 23:07:22 +02:00
parent cb3be26349
commit 83079b0456
1 changed files with 4 additions and 2 deletions

View File

@ -416,8 +416,10 @@ public class MiBandSupport extends AbstractBTLEDeviceSupport {
if (MiBandService.UUID_CHARACTERISTIC_ACTIVITY_DATA.equals(characteristicUUID)) {
handleActivityNotif(characteristic.getValue());
} else if (MiBandService.UUID_CHARACTERISTIC_BATTERY.equals(characteristicUUID)) {
handleBatteryInfo(characteristic.getValue(), BluetoothGatt.GATT_SUCCESS);
}
handleBatteryInfo(characteristic.getValue(), BluetoothGatt.GATT_SUCCESS);
} else if (MiBandService.UUID_CHARACTERISTIC_NOTIFICATION.equals(characteristicUUID)) {
// device somehow changed, should we update e.g. battery level?
}
}
@Override