Add detection of the Shearwater Predator via BT

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-07-17 07:42:22 -07:00
parent 9beb445d44
commit cec3c256e7

View file

@ -68,10 +68,11 @@ static dc_descriptor_t *getDeviceType(QString btName)
else product = "OSTC 3"; // all OSTCs are HW_FAMILY_OSTC_3
}
if (btName.startsWith("Petrel") || btName.startsWith("Perdix")) {
if (btName.startsWith("Petrel") || btName.startsWith("Perdix") || btName.startsWith("Predator")) {
vendor = "Shearwater";
if (btName.startsWith("Petrel")) product = "Petrel"; // or petrel 2?
if (btName.startsWith("Perdix")) product = "Perdix";
if (btName.startsWith("Predator")) product = "Predator";
}
if (btName.startsWith("EON Steel")) {