Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-96742

Timing issues in BTLE peripheral on Android

XMLWordPrintable

    • Android
    • 3
    • 4deb789fe67615ebfa99af6f1071d20b0265a2e9 (qt/qtconnectivity/dev) 716bdac1e84874245cfceec5ada17c3525bc1606 (qt/qtconnectivity/6.2) b0d5e01c3160dc734fa8c4f182a1503abcac5d8f (qt/tqtc-qtconnectivity/5.15)
    • Team 1 Foundation_Sprint 45, Team 1 Foundation_Sprint 46, Team 1 Foundation_Sprint 47

      Services are not registered correctly if they are added too fast. The following code leads to incorrect registration of the services and in turn to the problem described above, that the wrong characteristic is read.

          for (const auto &serviceData : serviceDefinitions) {
              services.emplaceBack(leController->addService(serviceData));
          }
      

      The following code leads to correct registration of the services. The correct characteristics are read subsequently.

          for (const auto &serviceData : serviceDefinitions) {
              services.emplaceBack(leController->addService(serviceData));
              std::this_thread::sleep_for (std::chrono::seconds(1));
          }
      

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vuokko Juha Vuolle
            andreasbuhr Andreas Buhr
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes