diff options
author | Sven Gothel <[email protected]> | 2020-05-24 00:35:13 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-05-24 00:35:13 +0200 |
commit | faffa313cc31c184e861d7bee5f932013e2d9d00 (patch) | |
tree | 599a5ef4dbbc9336d4979a01070f1cf2659dc6e5 /scripts/run-dbt_scanner10.sh | |
parent | 2725d1669e348922276c408aa4f603afbeeee46e (diff) |
ScannerTinyB10.java needs to be aligned to dbt_scanner10.cpp for multithreading test
Diffstat (limited to 'scripts/run-dbt_scanner10.sh')
-rwxr-xr-x | scripts/run-dbt_scanner10.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/run-dbt_scanner10.sh b/scripts/run-dbt_scanner10.sh new file mode 100755 index 00000000..7c4d05e1 --- /dev/null +++ b/scripts/run-dbt_scanner10.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +# +# ../scripts/run-dbt_scanner10.sh -wait -mac C0:26:DA:01:DA:B1 2>&1 | tee ~/scanner-h01-dbt10.log +# ../scripts/run-dbt_scanner10.sh -wait 2>&1 | tee ~/scanner-h01-dbt10.log +# + +if [ ! -e bin/dbt_scanner00 -o ! -e lib/libtinyb.so -o ! -e lib/libdirect_bt.so ] ; then + echo run from dist directory + exit 1 +fi +# hciconfig hci0 reset +#LD_LIBRARY_PATH=`pwd`/lib strace bin/dbt_scanner10 $* +LD_LIBRARY_PATH=`pwd`/lib bin/dbt_scanner10 $* |