From 9590709e8c379e5d8b62b426cf4d5b1d59aa8b84 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Thu, 16 May 2019 14:44:26 -0700 Subject: Add support for the new Suunto D5 This is just a trivial update to recognize the BT name, and a libdivecomputer submodule update to get the updates to libdivecomputer to recognize the new USB IDs etc. 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 c057abd8b..20dda1a39 100644 --- a/core/btdiscovery.cpp +++ b/core/btdiscovery.cpp @@ -56,6 +56,11 @@ static dc_descriptor_t *getDeviceType(QString btName) product = "EON Core"; } + if (btName.startsWith("Suunto D5")) { + vendor = "Suunto"; + product = "D5"; + } + if (btName.startsWith("G2") || btName.startsWith("Aladin") || btName.startsWith("HUD")) { vendor = "Scubapro"; if (btName.startsWith("G2")) product = "G2"; -- cgit v1.2.3-70-g09d2