Skip to content

Commit

Permalink
Update build_loop.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
VladStanciu authored Jun 11, 2024
1 parent d00d635 commit ede8f0f
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/build_loop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,17 +67,4 @@ jobs:
path: |
artifacts
buildlog
dexcom_one_plus/main_dexcomoneplus.patch
index d5c0b46..b1745a1 100644
--- a/G7SensorKit/G7SensorKit/G7CGMManager/G7Sensor.swift
+++ b/G7SensorKit/G7SensorKit/G7CGMManager/G7Sensor.swift
@@ -215,7 +215,8 @@ public final class G7Sensor: G7BluetoothManagerDelegate {
}

/// The Dexcom G7 advertises a peripheral name of "DXCMxx", and later reports a full name of "Dexcomxx"
- if name.hasPrefix("DXCM") {
+ /// Dexcom One+ peripheral name start with "DX02"
+ if name.hasPrefix("DXCM") || name.hasPrefix("DX02"){
// If we're following this name or if we're scanning, connect
if let sensorName = sensorID, name.suffix(2) == sensorName.suffix(2) {
return .makeActive

0 comments on commit ede8f0f

Please sign in to comment.