summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qlowenergyserviceinfo_p.h
diff options
context:
space:
mode:
authorNedim Hadzic <nhadzic@blackberry.com>2014-03-07 18:19:02 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-11 11:02:05 +0100
commit2f133076fb91ecadadef4a8e28cd6c5d9b431f71 (patch)
treed809f5ca15a4c5bc06964c008d58ab4ab2bdd1b6 /src/bluetooth/qlowenergyserviceinfo_p.h
parent10126f30e5f5dec0c13ed11ae302a76bc5fa6da0 (diff)
BLE communication moved to controller class
BLE communication code was implemented in QLowEnergyServiceInfo class. It is moved now to the QLowEnergyController class. Needed adjustments are done in order to make this work. Change-Id: I9206d2324ad59f79f4e035509e23f5c7f7cfb328 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/bluetooth/qlowenergyserviceinfo_p.h')
-rw-r--r--src/bluetooth/qlowenergyserviceinfo_p.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/bluetooth/qlowenergyserviceinfo_p.h b/src/bluetooth/qlowenergyserviceinfo_p.h
index aa7b0675..d033a613 100644
--- a/src/bluetooth/qlowenergyserviceinfo_p.h
+++ b/src/bluetooth/qlowenergyserviceinfo_p.h
@@ -60,6 +60,7 @@ class QLowEnergyProcess;
class QLowEnergyServiceInfoPrivate: public QObject
{
Q_OBJECT
+ friend class QLowEnergyControllerPrivate;
public:
QLowEnergyServiceInfoPrivate();
@@ -80,21 +81,11 @@ public:
QLowEnergyServiceInfo::ServiceType serviceType;
bool connected;
QBluetoothDeviceInfo deviceInfo;
- QString errorString;
- bool randomAddress;
#ifdef QT_BLUEZ_BLUETOOTH
QString startingHandle;
QString endingHandle;
QString path;
QBluetoothAddress adapterAddress;
- void connectToTerminal();
- void setHandles();
- void setCharacteristics();
- void setNotifications();
- void readCharacteristicValue();
- void readDescriptors();
-public slots:
- void replyReceived(const QString &reply);
#endif
#ifdef QT_QNX_BLUETOOTH