From 0698380a1d0d3aae8f7329d81fcaa3c144a50fe5 Mon Sep 17 00:00:00 2001 From: Andreas Shimokawa Date: Thu, 30 Oct 2025 18:35:04 +0100 Subject: [PATCH] Pebble 2 Duo: allow activating health --- .../freeyourgadget/gadgetbridge/util/PebbleUtils.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/util/PebbleUtils.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/util/PebbleUtils.java index 1372e568bc..c12692b597 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/util/PebbleUtils.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/util/PebbleUtils.java @@ -48,8 +48,10 @@ public class PebbleUtils { return "chalk"; } else if (hwRev.startsWith("silk")) { return "diorite"; - } else if (hwRev.startsWith("robert")) { + } else if (hwRev.startsWith("robert") || hwRev.startsWith("obelix")) { return "emery"; + } else if (hwRev.startsWith("asterix")) { + return "flint"; } return DEFAULT_PLATFORM; } @@ -66,8 +68,10 @@ public class PebbleUtils { return "pebble_time_round_black_20mm"; } else if (hwRev.startsWith("silk")) { return "pebble2_black"; - } else if (hwRev.startsWith("robert")) { + } else if (hwRev.startsWith("robert") || hwRev.startsWith("obelix")) { return "pebble_time2_black"; + } else if (hwRev.startsWith("asterix")) { + return "pebble2_duo_black"; } return DEFAULT_MODEL; }