if(socket->peerAddress().toString()!=addressToConnect)
i did it that way, where
socket
- object of QBluetoothSocket
addressToConnect
- QString object with contains address that socket been connected to
but that works only if connected device shuts off, and then turns on again, is there a way to check connection without getting device turning on again, in case it's just lost power, or something of that kind?