Unsolved Re-connection automatic after deconnect, BLE
-
Hi every one,
I need to etablish connection between my computer (Qt program) and external device.
And for that, i would like to manage if I lose connection between each other, to reconnect automatically the device without humain help.There is a way to do that ?
place variable = true or whatever..Thank you !
Martial
-
@martial123 What about https://doc.qt.io/qt-5/qbluetoothsocket.html#disconnected ? And connect again when this signal occurs?
-
@jsulm said in Re-connection automatic after deconnect, BLE:
And connect again when this signal occurs?
Yes ! Your right ! I have already see that, but i just want to know, when i configure device and master, if there is parameter to put a certain value to reconnect automatically ( like when you connect your computer to a wifi network, you can click on box to reconnect automatically if you are in range ..)
if not, like you said, when i catch this signal (connect...) I need to try to reconnect device and Central . or before, search why I have this deconnection .
Thanks
-
@martial123 said in Re-connection automatic after deconnect, BLE:
if there is parameter to put a certain value to reconnect automatically
I'm not aware of such a parameter