diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-08-06 10:24:20 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-08-22 19:35:58 -0700 |
commit | b3c88d4defd412e36e089e538011e5d14e5dcef6 (patch) | |
tree | 8a18b225652281a0b1abd5e4b886bdc2f371fe59 /core | |
parent | fe3021b88a414b6963891a65b738f52bc41e36a8 (diff) | |
download | subsurface-b3c88d4defd412e36e089e538011e5d14e5dcef6.tar.gz |
core/BLE: detect Sherwater Peregrine
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core')
-rw-r--r-- | core/btdiscovery.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/btdiscovery.cpp b/core/btdiscovery.cpp index bae2ff3e4..c054b822f 100644 --- a/core/btdiscovery.cpp +++ b/core/btdiscovery.cpp @@ -38,6 +38,7 @@ static dc_descriptor_t *getDeviceType(QString btName) btName.startsWith("Petrel") || btName.startsWith("Perdix") || btName.startsWith("Teric") || + btName.startsWith("Peregrine") || btName.startsWith("NERD")) { vendor = "Shearwater"; // both the Petrel and Petrel 2 identify as "Petrel" as BT/BLE device @@ -47,6 +48,7 @@ static dc_descriptor_t *getDeviceType(QString btName) if (btName.startsWith("Perdix")) product = "Perdix"; if (btName.startsWith("Predator")) product = "Predator"; if (btName.startsWith("Teric")) product = "Teric"; + if (btName.startsWith("Peregrine")) product = "Peregrine"; if (btName.startsWith("NERD")) product = "Nerd"; // next line might override this if (btName.startsWith("NERD 2")) product = "Nerd 2"; } else if (btName.startsWith("EON Steel")) { |