In English - please - pairing Bluetooth QT style.
-
If you "pair " something - it HAS to involve TWO of whatever is being paired.
It appears the QT is setting "pairing status with address"
I can accept "status WITH address " instead of "status OF address"....
BUT 'local device is requesting pairing
with what ???
am I wrong when I read
"local device will pair with whatever remote device some other code discovered "?As of now my single local Bluetooth adapter is paired with ALL of mine remote Bluetooth devices.
Time to find out why....back to the code
void QBluetoothLocalDevice::requestPairing(const QBluetoothAddress &address, QBluetoothLocalDevice::Pairing pairing)
Set the pairing status with address. The results are returned by the signal, pairingFinished(). -
@AnneRanch said in In English - please - pairing Bluetooth QT style.:
If you "pair " something - it HAS to involve TWO of whatever is being paired.
Uh huh.
As for this stream of consciousness:
It appears the QT is setting "pairing status with address"
I can accept "status WITH address " instead of "status OF address"....
BUT 'local device is requesting pairing
with what ???
am I wrong when I read
"local device will pair with whatever remote device some other code discovered "?I can only guess that you complaining about something related to QBluetoothLocalDevice::requestPairing()
This function will pair the local device, i.e. the Qt device, with the specific other Bluetooth device identified by the first argument. This is the two devices involved.
Your local device may be able to see many other Bluetooth devices it may pair with. Unless you pair with them they remain just other devices.
The btscanner example, that you so love to hate, clearly shows the difference:
The phone is paired with my desktop machine. The JBL Flip 5 speaker is not.
So,
As of now my single local Bluetooth adapter is paired with ALL of mine remote Bluetooth devices.
Either you are confusing visible devices with paired devices, or your code has actually paired with every device (by design or logic error).