Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


cmd line to remove all Bluetooth paired devices
#1
Hi,

May I know the cmd line to remove all Bluetooth paired devices / credential ?
Currently needs to have several clicks...[m] à [Renderers] à [OPEN Bluetooth control] à [REMOVE] one by one...

Thanks !
Reply
#2
There is a "REMOVE all devices" in the dropdown list.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
(06-21-2024, 11:34 AM)Tim Curtis Wrote: There is a "REMOVE all devices" in the dropdown list.

ahhh...yes, I found it, thanks for help !
Reply
#4
If you ever need to do it from the command line use blu-control.sh

Code:
pi@moode9usb:~ $ sudo /var/www/util/blu-control.sh -h
** blu-control.sh version 1.6
**
** Bluetooth has a range of around 30 feet (10 meters) but range
** will vary depending on obstacles (metal, wall, etc.), device signal
** strength and quality, and level of electromagnetic interferrence.
**
** Usage: blu-control.sh [OPTION]
**
** -i Initialize/reset controller
** -s Scan (BR/EDR only) and trust devices
** -S Scan (LE and BR/EDR) and trust devices
** -p List paired devices
** -c List connected devices
** -l List trusted devices
** -d Disconnect device <MAC addr>
** -r Remove paired device <MAC addr>
** -P Pair with device <MAC addr>
** -C Connect to device <MAC addr>
** -D Disconnect all devices
** -R Remove all devices
** -h Help
pi@moode9usb:~ $
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#5
(06-22-2024, 01:41 AM)Tim Curtis Wrote: If you ever need to do it from the command line use blu-control.sh

Code:
pi@moode9usb:~ $ sudo /var/www/util/blu-control.sh -h
** blu-control.sh version 1.6
**
** Bluetooth has a range of around 30 feet (10 meters) but range
** will vary depending on obstacles (metal, wall, etc.), device signal
** strength and quality, and level of electromagnetic interferrence.
**
** Usage: blu-control.sh [OPTION]
**
** -i Initialize/reset controller
** -s Scan (BR/EDR only) and trust devices
** -S Scan (LE and BR/EDR) and trust devices
** -p List paired devices
** -c List connected devices
** -l List trusted devices
** -d Disconnect device <MAC addr>
** -r Remove paired device <MAC addr>
** -P Pair with device <MAC addr>
** -C Connect to device <MAC addr>
** -D Disconnect all devices
** -R Remove all devices
** -h Help
pi@moode9usb:~ $

Yes, this is easier than several clicks, thank you Tim !
Code:
sudo /var/www/util/blu-control.sh -R
Reply


Forum Jump: