diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-07-17 07:42:22 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-07-18 00:49:31 -0700 |
commit | cec3c256e71a979d0f97c472829e74693c1d2b84 (patch) | |
tree | ca7742ff6eac960f08a8019db2f8e2c789b99bb0 /core | |
parent | 9beb445d44bf13389fb9130ac29a4ccd5b95ef2e (diff) | |
download | subsurface-cec3c256e71a979d0f97c472829e74693c1d2b84.tar.gz |
Add detection of the Shearwater Predator via BT
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core')
-rw-r--r-- | core/btdiscovery.cpp | 3 |
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")) { |