diff options
Diffstat (limited to 'core/btdiscovery.cpp')
-rw-r--r-- | core/btdiscovery.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/btdiscovery.cpp b/core/btdiscovery.cpp index 2362c5b4b..4e22d45f5 100644 --- a/core/btdiscovery.cpp +++ b/core/btdiscovery.cpp @@ -26,6 +26,12 @@ 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")) { + vendor = "Shearwater"; + if (btName.startsWith("Petrel")) product = "Petrel"; // or petrel 2? + if (btName.startsWith("Perdix")) product = "Perdix"; + } + if (!vendor.isEmpty() && !product.isEmpty()) return(descriptorLookup[vendor + product]); |