We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ef7548 commit 4264e97Copy full SHA for 4264e97
pump/omnipod-dash/src/main/kotlin/app/aaps/pump/omnipod/dash/driver/comm/session/Connection.kt
@@ -77,9 +77,10 @@ class Connection(
77
Thread.sleep(SLEEP_WHEN_FAILING_TO_CONNECT_GATT) // Do not retry too often
78
throw FailedToConnectException("connectGatt() returned null")
79
}
80
- if (!gatt.connect()) {
81
- throw FailedToConnectException("connect() returned false")
82
- }
+ gatt.connect()
+ // if (!gatt.connect()) {
+ // throw FailedToConnectException("connect() returned false")
83
+ // }
84
val before = SystemClock.elapsedRealtime()
85
if (waitForConnection(connectionWaitCond) !is Connected) {
86
podState.bluetoothConnectionState = OmnipodDashPodStateManager.BluetoothConnectionState.DISCONNECTED
0 commit comments