mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
core/BLE: detect Sherwater Peregrine
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
fe3021b88a
commit
b3c88d4def
1 changed files with 2 additions and 0 deletions
|
@ -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")) {
|
||||
|
|
Loading…
Reference in a new issue