diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2018-09-08 17:54:25 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-09-12 14:00:49 -0700 |
commit | 428af68e64b22b8f3ec0f573c74afcbf9ebaac7e (patch) | |
tree | fc8cfb2df4d79416180ea876e603002dccf570ad /core/btdiscovery.cpp | |
parent | 7bd64be45ae2b10d0e3a5fdd0b2c53a8cccbb9be (diff) | |
download | subsurface-428af68e64b22b8f3ec0f573c74afcbf9ebaac7e.tar.gz |
BLE: add Teric to list of auto-detected Shearwater computers
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/btdiscovery.cpp')
-rw-r--r-- | core/btdiscovery.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/btdiscovery.cpp b/core/btdiscovery.cpp index 055485a32..d2da238c6 100644 --- a/core/btdiscovery.cpp +++ b/core/btdiscovery.cpp @@ -29,11 +29,15 @@ 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") || btName.startsWith("Predator")) { + if (btName.startsWith("Predator") || + btName.startsWith("Petrel") || + btName.startsWith("Perdix") || + btName.startsWith("Teric")) { 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("Teric")) product = "Teric"; } if (btName.startsWith("EON Steel")) { |