From f5e1df042394ca749e4c7f80c451a6035755c006 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 23 Jun 2017 21:29:34 -0700 Subject: Add the EON Steel as support DC on Android Signed-off-by: Dirk Hohndel --- core/btdiscovery.cpp | 5 +++++ core/downloadfromdcthread.cpp | 3 +++ 2 files changed, 8 insertions(+) (limited to 'core') diff --git a/core/btdiscovery.cpp b/core/btdiscovery.cpp index c6cb3003a..6a66ab6a4 100644 --- a/core/btdiscovery.cpp +++ b/core/btdiscovery.cpp @@ -32,6 +32,11 @@ static dc_descriptor_t *getDeviceType(QString btName) if (btName.startsWith("Perdix")) product = "Perdix"; } + if (btName.startsWith("EON Steel")) { + vendor = "Suunto"; + product = "EON Steel"; + } + if (!vendor.isEmpty() && !product.isEmpty()) return(descriptorLookup[vendor + product]); diff --git a/core/downloadfromdcthread.cpp b/core/downloadfromdcthread.cpp index 8810799d9..7a3a22c6e 100644 --- a/core/downloadfromdcthread.cpp +++ b/core/downloadfromdcthread.cpp @@ -61,6 +61,9 @@ static void fill_supported_mobile_list() {"OSTC 3+"}, {"OSTC 4"}}); mobileProductList["Shearwater"] = QStringList({{"Petrel"}, {"Petrel 2"}, {"Perdix"}}); + mobileProductList["Suunto"] = + QStringList({"EON Steel"}); + #endif #if defined(Q_OS_IOS) /* BLE only, Qt does not support classic BT on iOS */ -- cgit v1.2.3-70-g09d2