diff --git a/README.md b/README.md index 6acb805..75f4139 100644 --- a/README.md +++ b/README.md @@ -59,3 +59,37 @@ bt-cli/ └── styles.go # Lipgloss styling definitions ``` +## TROUBLESHOOTING bluetooth controls + +``` + +#### bluetooth controls +``` +bluetoothctl power on +bluetoothctl power off + +bluetoothctl scan on +bluetoothctl scan off + +bluetoothctl pair + +bluetoothctl connect +bluetoothctl disconnect + +bluetoothctl devices +``` +To create a connection with the built-in utils, you can follow this slightly more manual process using bluetoothctl. + +hcitool scan # to get the MAC address of your device +bluetoothctl +power on # in case the bluez controller power is off +agent on +scan on # wait for your device's address to show up here +scan off +trust MAC_ADDRESS +pair MAC_ADDRRESS +connect MAC_ADDRESS + +sudo hcitool cc 94:23:6E:6F:23:9D + +then quickly pair and connect with bluetoothctl