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. btchat does not find any Bluetooth devices
QtWS25 Last Chance

btchat does not find any Bluetooth devices

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 123 Views
  • 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 3 Jan 2022, 16:25 last edited by Anonymous_Banned275 1 Jul 2022, 22:09
    #1

    A question to the forum users

    Did anybody successfully implemented this Bluetooth example ?
    I am not getting any SIGNALS indicating a device was found , only the usual timeout .

    I did try different QT versions with same result and not having any issues with btscanner.

    ADDENDUM
    It appears the "chat" needs to have matching "service" .
    I got the "connect" and "scanning " intermittently to find a "remote " device using different local adapter. It sure takes long time to "find" the device.

    ADDENDUM #2
    I finally got it working - I get connection to "custom service " after about 20 seconds. I have two local Bluetooth adapters and have to select the second one - not the "default" to get consistent, repeatable connection.
    Apparently the adapter "service" has to match remote service.
    With only one adapter I don't even get the correct form.
    ADDENDUM #3
    It looks as QBluetoothServiceDiscoveryAgent timeout is random.
    And when it gets to the ridiculous time over 2 minutes - reboot!

    1 Reply Last reply
    0

    1/1

    3 Jan 2022, 16:25

    • Login

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