summaryrefslogtreecommitdiff
path: root/gatoperipheral.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gatoperipheral.cpp')
-rw-r--r--gatoperipheral.cpp12
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 &params)
+{
+ Q_D(const GatoPeripheral);
+ return d->att->setConnectionParameters(params);
+}
+
void GatoPeripheral::parseEIR(quint8 data[], int len)
{
Q_D(GatoPeripheral);