Add BLE name recognition for the Deepblu Cosmiq+

It needs a newer version of libdivecomputer to actually download, but
early very experimental code exists in the Subsurface-NG branch.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Linus Torvalds 2019-08-17 15:17:50 -07:00 committed by Lubomir I. Ivanov
parent 14dd93b655
commit 25db28b905

View file

@ -98,6 +98,11 @@ static dc_descriptor_t *getDeviceType(QString btName)
product = "iX3M GPS Easy"; // we don't know which of the GPS models, so set one
}
if (btName == "COSMIQ") {
vendor = "Deepblu";
product = "Cosmiq+";
}
if (!vendor.isEmpty() && !product.isEmpty())
return descriptorLookup.value(vendor + product);