mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 07:43:23 +00:00
Add "Aladin" to the list of recognized BT names.
Recognize Aladin as the Bluetooth name of the Scubapro Aladin Sport Matrix. Note that the Scubapro Aladin H Matrix most likely also identifies itself using this BT name. But it probably uses the same BT protocol (i.e. the G2 protocol) and therefore this should not pose a problem. Ultimately a common name should be found. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
20922e261a
commit
cfc05f2a05
1 changed files with 3 additions and 2 deletions
|
@ -40,9 +40,10 @@ static dc_descriptor_t *getDeviceType(QString btName)
|
||||||
product = "EON Steel";
|
product = "EON Steel";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (btName.startsWith("G2")) {
|
if (btName.startsWith("G2") || btName.startsWith("Aladin")) {
|
||||||
vendor = "Scubapro";
|
vendor = "Scubapro";
|
||||||
product = "G2";
|
if (btName.startsWith("G2")) product = "G2";
|
||||||
|
if (btName.startsWith("Aladin")) product = "Aladin Sport Matrix";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!vendor.isEmpty() && !product.isEmpty())
|
if (!vendor.isEmpty() && !product.isEmpty())
|
||||||
|
|
Loading…
Add table
Reference in a new issue