Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved Bluetooth Low Energy - disconnecting when discovering service details

    General and Desktop
    bluetooth low e lowenergyscanne bluez5 bluetooth
    2
    2
    297
    Loading More Posts
    • 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
      Marc_K last edited by

      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 Reply Quote 0
      • M
        MarcoChiesi79 last edited by

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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post