diff options
author | Paul Nettle <nettle.paul@gmail.com> | 2017-09-01 13:23:34 -0500 |
---|---|---|
committer | Paul Nettle <nettle.paul@gmail.com> | 2017-09-01 13:23:34 -0500 |
commit | 322aeccbe9065863246078da3a945e8f9983d2c5 (patch) | |
tree | 5288c9f4a338e80e6e9ac4ed9e682536b3e6871d /src/GattCharacteristic.cpp | |
parent | Removed null-terminators from strings being built into Variants as byte arrays. (diff) | |
download | gobbledegook-322aeccbe9065863246078da3a945e8f9983d2c5.tar.gz gobbledegook-322aeccbe9065863246078da3a945e8f9983d2c5.tar.bz2 gobbledegook-322aeccbe9065863246078da3a945e8f9983d2c5.zip |
Cleaned up the logging a bit, improved server termination status returned from ggkWait.
Diffstat (limited to 'src/GattCharacteristic.cpp')
-rw-r--r-- | src/GattCharacteristic.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/GattCharacteristic.cpp b/src/GattCharacteristic.cpp index 2c43c9e..9bfafd9 100644 --- a/src/GattCharacteristic.cpp +++ b/src/GattCharacteristic.cpp @@ -41,6 +41,8 @@ #include "Utils.h" #include "Logger.h" +namespace ggk { + // // Standard constructor // @@ -170,7 +172,7 @@ bool GattCharacteristic::callOnUpdatedValue(GDBusConnection *pConnection, void * return false; } - Logger::info(SSTR << "Calling OnUpdatedValue function for interface at path '" << getPath() << "'"); + Logger::trace(SSTR << "Calling OnUpdatedValue function for interface at path '" << getPath() << "'"); return pOnUpdatedValueFunc(*this, pConnection, pUserData); } @@ -215,3 +217,5 @@ void GattCharacteristic::sendChangeNotificationVariant(GDBusConnection *pBusConn GVariant *pSasv = g_variant_new("(sa{sv})", "org.bluez.GattCharacteristic1", &builder); owner.emitSignal(pBusConnection, "org.freedesktop.DBus.Properties", "PropertiesChanged", pSasv); } + +}; // namespace ggk
\ No newline at end of file |