summaryrefslogtreecommitdiffstats
path: root/core/btdiscovery.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-02 18:31:40 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-02 18:32:16 -0700
commit7199ad33e234414cf1438e2dbb5f4f1a5084dc99 (patch)
treed86130f8a7ac7118340f0fadd20e2f8a65831e7f /core/btdiscovery.cpp
parent6451adfec11262c3522878e700cb6794df8ee3d2 (diff)
downloadsubsurface-7199ad33e234414cf1438e2dbb5f4f1a5084dc99.tar.gz
BT discovery: detect Scubapro G2
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/btdiscovery.cpp')
-rw-r--r--core/btdiscovery.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/btdiscovery.cpp b/core/btdiscovery.cpp
index e99fff6ee..bfc3dc8d2 100644
--- a/core/btdiscovery.cpp
+++ b/core/btdiscovery.cpp
@@ -37,6 +37,11 @@ static dc_descriptor_t *getDeviceType(QString btName)
product = "EON Steel";
}
+ if (btName.startsWith("G2")) {
+ vendor = "Scubapro";
+ product = "G2";
+ }
+
if (!vendor.isEmpty() && !product.isEmpty())
return(descriptorLookup[vendor + product]);