diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-06-23 21:29:34 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-06-24 22:32:56 -0700 |
commit | f5e1df042394ca749e4c7f80c451a6035755c006 (patch) | |
tree | aa8d4b77f472f603e6b322bff7019d1a0b91a376 /core | |
parent | d67421c9e64d434ffbb7d8b23d92a33de0f29208 (diff) | |
download | subsurface-f5e1df042394ca749e4c7f80c451a6035755c006.tar.gz |
Add the EON Steel as support DC on Android
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core')
-rw-r--r-- | core/btdiscovery.cpp | 5 | ||||
-rw-r--r-- | core/downloadfromdcthread.cpp | 3 |
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 */ |