Skip to content

Commit

Permalink
Merge pull request #3650 from Navid200/Navid_2024_08_30c
Browse files Browse the repository at this point in the history
New Device
  • Loading branch information
jamorham authored Aug 31, 2024
2 parents d05805c + 500bfe5 commit 5e941ac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ public class FirmwareCapability {
private static final ImmutableSet<String> KNOWN_G6_REV2_RAW_FIRMWARES = ImmutableSet.of("2.18.2.67");
private static final ImmutableSet<String> KNOWN_G6_PLUS_FIRMWARES = ImmutableSet.of("2.4.2.88");
private static final ImmutableSet<String> KNOWN_ONE_FIRMWARES = ImmutableSet.of("30.192.103.34");
private static final ImmutableSet<String> KNOWN_ALT_FIRMWARES = ImmutableSet.of("29.192.104.59", "32.192.104.82", "32.192.104.109", "32.192.105.64", "32.192.106.0", "44.192.105.72");
private static final ImmutableSet<String> KNOWN_ALT_FIRMWARES = ImmutableSet.of("29.192.104.59", "32.192.104.82", "32.192.104.109", "32.192.105.64", "32.192.106.0", "44.192.105.72",
"37.192.105.94");
private static final ImmutableSet<String> KNOWN_TIME_TRAVEL_TESTED = ImmutableSet.of("1.6.5.25");

// new G6 firmware versions will need to be added here / above
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1230,7 +1230,10 @@ private synchronized void stopDiscover() {
}

private boolean isScanMatch(final String this_address, final String historical_address, final String this_name, final String search_name) {
if (search_name == null && (this_address.equalsIgnoreCase(historical_address) || this_name == null || (emptyString(historical_address) && this_name.startsWith("DXCM")) || (emptyString(historical_address) && this_name.startsWith("DX02")))) {
if (search_name == null && (this_address.equalsIgnoreCase(historical_address) || this_name == null ||
(emptyString(historical_address) && this_name.startsWith("DXCM")) ||
(emptyString(historical_address) && this_name.startsWith("DX02")) ||
(emptyString(historical_address) && this_name.startsWith("DX01")))) {
return !inFailureTally(this_address);
}

Expand Down

0 comments on commit 5e941ac

Please sign in to comment.