summaryrefslogtreecommitdiff
path: root/gatoperipheral_p.h
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2013-12-05 21:08:48 +0100
committerJavier S. Pedro <maemo@javispedro.com>2013-12-05 21:08:48 +0100
commite3ef07dd34b1d8d39d32fa1e43351b7d54c61336 (patch)
tree9249e42422a4a01c05da77c015a5866c8f94a4f6 /gatoperipheral_p.h
parent5d8428e4f9801fa02df50091954f9d87ccb8a207 (diff)
downloadlibgato-e3ef07dd34b1d8d39d32fa1e43351b7d54c61336.tar.gz
libgato-e3ef07dd34b1d8d39d32fa1e43351b7d54c61336.zip
Rename GatoAtt to GatoAttClient and add WriteType support
Diffstat (limited to 'gatoperipheral_p.h')
-rw-r--r--gatoperipheral_p.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/gatoperipheral_p.h b/gatoperipheral_p.h
index 895270e..1d88ee4 100644
--- a/gatoperipheral_p.h
+++ b/gatoperipheral_p.h
@@ -5,7 +5,7 @@
#include "gatoservice.h"
#include "gatocharacteristic.h"
#include "gatodescriptor.h"
-#include "gatoatt.h"
+#include "gatoattclient.h"
class GatoPeripheralPrivate : public QObject
{
@@ -31,7 +31,7 @@ public:
QMap<GatoHandle, GatoHandle> value_to_characteristic;
QMap<GatoHandle, GatoHandle> descriptor_to_characteristic;
- GatoAtt *att;
+ GatoAttClient *att;
QMap<uint, GatoUUID> pending_primary_reqs;
QMap<uint, GatoHandle> pending_characteristic_reqs;
QMap<uint, GatoHandle> pending_characteristic_read_reqs;
@@ -58,10 +58,10 @@ public slots:
void handleAttConnected();
void handleAttDisconnected();
void handleAttAttributeUpdated(GatoHandle handle, const QByteArray &value, bool confirmed);
- void handlePrimary(uint req, const QList<GatoAtt::AttributeGroupData>& list);
- void handlePrimaryForService(uint req, const QList<GatoAtt::HandleInformation>& list);
- void handleCharacteristic(uint req, const QList<GatoAtt::AttributeData> &list);
- void handleDescriptors(uint req, const QList<GatoAtt::InformationData> &list);
+ void handlePrimary(uint req, const QList<GatoAttClient::AttributeGroupData>& list);
+ void handlePrimaryForService(uint req, const QList<GatoAttClient::HandleInformation>& list);
+ void handleCharacteristic(uint req, const QList<GatoAttClient::AttributeData> &list);
+ void handleDescriptors(uint req, const QList<GatoAttClient::InformationData> &list);
void handleCharacteristicRead(uint req, const QByteArray &value);
void handleDescriptorRead(uint req, const QByteArray &value);
void handleCharacteristicWrite(uint req, bool ok);