Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.15.6
-
None
-
-
21
-
007dcbf074a9e4d72e2a29a4a28ac5e502830e20 (qt/qtconnectivity/dev) e05deb028aa600781d8ef695a734ad6898948ef7 (qt/qtconnectivity/6.2) 359721c3b4c099b3bd00ae72b51935d38a0ec640 (qt/tqtc-qtconnectivity/5.15)
-
Team 1 Foundation_Sprint 42
Description
The "connectToDevice()" method hangs when trying to connect to a disconnected/non-reachable device on Windows:
void MyClass::connect() { QBluetoothDeviceInfo info; m_controller = new QLowEnergyController(info, nullptr); m_controller->setRemoteAddressType(QLowEnergyController::PublicAddress); m_controller->connectToDevice(); // this hangs }
The following message is printed repeatedly in the debug output:
qt.bluetooth.winrt: Characteristic operation failed
Attachments
Issue Links
- relates to
-
QTBUG-78282 Crash in QLowEnergyControllerPrivateWinRT::connectToDevice when turning off BLE device during service discovery
- Closed
-
QTBUG-89149 QLowEnergyController::connectToDevice
- Closed
For Gerrit Dashboard: QTBUG-80719 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
370700,4 | QLowEnergyController(WinRT): introduce timeout for connection | dev | qt/qtconnectivity | Status: MERGED | +2 | 0 |
371112,2 | QLowEnergyController(WinRT): introduce timeout for connection | 6.2.0 | qt/qtconnectivity | Status: ABANDONED | 0 | 0 |
371399,2 | QLowEnergyController(WinRT): introduce timeout for connection | 6.2 | qt/qtconnectivity | Status: MERGED | +2 | 0 |
371400,4 | QLowEnergyController(WinRT): introduce timeout for connection | tqtc/lts-5.15 | qt/tqtc-qtconnectivity | Status: MERGED | +2 | 0 |