From b082a96ebb825a9564a3d5c138434e8ae2835f63 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Fri, 14 Dec 2018 13:45:17 -0800 Subject: [PATCH] Enable BLE support for the Oceanic Pro Plus X It really looks (very superficially) like the Oceanic Pro Plus X might act exactly the same as the Aqualung i770R over bluetooth: it has the exact same bluetooth name pattern ("ER001299", where "ER" is the ASCII represetnation of the model number (0x4552) and the 001299 looks like the serial number that we then use for "authenticating" with the device. I haven't actually tested this at all, but Brett Woods sent the bluetooth scan information, and it looks promising. So let's just test it. 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 d4e679a..ac7d18d 100644 --- a/src/descriptor.c +++ b/src/descriptor.c @@ -209,7 +209,7 @@ static const dc_descriptor_t g_descriptors[] = { {"Oceanic", "OCi", DC_FAMILY_OCEANIC_ATOM2, 0x454B, DC_TRANSPORT_SERIAL, NULL}, {"Aeris", "A300CS", DC_FAMILY_OCEANIC_ATOM2, 0x454C, DC_TRANSPORT_SERIAL, NULL}, {"Beuchat", "Mundial 3", DC_FAMILY_OCEANIC_ATOM2, 0x4550, DC_TRANSPORT_SERIAL, NULL}, - {"Oceanic", "Pro Plus X", DC_FAMILY_OCEANIC_ATOM2, 0x4552, DC_TRANSPORT_SERIAL, NULL}, + {"Oceanic", "Pro Plus X", DC_FAMILY_OCEANIC_ATOM2, 0x4552, DC_TRANSPORT_SERIAL | DC_TRANSPORT_BLE, NULL}, {"Oceanic", "F10", DC_FAMILY_OCEANIC_ATOM2, 0x4553, DC_TRANSPORT_SERIAL, NULL}, {"Oceanic", "F11", DC_FAMILY_OCEANIC_ATOM2, 0x4554, DC_TRANSPORT_SERIAL, NULL}, {"Subgear", "XP-Air", DC_FAMILY_OCEANIC_ATOM2, 0x4555, DC_TRANSPORT_SERIAL, NULL},