summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-10-25 10:33:12 +0100
committerSven Gothel <[email protected]>2020-10-25 10:33:12 +0100
commit5f6fdee65c34337b1ade27de59192dbfe613317d (patch)
treea4e674e07e9d516ef3cea2bf6d67dcb93bf87bd6 /scripts
parent530db7b53364c7ba3460d2db8bde53bf2a20ef3f (diff)
Add ChangedAdapterSetCallback (C++), ChangedAdapterSetListener (Java) for [DBT|Bluetooth]Manager, enabling fully event driven workflow w/ adapter add/remove
Diffstat (limited to 'scripts')
-rw-r--r--scripts/run-dbt_scanner10.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/run-dbt_scanner10.sh b/scripts/run-dbt_scanner10.sh
index b7e1ba51..decd767a 100644
--- a/scripts/run-dbt_scanner10.sh
+++ b/scripts/run-dbt_scanner10.sh
@@ -11,6 +11,10 @@
# ../scripts/run-dbt_scanner10.sh -wait -wl 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
#
+# To do a BT adapter removal/add via software, assuming the device is '1-4' (Bus 1.Port 4):
+# echo '1-4' > /sys/bus/usb/drivers/usb/unbind
+# echo '1-4' > /sys/bus/usb/drivers/usb/bind
+
sdir=`dirname $(readlink -f $0)`
rootdir=`dirname $sdir`