summaryrefslogtreecommitdiffstats
path: root/core/btdiscovery.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-17 07:42:22 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-18 00:49:31 -0700
commitcec3c256e71a979d0f97c472829e74693c1d2b84 (patch)
treeca7742ff6eac960f08a8019db2f8e2c789b99bb0 /core/btdiscovery.cpp
parent9beb445d44bf13389fb9130ac29a4ccd5b95ef2e (diff)
downloadsubsurface-cec3c256e71a979d0f97c472829e74693c1d2b84.tar.gz
Add detection of the Shearwater Predator via BT
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/btdiscovery.cpp')
-rw-r--r--core/btdiscovery.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/btdiscovery.cpp b/core/btdiscovery.cpp
index 8a9bedc73..e52b8a050 100644
--- a/core/btdiscovery.cpp
+++ b/core/btdiscovery.cpp
@@ -68,10 +68,11 @@ static dc_descriptor_t *getDeviceType(QString btName)
else product = "OSTC 3"; // all OSTCs are HW_FAMILY_OSTC_3
}
- if (btName.startsWith("Petrel") || btName.startsWith("Perdix")) {
+ if (btName.startsWith("Petrel") || btName.startsWith("Perdix") || btName.startsWith("Predator")) {
vendor = "Shearwater";
if (btName.startsWith("Petrel")) product = "Petrel"; // or petrel 2?
if (btName.startsWith("Perdix")) product = "Perdix";
+ if (btName.startsWith("Predator")) product = "Predator";
}
if (btName.startsWith("EON Steel")) {