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. Find Mobile devices with QtBluetooth
Forum Updated to NodeBB v4.3 + New Features

Find Mobile devices with QtBluetooth

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 264 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.
  • F Offline
    F Offline
    fazwi
    wrote on last edited by
    #1

    Hello,
    I've been trying to use the lib QtBluetooth to find nearby mobile devices, but I can't seem to make it work. I started from the btscanner and lowenergyscanner examples, and adapted it a bit to be a console app. It is able to detect some devices around (mostly house control stuff, and the shared bikes passing around) but not my phone or tablet, unless I try to pair one of them with my computer, only them can it find it.
    Is there some special manipulation to be able to detect them, or is it some kind of limitaion?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      If this is on Windows, then QtBluetooth won't detect devices until you pair them in the system. I think this was fixed in Qt 5.13, but I haven't checked.

      (Z(:^

      1 Reply Last reply
      0
      • F Offline
        F Offline
        fazwi
        wrote on last edited by
        #3

        Oh right I forgot to mention that I am on linux and qt 5.13. I'll try to see if I can find whether this issue is fixed or not.

        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