summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-09-20 22:48:09 +0200
committerSven Gothel <[email protected]>2020-09-20 22:48:09 +0200
commit748d20bb0c8333185c3a4d428cd36f019d577934 (patch)
tree6b4ef53130745c74addd731627581dc20cefa664 /examples
parentf2e1a6b9ce05d5e919cd4118004126be02f77326 (diff)
Examples dbt_scanner10, ScannerTinyB10: Realign arguments in help dump
Diffstat (limited to 'examples')
-rw-r--r--examples/direct_bt_scanner10/dbt_scanner10.cpp3
-rw-r--r--examples/java/ScannerTinyB10.java6
2 files changed, 5 insertions, 4 deletions
diff --git a/examples/direct_bt_scanner10/dbt_scanner10.cpp b/examples/direct_bt_scanner10/dbt_scanner10.cpp
index 1e559262..03cc7296 100644
--- a/examples/direct_bt_scanner10/dbt_scanner10.cpp
+++ b/examples/direct_bt_scanner10/dbt_scanner10.cpp
@@ -498,8 +498,9 @@ int main(int argc, char *argv[])
}
fprintf(stderr, "pid %d\n", getpid());
- fprintf(stderr, "Run with '[-dev_id <adapter-index>] [-btmode <BT-MODE>] (-mac <device_address>)* (-wl <device_address>)* "
+ fprintf(stderr, "Run with '[-dev_id <adapter-index>] [-btmode LE|BREDR|DUAL] "
"[-disconnect] [-count <number>] [-single] [-show_update_events] [-silent_gatt] "
+ "(-mac <device_address>)* (-wl <device_address>)* "
"[-dbt_verbose [true|false]] "
"[-dbt_debug [true|false|adapter.event,gatt.data,hci.event,mgmt.event]] "
"[-dbt_mgmt cmd.timeout=3000,ringsize=64,... "
diff --git a/examples/java/ScannerTinyB10.java b/examples/java/ScannerTinyB10.java
index 9afa2280..8c5f8ac7 100644
--- a/examples/java/ScannerTinyB10.java
+++ b/examples/java/ScannerTinyB10.java
@@ -572,10 +572,10 @@ public class ScannerTinyB10 {
test.MULTI_MEASUREMENTS = -1;
}
}
- println("Run with '[-default_dev_id <adapter-index>] [-dev_id <adapter-index>] [-btmode <BT-MODE>] "+
- "(-mac <device_address>)* (-wl <device_address>)* "+
- "[-disconnect] [-count <number>] [-single] (-char <uuid>)* [-show_update_events] [-silent_gatt]"+
+ println("Run with '[-default_dev_id <adapter-index>] [-dev_id <adapter-index>] [-btmode LE|BREDR|DUAL] "+
"[-bluetoothManager <BluetoothManager-Implementation-Class-Name>] "+
+ "[-disconnect] [-count <number>] [-single] (-char <uuid>)* [-show_update_events] [-silent_gatt]"+
+ "(-mac <device_address>)* (-wl <device_address>)* "+
"[-verbose] [-debug] "+
"[-dbt_verbose [true|false]] "+
"[-dbt_debug [true|false|adapter.event,gatt.data,hci.event,mgmt.event]] "+