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. Bluetooth Low Energy - disconnecting when discovering service details
QtWS25 Last Chance

Bluetooth Low Energy - disconnecting when discovering service details

Scheduled Pinned Locked Moved Unsolved General and Desktop
bluetooth low elowenergyscannebluez5bluetooth
2 Posts 2 Posters 712 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.
  • M Offline
    M Offline
    Marc_K
    wrote on last edited by
    #1

    Hello, when I scan services with LowEnergyScanner app, everything works fine, but when I connect to a service in order to get characteristics, the connection with device breaks, and I get an output:

    qt.bluetooth.bluez: Aborting onCharReadFinished due to disconnect
    

    It happens only for one, vendor-specific service. I debugged the code, and disconnection takes place when 'discoverDetails()' function is called by the service. Also, I connected with the device via gatttool, and there was no problem with discovering all services and their characteristics, so I assume, the problem must be somewhere in Qt code.
    I currently use Qt 5.13.2 and BlueZ 5.48.
    What may be the cause of such problem? Is there any solution to fix it? Thank you in advance

    1 Reply Last reply
    0
    • M Offline
      M Offline
      MarcoChiesi79
      wrote on last edited by
      #2

      I have exactly the same problem see my topic. Actually I did not find any solution

      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