diff options
author | Sven Gothel <[email protected]> | 2022-01-17 07:49:56 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2022-01-17 07:49:56 +0100 |
commit | 70fde9effee66bafac0e218d1253e8d3cf730d25 (patch) | |
tree | bb7a304efb9ef370d2423227d948cbab0c21e6b1 /scripts | |
parent | fb9b859897a16108cb9b6a66ca8f675b94957935 (diff) |
bluez-btreset: Add setting local name
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/bluez-btreset.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/bluez-btreset.sh b/scripts/bluez-btreset.sh index aa85cfe2..e2b4e40a 100755 --- a/scripts/bluez-btreset.sh +++ b/scripts/bluez-btreset.sh @@ -3,6 +3,10 @@ reset_dev() { dev=$1 echo "Reset ${dev}" + sudo hciconfig ${dev} up + sudo hciconfig ${dev} name + sudo hciconfig ${dev} name name_${dev} + sudo hciconfig ${dev} name sudo hciconfig ${dev} reset sudo hciconfig ${dev} down } |