From 636505f8182a47a7c7cf3de9cb6a548ba4c32306 Mon Sep 17 00:00:00 2001 From: Jocke Date: Mon, 1 Oct 2018 18:52:47 +0200 Subject: BT OSTC 3 should be reported as OSTC Plus Report BT/BLE capable OSTC 3/3+ as OSTC PLus as it is required to get a functional download. Signed-off-by: Joakim Bygdell --- core/btdiscovery.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/btdiscovery.cpp b/core/btdiscovery.cpp index 4d46eefde..a37f36a92 100644 --- a/core/btdiscovery.cpp +++ b/core/btdiscovery.cpp @@ -18,8 +18,7 @@ static dc_descriptor_t *getDeviceType(QString btName) if (btName.startsWith("OSTC")) { vendor = "Heinrichs Weikamp"; - if (btName.mid(4,2) == "3#") product = "OSTC 3"; - else if (btName.mid(4,2) == "3+") product = "OSTC 3+"; + if (btName.mid(4,1) == "3") product = "OSTC Plus"; else if (btName.mid(4,2) == "s#") product = "OSTC Sport"; else if (btName.mid(4,2) == "s ") product = "OSTC Sport"; else if (btName.mid(4,2) == "4-") product = "OSTC 4"; -- cgit v1.2.3-70-g09d2