From ae3d26661aeaa2917ed35e5892648dea4caced04 Mon Sep 17 00:00:00 2001 From: Alex Blasche Date: Wed, 26 Nov 2014 14:48:41 +0100 Subject: 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 Reviewed-by: Alex Blasche --- src/bluetooth/qlowenergyservice.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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 { -- cgit v1.2.3