-
-
Save todgru/c508664bf809b28a4e768aaea57c15a0 to your computer and use it in GitHub Desktop.
Connect Apple Wireless Keyboard to Raspberry Pi 3 in Raspbian
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo service bluetooth status # Verify bluetooth is active. | |
sudo bluetoothctl # Lauch bluetooth subshell. | |
agent on # [No idea what this does.] | |
default-agent # [No idea what this does.] | |
scan on # Displays a list of available devices. | |
pair XX:XX:XX:XX:XX:XX # This prepares a potential connection, the X's represent your device ID | |
# A "PIN code" will be displayed, type it on the keyboard and press "enter". | |
trust XX:XX:XX:XX:XX:XX # Adds device to trusted devices, this survives reboot. | |
connect XX:XX:XX:XX:XX:XX # Connect to the device now. | |
exit # Return to previous shell. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NOTE
This worked! But first, I had to connect the Apple keyboard with my Mac and then "delete" the connection. I appears that the keyboard remembers the host device and will not pair with another host unless is is properly removed. Makes sense. Imagine if the keyboard could be connected to another computer while someone else was using it! 😁