Merge branch 'omnipod_eros_dev' into omnipod_eros_dev_without_pump_plugin_abstract
This commit is contained in:
commit
0ef4099eaf
|
@ -264,6 +264,9 @@ public class OmnipodCommunicationManager extends RileyLinkCommunicationManager {
|
|||
}
|
||||
} catch (NotEnoughDataException ex) {
|
||||
// Message is (probably) not complete yet
|
||||
|
||||
aapsLogger.debug(LTag.PUMPBTCOMM, "Caught NotEnoughDataException. Sending ACK for CON");
|
||||
|
||||
OmnipodPacket ackForCon = createAckPacket(podStateManager, packetAddress, ackAddressOverride);
|
||||
|
||||
try {
|
||||
|
@ -352,6 +355,7 @@ public class OmnipodCommunicationManager extends RileyLinkCommunicationManager {
|
|||
} catch (Exception ex) {
|
||||
throw new CommunicationException(CommunicationException.Type.UNEXPECTED_EXCEPTION, ex);
|
||||
}
|
||||
|
||||
if (response == null) {
|
||||
aapsLogger.debug(LTag.PUMPBTCOMM, "exchangePackets response is null");
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue