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>
This commit is contained in:
Jocke 2018-10-01 18:52:47 +02:00 committed by Dirk Hohndel
parent d6010b5155
commit 636505f818

View file

@ -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";