Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions G7SensorKit/G7CGMManager/G7BluetoothManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,10 @@ class G7BluetoothManager: NSObject {
if self.activePeripheralIdentifier == nil {
self.log.default("Discovered peripheral from connectionEventDidOccur %{public}@", peripheral.identifier.uuidString)
self.handleDiscoveredPeripheral(peripheral)
} else if event == .peerConnected, peripheral.identifier == self.activePeripheralIdentifier,
peripheral.state == .disconnected {
self.log.default("Connecting on peer-connected event")
self.handleDiscoveredPeripheral(peripheral)
}
}
}
Expand Down