enable PUMPBTCOMM by default for Omnipod branch

This commit is contained in:
Bart Sopers 2020-05-05 02:34:08 +02:00
parent 53e6cd4ef2
commit 32ce3ee18a
2 changed files with 2 additions and 1 deletions

View file

@ -336,6 +336,7 @@ public class OmnipodCommunicationManager extends RileyLinkCommunicationManager {
response = sendAndListen(packet, responseTimeoutMilliseconds, repeatCount, 9, preambleExtensionMilliseconds, OmnipodPacket.class);
} catch (RileyLinkCommunicationException | OmnipodException ex) {
aapsLogger.debug(LTag.PUMPBTCOMM, "Ignoring exception in exchangePackets: " + ex.getClass().getSimpleName() + ": " + ex.getMessage());
continue;
} catch (Exception ex) {
throw new CommunicationException(CommunicationException.Type.UNEXPECTED_EXCEPTION, ex);
}

View file

@ -18,7 +18,7 @@ enum class LTag(val tag: String, val defaultValue : Boolean = true, val requires
NOTIFICATION("NOTIFICATION"),
NSCLIENT("NSCLIENT"),
PUMP("PUMP"),
PUMPBTCOMM("PUMPBTCOMM", defaultValue = false),
PUMPBTCOMM("PUMPBTCOMM", defaultValue = true),
PUMPCOMM("PUMPCOMM"),
PUMPQUEUE("PUMPQUEUE"),
PROFILE("PROFILE"),