From 81f95d388019d1283f5e0b4dbed108b4ab10946a Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Sat, 23 Jan 2021 11:11:53 -0800 Subject: [PATCH] Mark the Aqualung i750TC as BLE-capable Dirk got a log from Amin that shows Discovered new device: "EZ001945" "LE:{cb0ff33a-40d3-63eb-2764-11e63896534f}" Not recognized as dive computer and that's the i750TC device model name. It's not recognized as a dive computer because subsurface don't have that EZ as a model version, but even if it did, it would not try to use BLE to download because libdivecomputer doesn't mark it as BLE capable. But it appears that it is, so add the protocol marker (even if the log Dirk has then shows a failure to connect, so not all is well). Signed-off-by: Linus Torvalds --- src/descriptor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/descriptor.c b/src/descriptor.c index 52a3832..2a75217 100644 --- a/src/descriptor.c +++ b/src/descriptor.c @@ -254,7 +254,7 @@ static const dc_descriptor_t g_descriptors[] = { {"Sherwood", "Vision", DC_FAMILY_OCEANIC_ATOM2, 0x4556, DC_TRANSPORT_SERIAL, NULL}, {"Oceanic", "VTX", DC_FAMILY_OCEANIC_ATOM2, 0x4557, DC_TRANSPORT_SERIAL, NULL}, {"Aqualung", "i300", DC_FAMILY_OCEANIC_ATOM2, 0x4559, DC_TRANSPORT_SERIAL, NULL}, - {"Aqualung", "i750TC", DC_FAMILY_OCEANIC_ATOM2, 0x455A, DC_TRANSPORT_SERIAL | DC_TRANSPORT_BLUETOOTH, NULL}, + {"Aqualung", "i750TC", DC_FAMILY_OCEANIC_ATOM2, 0x455A, DC_TRANSPORT_SERIAL | DC_TRANSPORT_BLUETOOTH | DC_TRANSPORT_BLE, dc_filter_oceanic}, {"Aqualung", "i450T", DC_FAMILY_OCEANIC_ATOM2, 0x4641, DC_TRANSPORT_SERIAL, NULL}, {"Aqualung", "i550", DC_FAMILY_OCEANIC_ATOM2, 0x4642, DC_TRANSPORT_SERIAL, NULL}, {"Aqualung", "i200", DC_FAMILY_OCEANIC_ATOM2, 0x4646, DC_TRANSPORT_SERIAL, NULL},