From fd934fde2bd6dc22ce71b1e606ae9c8763f7576a Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Sun, 3 Jan 2021 17:59:56 +0100 Subject: [PATCH] RS: force BT disconnect on failed bolus --- .../info/nightscout/androidaps/danars/services/DanaRSService.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/danars/src/main/java/info/nightscout/androidaps/danars/services/DanaRSService.kt b/danars/src/main/java/info/nightscout/androidaps/danars/services/DanaRSService.kt index 06c6dbd9ab..b396c07234 100644 --- a/danars/src/main/java/info/nightscout/androidaps/danars/services/DanaRSService.kt +++ b/danars/src/main/java/info/nightscout/androidaps/danars/services/DanaRSService.kt @@ -277,6 +277,7 @@ class DanaRSService : DaggerService() { danaPump.bolusStopped = true danaPump.bolusStopForced = true aapsLogger.debug(LTag.PUMPCOMM, "Communication stopped") + bleComm.disconnect("Communication stopped") } } }