DanaR: disconnect on occlusion

This commit is contained in:
Milos Kozak 2022-06-13 12:18:30 +02:00
parent 9eebf60610
commit f887043aff

View file

@ -29,6 +29,8 @@ class MsgError(
danaPump.bolusStopped = true danaPump.bolusStopped = true
bolusingEvent.status = errorString bolusingEvent.status = errorString
rxBus.send(bolusingEvent) rxBus.send(bolusingEvent)
// at least on Occlusion pump stops communication. Try to force reconnecting
activePlugin.activePump.disconnect("Error from pump received")
failed = true failed = true
} else { } else {
failed = false failed = false