diff options
author | Sven Gothel <[email protected]> | 2020-09-16 11:49:24 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-09-16 11:49:24 +0200 |
commit | 435625d36a3aadebce8d6f53a301db687704a119 (patch) | |
tree | 76f61195fec9549dec562bb60a7351883bce738f /scripts | |
parent | deb70848b14bb77a97224de16b0dc8732aae9cc0 (diff) |
test scripts/run-*.sh: Add commented out example for env-var 'direct_bt_debug'; Echo COMMANDLINE and debug env-var.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/run-dbt_scanner00.sh | 5 | ||||
-rw-r--r-- | scripts/run-dbt_scanner01.sh | 5 | ||||
-rw-r--r-- | scripts/run-dbt_scanner10.sh | 3 | ||||
-rw-r--r-- | scripts/run-java-scanner00.sh | 5 | ||||
-rw-r--r-- | scripts/run-java-scanner01.sh | 5 | ||||
-rw-r--r-- | scripts/run-java-scanner02.sh | 5 | ||||
-rw-r--r-- | scripts/run-java-scanner10.sh | 5 |
7 files changed, 33 insertions, 0 deletions
diff --git a/scripts/run-dbt_scanner00.sh b/scripts/run-dbt_scanner00.sh index 0fddf9a4..b265123c 100644 --- a/scripts/run-dbt_scanner00.sh +++ b/scripts/run-dbt_scanner00.sh @@ -1,5 +1,6 @@ #!/bin/sh +# export direct_bt_debug=hci.event,mgmt.event,gatt.data # # ../scripts/run-dbt_scanner00.sh -wait -mac C0:26:DA:01:DA:B1 2>&1 | tee ~/scanner-h01-dbt00.log # @@ -14,5 +15,9 @@ fi export LANG=en_US.UTF-8 export LC_MEASUREMENT=en_US.UTF-8 +echo COMMANDLINE $0 $* +echo direct_bt_debug $direct_bt_debug +echo direct_bt_verbose $direct_bt_verbose + #LD_LIBRARY_PATH=`pwd`/lib strace bin/dbt_scanner00 $* LD_LIBRARY_PATH=`pwd`/lib bin/dbt_scanner00 $* diff --git a/scripts/run-dbt_scanner01.sh b/scripts/run-dbt_scanner01.sh index a4bca9a6..44f93b60 100644 --- a/scripts/run-dbt_scanner01.sh +++ b/scripts/run-dbt_scanner01.sh @@ -1,5 +1,6 @@ #!/bin/sh +# export direct_bt_debug=hci.event,mgmt.event,gatt.data # # ../scripts/run-dbt_scanner01.sh -wait -mac C0:26:DA:01:DA:B1 2>&1 | tee ~/scanner-h01-dbt01.log # @@ -14,5 +15,9 @@ fi export LANG=en_US.UTF-8 export LC_MEASUREMENT=en_US.UTF-8 +echo COMMANDLINE $0 $* +echo direct_bt_debug $direct_bt_debug +echo direct_bt_verbose $direct_bt_verbose + #LD_LIBRARY_PATH=`pwd`/lib strace bin/dbt_scanner01 $* LD_LIBRARY_PATH=`pwd`/lib bin/dbt_scanner01 $* diff --git a/scripts/run-dbt_scanner10.sh b/scripts/run-dbt_scanner10.sh index 899a54e2..122d7485 100644 --- a/scripts/run-dbt_scanner10.sh +++ b/scripts/run-dbt_scanner10.sh @@ -1,5 +1,6 @@ #!/bin/sh +# export direct_bt_debug=hci.event,mgmt.event=false,gatt.data # export direct_bt_debug=hci.event,mgmt.event,gatt.data # # ../scripts/run-dbt_scanner10.sh -wait -mac C0:26:DA:01:DA:B1 2>&1 | tee ~/scanner-h01-dbt10.log @@ -17,7 +18,9 @@ fi export LANG=en_US.UTF-8 export LC_MEASUREMENT=en_US.UTF-8 +echo COMMANDLINE $0 $* echo direct_bt_debug $direct_bt_debug +echo direct_bt_verbose $direct_bt_verbose #LD_LIBRARY_PATH=`pwd`/lib strace bin/dbt_scanner10 $* LD_LIBRARY_PATH=`pwd`/lib bin/dbt_scanner10 $* diff --git a/scripts/run-java-scanner00.sh b/scripts/run-java-scanner00.sh index 7bae85d1..f7118a19 100644 --- a/scripts/run-java-scanner00.sh +++ b/scripts/run-java-scanner00.sh @@ -1,5 +1,6 @@ #!/bin/sh +# export direct_bt_debug=hci.event,mgmt.event,gatt.data # # ../scripts/run-java-scanner00.sh -wait -mac C0:26:DA:01:DA:B1 2>&1 | tee ~/scanner-h01-java00.log # @@ -13,4 +14,8 @@ fi export LANG=en_US.UTF-8 export LC_MEASUREMENT=en_US.UTF-8 +echo COMMANDLINE $0 $* +echo direct_bt_debug $direct_bt_debug +echo direct_bt_verbose $direct_bt_verbose + java -cp lib/java/tinyb2.jar:bin/java/ScannerTinyB00.jar -Djava.library.path=`pwd`/lib ScannerTinyB00 $* diff --git a/scripts/run-java-scanner01.sh b/scripts/run-java-scanner01.sh index be3a543c..5d370641 100644 --- a/scripts/run-java-scanner01.sh +++ b/scripts/run-java-scanner01.sh @@ -1,5 +1,6 @@ #!/bin/sh +# export direct_bt_debug=hci.event,mgmt.event,gatt.data # # ../scripts/run-java-scanner01.sh -wait -mac C0:26:DA:01:DA:B1 -mode 0 2>&1 | tee ~/scanner-h01-java01.log # @@ -17,4 +18,8 @@ fi export LANG=en_US.UTF-8 export LC_MEASUREMENT=en_US.UTF-8 +echo COMMANDLINE $0 $* +echo direct_bt_debug $direct_bt_debug +echo direct_bt_verbose $direct_bt_verbose + java -cp lib/java/tinyb2.jar:bin/java/ScannerTinyB01.jar -Djava.library.path=`pwd`/lib ScannerTinyB01 $* diff --git a/scripts/run-java-scanner02.sh b/scripts/run-java-scanner02.sh index a8459cb9..51664ae4 100644 --- a/scripts/run-java-scanner02.sh +++ b/scripts/run-java-scanner02.sh @@ -1,5 +1,6 @@ #!/bin/sh +# export direct_bt_debug=hci.event,mgmt.event,gatt.data # # ../scripts/run-java-scanner02.sh -wait -mac C0:26:DA:01:DA:B1 -mode 0 2>&1 | tee ~/scanner-h01-java02.log # @@ -17,4 +18,8 @@ fi export LANG=en_US.UTF-8 export LC_MEASUREMENT=en_US.UTF-8 +echo COMMANDLINE $0 $* +echo direct_bt_debug $direct_bt_debug +echo direct_bt_verbose $direct_bt_verbose + java -cp lib/java/tinyb2.jar:bin/java/ScannerTinyB02.jar -Djava.library.path=`pwd`/lib ScannerTinyB02 $* diff --git a/scripts/run-java-scanner10.sh b/scripts/run-java-scanner10.sh index ecb74b1f..0a6dd883 100644 --- a/scripts/run-java-scanner10.sh +++ b/scripts/run-java-scanner10.sh @@ -1,5 +1,6 @@ #!/bin/sh +# export direct_bt_debug=hci.event,mgmt.event,gatt.data # # ../scripts/run-java-scanner10.sh -wait -mac C0:26:DA:01:DA:B1 2>&1 | tee ~/scanner-h01-java10.log # ../scripts/run-java-scanner10.sh -wait -wl C0:26:DA:01:DA:B1 2>&1 | tee ~/scanner-h01-java10.log @@ -15,4 +16,8 @@ fi export LANG=en_US.UTF-8 export LC_MEASUREMENT=en_US.UTF-8 +echo COMMANDLINE $0 $* +echo direct_bt_debug $direct_bt_debug +echo direct_bt_verbose $direct_bt_verbose + java -cp lib/java/tinyb2.jar:bin/java/ScannerTinyB10.jar -Djava.library.path=`pwd`/lib ScannerTinyB10 $* |