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

QLowEnergyServiceData::includedServices() has insufficient API

    XMLWordPrintable

Details

    • cf3ff5892169e56da78d8da9e976692ed171cf73

    Description

      Why does the API describe included services as QLowEnergyServices, not QLowEnergyServiceDatas ?

      The documentation states:

      All objects in this list must have been returned from a call to \l QLowEnergyController::addService

      This is an insufficient assumption. Assume a device setup where every service has an included service. By definition the current API would not be able to define an included service for the first to-be-published service.

      Another good example is a device setup where service A includes service B and service B includes service A. Such circular dependencies are known and possible.

      Attachments

        Activity

          People

            kandeler Christian Kandeler
            ablasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: