Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Trouble using the Bluetooth ServiceDiscoveryAgent in Android ...
Forum Updated to NodeBB v4.3 + New Features

Trouble using the Bluetooth ServiceDiscoveryAgent in Android ...

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 1 Posters 501 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.
  • T Offline
    T Offline
    teratux
    wrote on last edited by
    #1

    Hi ... I'm trying to build a small example to scan the available services of a Host that has a running RFcomm server. On the Host side I managed to successfully register a new service with my own UUID and it starts to listen for incoming RFcomm connections. On the Client side I prepared a small Qt app as well that discovers available bluetooth devices with the DeviceDiscoveryAgent and when it finds the one I'm looking for (the Host) I start a ServiceDiscoveryAgent to scan the services on that Host. The Client app works well when I compile it for Linux 64 bits but when I compiled it for Android I can only scan the devices, when I start to scan the services it doesn't find the one I registered earlier. I looked around the documentation to see if there was anything specific about the Android platform that could change the way the two ends behave but I couldn't find anything. All the code I used was mainly from the btscanner example and the ping pong examples.

    Does anyone have any ideas or has anyone managed to get an example like this running ?

    Thanks ...

    1 Reply Last reply
    0
    • T Offline
      T Offline
      teratux
      wrote on last edited by
      #2

      Bump ?? ...

      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