summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qlowenergycontroller.cpp
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2016-11-26 12:52:55 +0100
committerLiang Qi <liang.qi@qt.io>2016-11-28 11:49:13 +0100
commit643999d60d3f76e3d24b1c2dca80533a0a0cdb52 (patch)
treebd5366cde3979c6339febaf1e98699c684cf2fc9 /src/bluetooth/qlowenergycontroller.cpp
parent73e02ede397a03108b8cc0d9a7775448145a0682 (diff)
parent042e26bccd2e53447229035c2b31cc1ab853335e (diff)
Merge remote-tracking branch 'origin/5.7' into 5.8
Conflicts: src/bluetooth/osx/osxbtledeviceinquiry.mm Change-Id: Iefec1aafcb81174b0e1e257246ded08841bf3259
Diffstat (limited to 'src/bluetooth/qlowenergycontroller.cpp')
-rw-r--r--src/bluetooth/qlowenergycontroller.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bluetooth/qlowenergycontroller.cpp b/src/bluetooth/qlowenergycontroller.cpp
index 89e65ce7..4df92a39 100644
--- a/src/bluetooth/qlowenergycontroller.cpp
+++ b/src/bluetooth/qlowenergycontroller.cpp
@@ -842,7 +842,10 @@ QLowEnergyService *QLowEnergyController::createServiceObject(
also starts listening for incoming client connections.
Providing \a scanResponseData is not required, as it is not applicable for certain
- configurations of \c parameters.
+ configurations of \c parameters. \a advertisingData and \a scanResponseData are limited
+ to 31 byte user data. If, for example, several 128bit uuids are added to \a advertisingData,
+ the advertised packets may not contain all uuids. The existing limit may have caused the truncation
+ of uuids. In such cases \a scanResponseData may be used for additional information.
If this object is currently not in the \l UnconnectedState, nothing happens.
\note Advertising will stop automatically once a client connects to the local device.