DanaRS/I: improve recovering from disconnection
This commit is contained in:
parent
02a11ae902
commit
1fa2cb9370
1 changed files with 1 additions and 0 deletions
|
@ -838,6 +838,7 @@ class BLEComm @Inject internal constructor(
|
||||||
if (!message.isReceived) {
|
if (!message.isReceived) {
|
||||||
aapsLogger.warn(LTag.PUMPBTCOMM, "Reply not received " + message.friendlyName)
|
aapsLogger.warn(LTag.PUMPBTCOMM, "Reply not received " + message.friendlyName)
|
||||||
message.handleMessageNotReceived()
|
message.handleMessageNotReceived()
|
||||||
|
danaRSPlugin.disconnect("Reply not received")
|
||||||
}
|
}
|
||||||
// verify encryption for v3 & BLE
|
// verify encryption for v3 & BLE
|
||||||
if (message is DanaRSPacketEtcKeepConnection)
|
if (message is DanaRSPacketEtcKeepConnection)
|
||||||
|
|
Loading…
Reference in a new issue