BT discovery: detect Scubapro G2

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-07-02 18:31:40 -07:00
parent 6451adfec1
commit 7199ad33e2

View file

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