Add the EON Steel as support DC on Android

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-06-23 21:29:34 -07:00
parent d67421c9e6
commit f5e1df0423
2 changed files with 8 additions and 0 deletions

View file

@ -32,6 +32,11 @@ static dc_descriptor_t *getDeviceType(QString btName)
if (btName.startsWith("Perdix")) product = "Perdix"; if (btName.startsWith("Perdix")) product = "Perdix";
} }
if (btName.startsWith("EON Steel")) {
vendor = "Suunto";
product = "EON Steel";
}
if (!vendor.isEmpty() && !product.isEmpty()) if (!vendor.isEmpty() && !product.isEmpty())
return(descriptorLookup[vendor + product]); return(descriptorLookup[vendor + product]);

View file

@ -61,6 +61,9 @@ static void fill_supported_mobile_list()
{"OSTC 3+"}, {"OSTC 4"}}); {"OSTC 3+"}, {"OSTC 4"}});
mobileProductList["Shearwater"] = mobileProductList["Shearwater"] =
QStringList({{"Petrel"}, {"Petrel 2"}, {"Perdix"}}); QStringList({{"Petrel"}, {"Petrel 2"}, {"Perdix"}});
mobileProductList["Suunto"] =
QStringList({"EON Steel"});
#endif #endif
#if defined(Q_OS_IOS) #if defined(Q_OS_IOS)
/* BLE only, Qt does not support classic BT on iOS */ /* BLE only, Qt does not support classic BT on iOS */