From 25db28b905c96378d6e046eea6e57079b3d401d8 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Sat, 17 Aug 2019 15:17:50 -0700 Subject: 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 --- core/btdiscovery.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'core') diff --git a/core/btdiscovery.cpp b/core/btdiscovery.cpp index 2a3eff580..175ecf932 100644 --- a/core/btdiscovery.cpp +++ b/core/btdiscovery.cpp @@ -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); -- cgit v1.2.3-70-g09d2