diff options
author | Jocke <j.bygdell@gmail.com> | 2018-10-01 18:52:47 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-10-09 21:04:23 -0700 |
commit | 636505f8182a47a7c7cf3de9cb6a548ba4c32306 (patch) | |
tree | 26c12f2511eb2d3dd4c53a4ab2addd81bf34bd8a /core/btdiscovery.cpp | |
parent | d6010b5155e7c1b03d1872eb3ed75c39e070ad55 (diff) | |
download | subsurface-636505f8182a47a7c7cf3de9cb6a548ba4c32306.tar.gz |
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 <j.bygdell@gmail.com>
Diffstat (limited to 'core/btdiscovery.cpp')
-rw-r--r-- | core/btdiscovery.cpp | 3 |
1 files changed, 1 insertions, 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"; |