Changeset 5c98cf3 in subsurface


Ignore:
Timestamp:
Apr 28, 2017, 5:55:22 PM (5 months ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
b641757
Parents:
cd27c1c
git-author:
Robert C. Helling <helling@…> (04/28/17 12:30:39)
git-committer:
Dirk Hohndel <dirk@…> (04/28/17 17:55:22)
Message:

Change the Bluetooth connect call signature

By copying a line from the Linux bluetooth code I can download
from OSTC dive computers on Mac. Don't ask me why this works.

Signed-off-by: Robert C. Helling <helling@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/qtserialbluetooth.cpp

    rb2c13f4 r5c98cf3  
    133133        // Try to connect to the device using the uuid of the Serial Port Profile service
    134134        QBluetoothAddress remoteDeviceAddress(devaddr);
    135         serial_port->socket->connectToService(remoteDeviceAddress, QBluetoothUuid(QBluetoothUuid::SerialPort));
     135        serial_port->socket->connectToService(remoteDeviceAddress, 1, QIODevice::ReadWrite | QIODevice::Unbuffered);
    136136        timer.start(msec);
    137137        loop.exec();
Note: See TracChangeset for help on using the changeset viewer.