Priority: P3: Somewhat important
Affects Version/s: 5.15.0
Fix Version/s: None
Component/s: Connectivity: Bluetooth
Environment:I'm developing under Qt Creator on Windows 10 (last release)
The remote device is a embedded system developped with a chip from u-blox (this is not a Qt code)
Is it possible to connect multiple peripheral devices to a Qt app on Windows 10 ?
Using "connectToDevice()" is successful for both devices.
Then I have no problem exchanging with the first one.
But when I write in the characteristic of the second remote device, the connection with this device is immediately lost (Invalid service : loss of connection with the underlying device). The connection with the first device remains active.
My QlowEnergyController(s) are separated for every device. Indeed, I duplicated every Qt Bluetooth class (QlowEnergyController, QLowEnergyService, QBluetoothDeviceDiscoveryAgent...) to confirm it is not the problem.
Some more information I can give you :
Here are the messages I got from the Bluetooth stack when I try to send the first message to the second remote device (the first one is already connected) :
The signal "QLowEnergyService::stateChanged" is emitted when I write in the characteristic. The state sent is : QLowEnergyService::InvalidService.
Moreover, I can confirm that I can write in the descriptor of both devices (descriptorWritten signal is emitted) : m_pFifoService->writeDescriptor(notificationDesc, QByteArray::fromHex("0100"));