From 8dbae51970970ddc43688301036180c1c7814450 Mon Sep 17 00:00:00 2001 From: Alex Blasche Date: Tue, 8 Nov 2016 16:41:37 +0100 Subject: Highlight 31 byte limit for scan and response data in BTLE docs Task-number: QTBUG-54457 Change-Id: Ib97dc769cef757a9997fa80a107ac8df4da958cf Reviewed-by: Christian Kandeler --- src/bluetooth/qlowenergycontroller.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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. -- cgit v1.2.3