diff options
author | William Perry <wmperry@Svartheim.local> | 2019-04-27 17:13:03 -0400 |
---|---|---|
committer | bstoeger <32835590+bstoeger@users.noreply.github.com> | 2019-04-28 09:39:50 +0200 |
commit | 9bb7bbef8490c360bc084802ea11d75004d08ee8 (patch) | |
tree | df5a9353e65cf3136a218ff5bff84ef56ade411b | |
parent | 263c87b1cc55e264e8c8ba5d2e976e2c78e16a2b (diff) | |
download | subsurface-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.cpp | 3 |
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"; } |