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
#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


Messages In This Thread
RE: cmd line to remove all Bluetooth paired devices - by franktw956 - 06-22-2024, 07:18 AM

Forum Jump: