diff options
-rw-r--r-- | core/qtserialbluetooth.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/qtserialbluetooth.cpp b/core/qtserialbluetooth.cpp index e14d8e9f9..1d59124e5 100644 --- a/core/qtserialbluetooth.cpp +++ b/core/qtserialbluetooth.cpp @@ -149,6 +149,7 @@ static dc_status_t qt_serial_open(void **userdata, const char* devaddr) #if defined(Q_OS_ANDROID) QBluetoothUuid uuid = getBtUuid(); qDebug() << "connecting to Uuid" << uuid; + serial_port->socket->setPreferredSecurityFlags(QBluetooth::NoSecurity); serial_port->socket->connectToService(remoteDeviceAddress, uuid, QIODevice::ReadWrite | QIODevice::Unbuffered); #else serial_port->socket->connectToService(remoteDeviceAddress, 1, QIODevice::ReadWrite | QIODevice::Unbuffered); |