mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
14dd93b655
commit
25db28b905
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue