summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-23 21:29:34 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-24 22:32:56 -0700
commitf5e1df042394ca749e4c7f80c451a6035755c006 (patch)
treeaa8d4b77f472f603e6b322bff7019d1a0b91a376
parentd67421c9e64d434ffbb7d8b23d92a33de0f29208 (diff)
downloadsubsurface-f5e1df042394ca749e4c7f80c451a6035755c006.tar.gz
Add the EON Steel as support DC on Android
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--core/btdiscovery.cpp5
-rw-r--r--core/downloadfromdcthread.cpp3
2 files changed, 8 insertions, 0 deletions
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 */