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:
Berthold Stoeger 2017-11-05 11:47:36 +01:00 committed by Dirk Hohndel
parent 20922e261a
commit cfc05f2a05

View file

@ -40,9 +40,10 @@ static dc_descriptor_t *getDeviceType(QString btName)
product = "EON Steel";
}
if (btName.startsWith("G2")) {
if (btName.startsWith("G2") || btName.startsWith("Aladin")) {
vendor = "Scubapro";
product = "G2";
if (btName.startsWith("G2")) product = "G2";
if (btName.startsWith("Aladin")) product = "Aladin Sport Matrix";
}
if (!vendor.isEmpty() && !product.isEmpty())