mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core/BLE: add detection of Scubapro Aladin A1
This was supported in libdivecomputer, but not recognized as dive computer by our core BLE code. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
693aeadf3c
commit
a4295a3e9f
1 changed files with 2 additions and 1 deletions
|
@ -58,11 +58,12 @@ static dc_descriptor_t *getDeviceType(QString btName)
|
|||
} else if (btName.startsWith("Suunto D5")) {
|
||||
vendor = "Suunto";
|
||||
product = "D5";
|
||||
} else if (btName.startsWith("G2") || btName.startsWith("Aladin") || btName.startsWith("HUD")) {
|
||||
} else if (btName.startsWith("G2") || btName.startsWith("Aladin") || btName.startsWith("HUD") || btName.startsWith("A1")) {
|
||||
vendor = "Scubapro";
|
||||
if (btName.startsWith("G2")) product = "G2";
|
||||
if (btName.startsWith("HUD")) product = "G2 HUD";
|
||||
if (btName.startsWith("Aladin")) product = "Aladin Sport Matrix";
|
||||
if (btName.startsWith("A1")) product = "Aladin A1";
|
||||
} else if (btName.startsWith("Mares")) {
|
||||
vendor = "Mares";
|
||||
// we don't know which of the dive computers it is,
|
||||
|
|
Loading…
Add table
Reference in a new issue