Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. In English - please - pairing Bluetooth QT style.

In English - please - pairing Bluetooth QT style.

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 453 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Anonymous_Banned275
    wrote on last edited by
    #1

    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().

    1 Reply Last reply
    0
    • C Offline
      C Offline
      ChrisW67
      wrote on last edited by
      #2

      @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:
      2650fbf0-c903-45cc-833c-42e02a6d7caf-image.png

      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).

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved