summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qlowenergycontroller.cpp
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@qt.io>2016-11-08 16:41:37 +0100
committerAlex Blasche <alexander.blasche@qt.io>2016-11-09 09:41:48 +0000
commit8dbae51970970ddc43688301036180c1c7814450 (patch)
tree46d1d48c8099e4ce87d131fef690c83f1941c5bc /src/bluetooth/qlowenergycontroller.cpp
parent738edb3a5891f26e7da930e1521c5e80aeffa860 (diff)
Highlight 31 byte limit for scan and response data in BTLE docs
Task-number: QTBUG-54457 Change-Id: Ib97dc769cef757a9997fa80a107ac8df4da958cf Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
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 c152ded2..6581c4ad 100644
--- a/src/bluetooth/qlowenergycontroller.cpp
+++ b/src/bluetooth/qlowenergycontroller.cpp
@@ -813,7 +813,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.