aboutsummaryrefslogtreecommitdiffstats
path: root/api/direct_bt
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-09-16 05:35:22 +0200
committerSven Gothel <[email protected]>2021-09-16 05:35:22 +0200
commit4a3b6a4137d5c30e2d685bc3487e7e257cb0a71b (patch)
tree236c1affeef30f765727db010e03bde0bd0373db /api/direct_bt
parent278d7cc36211ddd158d8577f7b796f600498651e (diff)
Doxygen: Add dbt_peripheral00.cpp / DBTPeripheral00.java to Examples and mentione the BTRole
Diffstat (limited to 'api/direct_bt')
-rw-r--r--api/direct_bt/ATTPDUTypes.hpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/api/direct_bt/ATTPDUTypes.hpp b/api/direct_bt/ATTPDUTypes.hpp
index c27be781..f074b069 100644
--- a/api/direct_bt/ATTPDUTypes.hpp
+++ b/api/direct_bt/ATTPDUTypes.hpp
@@ -1477,7 +1477,7 @@ namespace direct_bt {
}
/** \example dbt_scanner10.cpp
- * This _dbt_scanner10_ C++ scanner example uses the Direct-BT fully event driven workflow
+ * This _dbt_scanner10_ C++ scanner ::BTRole::Master example uses the Direct-BT fully event driven workflow
* and adds multithreading, i.e. one thread processes each found device found
* as notified via the event listener.
*
@@ -1495,6 +1495,11 @@ namespace direct_bt {
* ../scripts/run-dbt_scanner10.sh -dev C0:26:DA:01:DA:B1
* ~~~
*
+ * * Read device C0:26:DA:01:DA:B1 (using default auto-sec w/ keyboard iocap) from adapter 01:02:03:04:05:06
+ * ~~~
+ * ../scripts/run-dbt_scanner10.sh -adapter adapter 01:02:03:04:05:06 -dev C0:26:DA:01:DA:B1
+ * ~~~
+ *
* * Read device C0:26:DA:01:DA:B1 (enforcing no security)
* ~~~
* ../scripts/run-dbt_scanner10.sh -dev C0:26:DA:01:DA:B1 -seclevel C0:26:DA:01:DA:B1 1
@@ -1528,6 +1533,10 @@ namespace direct_bt {
* ~~~
*/
+/** \example dbt_peripheral00.cpp
+ * This _dbt_peripheral00__ C++ peripheral ::BTRole::Slave example uses the Direct-BT fully event driven workflow.
+ */
+
/** \example dbt_scanner00.cpp
* This C++ direct_bt scanner example is a TinyB backward compatible and not fully event driven.
* It uses a more simple high-level approach via semantic GATT types (Service, Characteristic, ..)