summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qlowenergycontroller.h
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@theqtcompany.com>2015-10-26 16:25:43 +0100
committerAlex Blasche <alexander.blasche@theqtcompany.com>2015-11-20 16:35:36 +0000
commit83c826261d6d6bf9180857c9a9cff3f78b63378d (patch)
tree4c10c7d5341044f75a16e423cfdb8a9dcc969934 /src/bluetooth/qlowenergycontroller.h
parent57353d3f91f89e6e364b9798277048e25b9c63b8 (diff)
Bluetooth: Add API to set up GATT services.
This is the next step in implementing LE peripheral support. Change-Id: I5e8cb186d556e7bfb9ae8a5e60e051ff7398b77d Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/bluetooth/qlowenergycontroller.h')
-rw-r--r--src/bluetooth/qlowenergycontroller.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bluetooth/qlowenergycontroller.h b/src/bluetooth/qlowenergycontroller.h
index 1abc395c..cec0a8cf 100644
--- a/src/bluetooth/qlowenergycontroller.h
+++ b/src/bluetooth/qlowenergycontroller.h
@@ -45,6 +45,7 @@ QT_BEGIN_NAMESPACE
class QLowEnergyAdvertisingParameters;
class QLowEnergyControllerPrivate;
+class QLowEnergyServiceData;
class Q_BLUETOOTH_EXPORT QLowEnergyController : public QObject
{
@@ -120,6 +121,8 @@ public:
const QLowEnergyAdvertisingData &scanResponseData = QLowEnergyAdvertisingData());
void stopAdvertising();
+ QLowEnergyService *addService(const QLowEnergyServiceData &service, QObject *parent = 0);
+
Error error() const;
QString errorString() const;