aboutsummaryrefslogtreecommitdiffstats
path: root/api/direct_bt/DBGattServer.hpp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2022-01-24 19:04:05 +0100
committerSven Gothel <[email protected]>2022-01-24 19:04:05 +0100
commit62ecc0a7619504678c7036e14919ee8c732f50a5 (patch)
treeddd188736ced94c9ae235496627992f26b9ba0f4 /api/direct_bt/DBGattServer.hpp
parent289d029b203c98a4a96bb09e99a79ccc995f4332 (diff)
Enhance API doc: DBGattServer::Listener (C++) and DBGattServer.Listener (java)
Diffstat (limited to 'api/direct_bt/DBGattServer.hpp')
-rw-r--r--api/direct_bt/DBGattServer.hpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/api/direct_bt/DBGattServer.hpp b/api/direct_bt/DBGattServer.hpp
index 144592b7..e646ee76 100644
--- a/api/direct_bt/DBGattServer.hpp
+++ b/api/direct_bt/DBGattServer.hpp
@@ -641,6 +641,9 @@ namespace direct_bt {
virtual void mtuChanged(BTDeviceRef device, const uint16_t mtu) = 0;
/**
+ * Signals attempt to read a value.
+ *
+ * Callee shall accept the read request by returning true, otherwise false.
*
* @param device
* @param s
@@ -650,6 +653,9 @@ namespace direct_bt {
virtual bool readCharValue(BTDeviceRef device, DBGattServiceRef s, DBGattCharRef c) = 0;
/**
+ * Signals attempt to read a value.
+ *
+ * Callee shall accept the read request by returning true, otherwise false.
*
* @param device
* @param s
@@ -660,6 +666,9 @@ namespace direct_bt {
virtual bool readDescValue(BTDeviceRef device, DBGattServiceRef s, DBGattCharRef c, DBGattDescRef d) = 0;
/**
+ * Signals attempt to write a single or bulk (prepare) value.
+ *
+ * Callee shall accept the write request by returning true, otherwise false.
*
* @param device
* @param s
@@ -672,6 +681,9 @@ namespace direct_bt {
const jau::TROOctets & value, const uint16_t value_offset) = 0;
/**
+ * Signals attempt to write a single or bulk (prepare) value.
+ *
+ * Callee shall accept the write request by returning true, otherwise false.
*
* @param device
* @param s
@@ -685,6 +697,7 @@ namespace direct_bt {
const jau::TROOctets & value, const uint16_t value_offset) = 0;
/**
+ * Notifies a change of the Client Characteristic Configuration Descriptor (CCCD) value.
*
* @param device
* @param s