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. QLowEnergyService never completes discovery
Qt 6.11 is out! See what's new in the release blog

QLowEnergyService never completes discovery

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
6 Posts 3 Posters 1.2k 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.
  • K Offline
    K Offline
    kgregory
    wrote on last edited by
    #1

    I'm updating some old code that I wrote in QtQuick 5.8.0 for both android and iOS. I've recently updated to QtQuick5.11.1 and one of my QLowEnergyService objects never reaches the discovered state after I run DiscoverDetails() on iOS (works fine on Android). It also works fin for my other QLowEnergyService.

    I get a signal when it goes to the 'Discovering Services' state, but never get another signal for the discovered state. When I subsequently try to write a characteristic, it throws an operation error (as you might expect if it hasn't reached the discovered state).

    Has anyone encountered an issue like this?

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kgregory
      wrote on last edited by
      #2

      I found a work around for this problem by reverting to Qt 5.10.2.

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

        Have you tried with 5.11.2? I'm thinking about upgrading from 5.10.1, but if this issue is still in 5.11.2 then there is no point.

        (Z(:^

        1 Reply Last reply
        0
        • K Offline
          K Offline
          kgregory
          wrote on last edited by
          #4

          Yes, it was still there. I will say that one of my services worked fine, it was just one service that wasn't working for some reason and this one only had an issue on iOS.

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

            Thanks for info

            (Z(:^

            1 Reply Last reply
            0
            • P Offline
              P Offline
              parambo.silvio
              wrote on last edited by
              #6
              This post is deleted!
              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