diff options
author | Javier <maemo@javispedro.com> | 2014-09-17 00:10:06 +0200 |
---|---|---|
committer | Javier <maemo@javispedro.com> | 2014-09-17 00:10:06 +0200 |
commit | b41e73a1565ff9edd45f814a4b535020c04b1b15 (patch) | |
tree | 832c003e726815c1a284d5663bcf1f721ecc95ef /gatoperipheral.cpp | |
parent | 52e67e59de9bc11cab6cd69e4e403dd9d34582b1 (diff) | |
download | libgato-b41e73a1565ff9edd45f814a4b535020c04b1b15.tar.gz libgato-b41e73a1565ff9edd45f814a4b535020c04b1b15.zip |
Bump version, add new GatoConnectionParameters class and ability to
change connection parameters.
Diffstat (limited to 'gatoperipheral.cpp')
-rw-r--r-- | gatoperipheral.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gatoperipheral.cpp b/gatoperipheral.cpp index 160e302..d15bf99 100644 --- a/gatoperipheral.cpp +++ b/gatoperipheral.cpp @@ -97,6 +97,18 @@ QList<GatoService> GatoPeripheral::services() const return d->services.values(); } +GatoConnectionParameters GatoPeripheral::connectionParameters() const +{ + Q_D(const GatoPeripheral); + return d->att->connectionParameters(); +} + +bool GatoPeripheral::setConnectionParameters(const GatoConnectionParameters ¶ms) +{ + Q_D(const GatoPeripheral); + return d->att->setConnectionParameters(params); +} + void GatoPeripheral::parseEIR(quint8 data[], int len) { Q_D(GatoPeripheral); |