From 7199ad33e234414cf1438e2dbb5f4f1a5084dc99 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 2 Jul 2017 18:31:40 -0700 Subject: BT discovery: detect Scubapro G2 Signed-off-by: Dirk Hohndel --- core/btdiscovery.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/btdiscovery.cpp b/core/btdiscovery.cpp index e99fff6ee..bfc3dc8d2 100644 --- a/core/btdiscovery.cpp +++ b/core/btdiscovery.cpp @@ -37,6 +37,11 @@ static dc_descriptor_t *getDeviceType(QString btName) product = "EON Steel"; } + if (btName.startsWith("G2")) { + vendor = "Scubapro"; + product = "G2"; + } + if (!vendor.isEmpty() && !product.isEmpty()) return(descriptorLookup[vendor + product]); -- cgit v1.2.3-70-g09d2