RS: force BT disconnect on failed bolus
This commit is contained in:
parent
eb84f5e6a7
commit
fd934fde2b
1 changed files with 1 additions and 0 deletions
|
@ -277,6 +277,7 @@ class DanaRSService : DaggerService() {
|
||||||
danaPump.bolusStopped = true
|
danaPump.bolusStopped = true
|
||||||
danaPump.bolusStopForced = true
|
danaPump.bolusStopForced = true
|
||||||
aapsLogger.debug(LTag.PUMPCOMM, "Communication stopped")
|
aapsLogger.debug(LTag.PUMPCOMM, "Communication stopped")
|
||||||
|
bleComm.disconnect("Communication stopped")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue