From cec3c256e71a979d0f97c472829e74693c1d2b84 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 17 Jul 2017 07:42:22 -0700 Subject: Add detection of the Shearwater Predator via BT Signed-off-by: Dirk Hohndel --- core/btdiscovery.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core') 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")) { -- cgit v1.2.3-70-g09d2