Changeset 02d3289 in subsurface


Ignore:
Timestamp:
May 31, 2017, 10:16:25 PM (3 weeks ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
f5adbe5
Parents:
40f5e2e
Message:

Android BT download: hardcode UUID

While it seemed logical to use the advertized service UUID that doesn't
appear to be working - instead using this hard coded UUID seems to do
the trick. I now did a successful download from my Shearwater Petrel.

Signed-off-by: Dirk Hohndel <dirk@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/qtserialbluetooth.cpp

    r4ed6ae0d r02d3289  
    148148        QBluetoothAddress remoteDeviceAddress(devaddr);
    149149#if defined(Q_OS_ANDROID)
    150         QBluetoothUuid uuid = getBtUuid();
     150        QBluetoothUuid uuid = QBluetoothUuid(QUuid("{00001101-0000-1000-8000-00805f9b34fb}"));
    151151        qDebug() << "connecting to Uuid" << uuid;
    152152        serial_port->socket->setPreferredSecurityFlags(QBluetooth::NoSecurity);
Note: See TracChangeset for help on using the changeset viewer.