Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.7
-
None
-
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
For Gerrit Dashboard: QTBUG-51152 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
149489,2 | Bluetooth LE: Give rationale for API design regarding included services. | 5.7 | qt/qtconnectivity | Status: MERGED | +2 | 0 |