From ac533a64334e6cfbc9008ac2f678b0cf88d60a2c Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Thu, 25 Jun 2020 11:57:35 -0700 Subject: Add support for the Oceans S1 and McLean Extreme This updates libdivecomputer to support the Oceans S1 and McLean Extreme divecomputers. It also adds the Oceans S1 to the list of dive computers we reconize by bluetooth name. Signed-off-by: Linus Torvalds --- core/btdiscovery.cpp | 3 +++ libdivecomputer | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/core/btdiscovery.cpp b/core/btdiscovery.cpp index 909c55b23..a90c83520 100644 --- a/core/btdiscovery.cpp +++ b/core/btdiscovery.cpp @@ -107,6 +107,9 @@ static dc_descriptor_t *getDeviceType(QString btName) } else if (btName == "COSMIQ") { vendor = "Deepblu"; product = "Cosmiq+"; + } else if (btName.startsWith("S1")) { + vendor = "Oceans"; + product = "S1"; } // check if we found a known dive computer diff --git a/libdivecomputer b/libdivecomputer index 48e46cf77..6935fe717 160000 --- a/libdivecomputer +++ b/libdivecomputer @@ -1 +1 @@ -Subproject commit 48e46cf7775452740f67ba72d9c5a0960ebf3718 +Subproject commit 6935fe717ac73402c589c2ccc435ad8efd60cd50 -- cgit v1.2.3-70-g09d2