aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-09-03 15:39:06 +0200
committerSven Gothel <[email protected]>2020-09-03 15:39:06 +0200
commitd4a48bb4e01810f274af3d5b20c79d9fba6759c6 (patch)
tree9511f1ef52156c1d36ab41b9f25f0d36f0009a50 /java
parentf01c844052258edee87b165055349152622f80f6 (diff)
Fixing Example crossreference and Menu item
The \example tag referring to the example code file must be added to the actual API (header) files.
Diffstat (limited to 'java')
-rw-r--r--java/org/tinyb/BluetoothFactory.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/java/org/tinyb/BluetoothFactory.java b/java/org/tinyb/BluetoothFactory.java
index c7ae09a4..ae50240b 100644
--- a/java/org/tinyb/BluetoothFactory.java
+++ b/java/org/tinyb/BluetoothFactory.java
@@ -521,3 +521,29 @@ public class BluetoothFactory {
/* pp */ static long getStartupTimeMilliseconds() { return t0; }
}
+
+/** \example ScannerTinyB10.java
+ * This Java scanner 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.
+ * <p>
+ * This example represents the recommended utilization of Direct-BT.
+ * </p>
+ */
+
+/** \example ScannerTinyB00.java
+ * This Java scanner example is a TinyB backward compatible and not fully event driven.
+ * It simply polls found devices and shows certain results.
+ * <p>
+ * This example does not represent the recommended utilization of Direct-BT.
+ * </p>
+ */
+
+/** \example ScannerTinyB01.java
+ * This Java scanner example is a TinyB backward compatible and not fully event driven.
+ * It simply polls found devices and shows certain results.
+ * However, the AdapterStatusListener is attached if supported.
+ * <p>
+ * This example does not represent the recommended utilization of Direct-BT.
+ * </p>
+ */