enable PUMPBTCOMM by default for Omnipod branch
This commit is contained in:
parent
53e6cd4ef2
commit
32ce3ee18a
2 changed files with 2 additions and 1 deletions
|
@ -336,6 +336,7 @@ public class OmnipodCommunicationManager extends RileyLinkCommunicationManager {
|
||||||
response = sendAndListen(packet, responseTimeoutMilliseconds, repeatCount, 9, preambleExtensionMilliseconds, OmnipodPacket.class);
|
response = sendAndListen(packet, responseTimeoutMilliseconds, repeatCount, 9, preambleExtensionMilliseconds, OmnipodPacket.class);
|
||||||
} catch (RileyLinkCommunicationException | OmnipodException ex) {
|
} catch (RileyLinkCommunicationException | OmnipodException ex) {
|
||||||
aapsLogger.debug(LTag.PUMPBTCOMM, "Ignoring exception in exchangePackets: " + ex.getClass().getSimpleName() + ": " + ex.getMessage());
|
aapsLogger.debug(LTag.PUMPBTCOMM, "Ignoring exception in exchangePackets: " + ex.getClass().getSimpleName() + ": " + ex.getMessage());
|
||||||
|
continue;
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
throw new CommunicationException(CommunicationException.Type.UNEXPECTED_EXCEPTION, ex);
|
throw new CommunicationException(CommunicationException.Type.UNEXPECTED_EXCEPTION, ex);
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,7 +18,7 @@ enum class LTag(val tag: String, val defaultValue : Boolean = true, val requires
|
||||||
NOTIFICATION("NOTIFICATION"),
|
NOTIFICATION("NOTIFICATION"),
|
||||||
NSCLIENT("NSCLIENT"),
|
NSCLIENT("NSCLIENT"),
|
||||||
PUMP("PUMP"),
|
PUMP("PUMP"),
|
||||||
PUMPBTCOMM("PUMPBTCOMM", defaultValue = false),
|
PUMPBTCOMM("PUMPBTCOMM", defaultValue = true),
|
||||||
PUMPCOMM("PUMPCOMM"),
|
PUMPCOMM("PUMPCOMM"),
|
||||||
PUMPQUEUE("PUMPQUEUE"),
|
PUMPQUEUE("PUMPQUEUE"),
|
||||||
PROFILE("PROFILE"),
|
PROFILE("PROFILE"),
|
||||||
|
|
Loading…
Reference in a new issue