[Interest] [Qt BLE] multiple devices connected to an app

Simon FEUTRIER sfeutrier at bluegriot.com
Mon Dec 14 15:25:34 CET 2020


Hi,

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 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)
My QlowEnergyController(s) are separated for every device. Indeed, I
duplicated every Qt Bluetooth class (QlowEnergyController,
QLowEnergyService, QBluetoothDeviceDiscoveryAgent...)

Best regards,

Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20201214/f7c3477d/attachment.html>


More information about the Interest mailing list