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 +++ 1 file changed, 3 insertions(+) (limited to 'core') 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 -- cgit v1.2.3-70-g09d2