From b41e73a1565ff9edd45f814a4b535020c04b1b15 Mon Sep 17 00:00:00 2001 From: Javier Date: Wed, 17 Sep 2014 00:10:06 +0200 Subject: Bump version, add new GatoConnectionParameters class and ability to change connection parameters. --- gatoattclient.cpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'gatoattclient.cpp') diff --git a/gatoattclient.cpp b/gatoattclient.cpp index 0bf5877..00dd9d0 100644 --- a/gatoattclient.cpp +++ b/gatoattclient.cpp @@ -103,6 +103,27 @@ void GatoAttClient::close() socket->close(); } +GatoSocket::SecurityLevel GatoAttClient::securityLevel() const +{ + return socket->securityLevel(); +} + +bool GatoAttClient::setSecurityLevel(GatoSocket::SecurityLevel level) +{ + required_sec = level; + return socket->setSecurityLevel(level); +} + +GatoConnectionParameters GatoAttClient::connectionParameters() const +{ + return socket->connectionParameters(); +} + +bool GatoAttClient::setConnectionParameters(const GatoConnectionParameters ¶ms) +{ + return socket->setConnectionParameters(params); +} + int GatoAttClient::mtu() const { return cur_mtu; -- cgit v1.2.3