Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.9.1
-
None
-
Windows 10 Creators Update 64bits
msvc2015 64bits
-
-
d55434e4e36132d0c09107f22323b02cd1dff3a9
Description
I try to connect to a Bluetooth Rfcomm SerialPort service using QBluetoothSocket::connectToService(const QBluetoothServiceInfo &service, OpenMode openMode = ReadWrite).
The call returns successfully, after a few seconds the event QBluetoothSocket::error is raised with the error QBluetoothSocket::UnknownSocketError.
The QBluetoothServiceInfo given as parameter is built manually using the QBluetoothDeviceInfo got from the device discovery. The device is paired using Windows configuration interface.
Enabling QLoggingCategory::setFilterRules(QStringLiteral("qt.bluetooth* = true")); shows no additional information.
The same code works using Android.
Attachments
For Gerrit Dashboard: QTBUG-62520 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
260933,5 | winrt: Add limitations to bluetooth overview page | 5.12 | qt/qtconnectivity | Status: MERGED | +2 | 0 |
261221,4 | qbluetoothsocket_winrt: Use recommended service connection approach if possible | 5.13 | qt/qtconnectivity | Status: MERGED | +2 | 0 |
261303,4 | winrt: Make sure that ProtocolDescriptorList is always set for services | 5.13 | qt/qtconnectivity | Status: MERGED | +2 | 0 |