summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar William Perry <wmperry@Svartheim.local>2019-04-27 17:13:03 -0400
committerGravatar bstoeger <32835590+bstoeger@users.noreply.github.com>2019-04-28 09:39:50 +0200
commit9bb7bbef8490c360bc084802ea11d75004d08ee8 (patch)
treedf5a9353e65cf3136a218ff5bff84ef56ade411b
parent263c87b1cc55e264e8c8ba5d2e976e2c78e16a2b (diff)
downloadsubsurface-9bb7bbef8490c360bc084802ea11d75004d08ee8.tar.gz
Support for Scubapro G2 HUD discovery via bluetooth
Signed-off-by: William M Perry <wmperry@gmail.com>
-rw-r--r--core/btdiscovery.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/btdiscovery.cpp b/core/btdiscovery.cpp
index 7e75994da..c057abd8b 100644
--- a/core/btdiscovery.cpp
+++ b/core/btdiscovery.cpp
@@ -56,9 +56,10 @@ static dc_descriptor_t *getDeviceType(QString btName)
product = "EON Core";
}
- if (btName.startsWith("G2") || btName.startsWith("Aladin")) {
+ if (btName.startsWith("G2") || btName.startsWith("Aladin") || btName.startsWith("HUD")) {
vendor = "Scubapro";
if (btName.startsWith("G2")) product = "G2";
+ if (btName.startsWith("HUD")) product = "G2 HUD";
if (btName.startsWith("Aladin")) product = "Aladin Sport Matrix";
}