Skip to content

Instantly share code, notes, and snippets.

@duncan-bayne
Last active March 29, 2017 23:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save duncan-bayne/80c3fe5911a390ede03cda9688956d9f to your computer and use it in GitHub Desktop.
Save duncan-bayne/80c3fe5911a390ede03cda9688956d9f to your computer and use it in GitHub Desktop.
➜ ~ sudo service bluetooth start ubt0
➜ ~ sudo hccontrol -n ubt0hci remote_name_request 00:18:00:3b:92:34
BD_ADDR: 00:18:00:3b:92:34
Name: FILCO Bluetooth Keyboard
➜ ~ sudo cat /etc/bluetooth/hcsecd.conf
# ... snip ...
device {
bdaddr 00:18:00:3b:92:34;
name "FILCO Bluetooth Keyboard";
key nokey;
pin nopin;
}
➜ ~ sudo hccontrol -n ubt0hci read_connection_list
Remote BD_ADDR Handle Type Mode Role Encrypt Pending Queue State
➜ ~ sudo service bluetooth restart
/etc/rc.d/bluetooth: ERROR: Unsupported device:
/etc/rc.d/bluetooth: ERROR: Unsupported device:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment