Support for Scubapro G2 HUD discovery via bluetooth

Signed-off-by: William M Perry <wmperry@gmail.com>
This commit is contained in:
William Perry 2019-04-27 17:13:03 -04:00 committed by bstoeger
parent 263c87b1cc
commit 9bb7bbef84

View file

@ -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";
}