summaryrefslogtreecommitdiff
path: root/gatoperipheral.h
diff options
context:
space:
mode:
authorJavier <maemo@javispedro.com>2014-09-17 00:10:06 +0200
committerJavier <maemo@javispedro.com>2014-09-17 00:10:06 +0200
commitb41e73a1565ff9edd45f814a4b535020c04b1b15 (patch)
tree832c003e726815c1a284d5663bcf1f721ecc95ef /gatoperipheral.h
parent52e67e59de9bc11cab6cd69e4e403dd9d34582b1 (diff)
downloadlibgato-b41e73a1565ff9edd45f814a4b535020c04b1b15.tar.gz
libgato-b41e73a1565ff9edd45f814a4b535020c04b1b15.zip
Bump version, add new GatoConnectionParameters class and ability to
change connection parameters.
Diffstat (limited to 'gatoperipheral.h')
-rw-r--r--gatoperipheral.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gatoperipheral.h b/gatoperipheral.h
index c8c9023..6b7ab5b 100644
--- a/gatoperipheral.h
+++ b/gatoperipheral.h
@@ -5,6 +5,7 @@
#include "libgato_global.h"
#include "gatouuid.h"
#include "gatoaddress.h"
+#include "gatoconnectionparameters.h"
class GatoService;
class GatoCharacteristic;
@@ -46,6 +47,9 @@ public:
QString name() const;
QList<GatoService> services() const;
+ GatoConnectionParameters connectionParameters() const;
+ bool setConnectionParameters(const GatoConnectionParameters &params);
+
void parseEIR(quint8 data[], int len);
bool advertisesService(const GatoUUID &uuid) const;