summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@theqtcompany.com>2014-11-26 14:48:41 +0100
committerAlex Blasche <alexander.blasche@theqtcompany.com>2014-12-01 11:08:47 +0100
commitae3d26661aeaa2917ed35e5892648dea4caced04 (patch)
tree1e996b04cfc14deec47112e3b043b194ad2a1f14 /src
parentae3847db3a4cb17113372cb59955bdaffcec1bea (diff)
Update QLEService::Type() documentation for Android specifics
Android doesn't expose the required API elements to set the correct service type. Therefore all services are by definition primary services too. Change-Id: Ifae4a1baa856382d481ab377b98f05b5b9974a85 Reviewed-by: Timur Pocheptsov <Timur.Pocheptsov@digia.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r--src/bluetooth/qlowenergyservice.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bluetooth/qlowenergyservice.cpp b/src/bluetooth/qlowenergyservice.cpp
index 0ae9ca67..10307332 100644
--- a/src/bluetooth/qlowenergyservice.cpp
+++ b/src/bluetooth/qlowenergyservice.cpp
@@ -357,6 +357,10 @@ QLowEnergyService::ServiceState QLowEnergyService::state() const
/*!
Returns the type of the service.
+
+ \note On Android, it is not possible to determine whether a service
+ is a primary or secondary service. Therefore all services
+ have the \l PrimaryService flag set.
*/
QLowEnergyService::ServiceTypes QLowEnergyService::type() const
{