notes/bluetooth notes-2DJ4E2Jd.sh
#scan for devices that are discoverable
hcitool scan

#list connected devices

hcitool con

#######Bluetooth audio sync connection#############
bluetoothctl
 power on

 pair <address>
 trust <address>
 connect <address>

#####################reset connection##############
echo "power off"|bluetoothctl

echo "power on"|bluetoothctl
echo "connect <address>"|bluetoothctl

syntax highlighted by Code2HTML, v. 0.9.1