From 2f87620050b8e437f72aab1320465eae2cd61a14 Mon Sep 17 00:00:00 2001 From: Andrei Vereha Date: Sun, 28 Mar 2021 23:11:11 +0200 Subject: [PATCH] compile --- .../pump/omnipod/dash/driver/comm/message/MessageIO.kt | 2 ++ .../pump/omnipod/dash/driver/comm/packet/BlePacket.kt | 1 - .../pump/omnipod/dash/driver/comm/packet/PayloadJoiner.kt | 6 ------ .../pump/omnipod/dash/driver/comm/packet/PayloadSplitter.kt | 5 ----- 4 files changed, 2 insertions(+), 12 deletions(-) diff --git a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/comm/message/MessageIO.kt b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/comm/message/MessageIO.kt index be3be3debd..5dedd4b645 100644 --- a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/comm/message/MessageIO.kt +++ b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/comm/message/MessageIO.kt @@ -5,6 +5,8 @@ import info.nightscout.androidaps.logging.LTag import info.nightscout.androidaps.plugins.pump.omnipod.dash.driver.comm.command.* import info.nightscout.androidaps.plugins.pump.omnipod.dash.driver.comm.io.* import info.nightscout.androidaps.plugins.pump.omnipod.dash.driver.comm.packet.BlePacket +import info.nightscout.androidaps.plugins.pump.omnipod.dash.driver.comm.packet.PayloadJoiner +import info.nightscout.androidaps.plugins.pump.omnipod.dash.driver.comm.packet.PayloadSplitter import info.nightscout.androidaps.utils.extensions.toHex sealed class MesssageReceiveResult diff --git a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/comm/packet/BlePacket.kt b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/comm/packet/BlePacket.kt index 6ce5110348..eaa384e64c 100644 --- a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/comm/packet/BlePacket.kt +++ b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/comm/packet/BlePacket.kt @@ -1,6 +1,5 @@ package info.nightscout.androidaps.plugins.pump.omnipod.dash.driver.comm.packet -import info.nightscout.androidaps.plugins.pump.omnipod.dash.driver.comm.io.toUnsignedLong import info.nightscout.androidaps.plugins.pump.omnipod.dash.driver.comm.message.IncorrectPacketException import java.nio.ByteBuffer diff --git a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/comm/packet/PayloadJoiner.kt b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/comm/packet/PayloadJoiner.kt index c9e699d30c..afa8daec5c 100644 --- a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/comm/packet/PayloadJoiner.kt +++ b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/comm/packet/PayloadJoiner.kt @@ -2,12 +2,6 @@ package info.nightscout.androidaps.plugins.pump.omnipod.dash.driver.comm.packet import info.nightscout.androidaps.plugins.pump.omnipod.dash.driver.comm.message.CrcMismatchException import info.nightscout.androidaps.plugins.pump.omnipod.dash.driver.comm.message.IncorrectPacketException -import info.nightscout.androidaps.plugins.pump.omnipod.dash.driver.comm.message.crc32 -import info.nightscout.androidaps.plugins.pump.omnipod.dash.driver.comm.packet.BlePacket -import info.nightscout.androidaps.plugins.pump.omnipod.dash.driver.comm.packet.FirstBlePacket -import info.nightscout.androidaps.plugins.pump.omnipod.dash.driver.comm.packet.LastBlePacket -import info.nightscout.androidaps.plugins.pump.omnipod.dash.driver.comm.packet.LastOptionalPlusOneBlePacket -import info.nightscout.androidaps.plugins.pump.omnipod.dash.driver.comm.packet.MiddleBlePacket import java.nio.ByteBuffer import java.util.* diff --git a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/comm/packet/PayloadSplitter.kt b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/comm/packet/PayloadSplitter.kt index 45c30ebc5d..7b7c0d6e68 100644 --- a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/comm/packet/PayloadSplitter.kt +++ b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/comm/packet/PayloadSplitter.kt @@ -1,10 +1,5 @@ package info.nightscout.androidaps.plugins.pump.omnipod.dash.driver.comm.packet -import info.nightscout.androidaps.plugins.pump.omnipod.dash.driver.comm.packet.BlePacket -import info.nightscout.androidaps.plugins.pump.omnipod.dash.driver.comm.packet.FirstBlePacket -import info.nightscout.androidaps.plugins.pump.omnipod.dash.driver.comm.packet.LastBlePacket -import info.nightscout.androidaps.plugins.pump.omnipod.dash.driver.comm.packet.LastOptionalPlusOneBlePacket -import info.nightscout.androidaps.plugins.pump.omnipod.dash.driver.comm.packet.MiddleBlePacket import java.lang.Integer.min import java.util.zip.CRC32