aboutsummaryrefslogtreecommitdiff
path: root/src/GattCharacteristic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/GattCharacteristic.cpp')
-rw-r--r--src/GattCharacteristic.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/GattCharacteristic.cpp b/src/GattCharacteristic.cpp
index a10c04d..85d411c 100644
--- a/src/GattCharacteristic.cpp
+++ b/src/GattCharacteristic.cpp
@@ -209,6 +209,9 @@ GattDescriptor &GattCharacteristic::gattDescriptorBegin(const std::string &pathE
//
// This is a generalized method that accepts a `GVariant *`. A templated version is available that supports common types called
// `sendChangeNotificationValue()`.
+//
+// The caller may choose to consult HciAdapter::getInstance().getActiveConnectionCount() in order to determine if there are any
+// active connections before sending a change notification.
void GattCharacteristic::sendChangeNotificationVariant(GDBusConnection *pBusConnection, GVariant *pNewValue) const
{
g_auto(GVariantBuilder) builder;