Connect wireless keyboard to RaspberryPi

You can do it easily by using bluetoothctl on Jessie.

Versions

  • Raspberry Pi Type B Single Board Computer 512MB
  • Raspbian 8.0 (Jessie)
  • Kernel Version 4.1.10
  • BlueZ 5.23-2+b1

Start agent mode with bluetoothctl.
yy:... is the MAC address of the receiver, xx:... is the Mac address of the keyboard.

pi@raspberrypi ~ $ sudo bluetoothctl -a
[NEW] Controller yy:yy:yy:yy:yy:yy BlueZ 5.23 [default]
Agent registered
[bluetooth]#

Scan interactively your keybaord.

[bluetooth]# scan on
Discovery started
[NEW] Device xx:xx:xx:xx:xx:xx BSKBB24

Connect your keyboard.

[bluetooth]# connect xx:xx:xx:xx:xx:xx
Attempting to connect to xx:xx:xx:xx:xx:xx
[CHG] Device xx:xx:xx:xx:xx:xx Connected: yes
Connection successful

Trust your keyboard to connect auto.

[bluetooth]# trust xx:xx:xx:xx:xx:xx
[CHG] Device xx:xx:xx:xx:xx:xx Trusted: yes
Changing xx:xx:xx:xx:xx:xx trust succeeded

Comments

Popular posts from this blog

Detect Bluetooth LE Device with BlueZ on RaspberryPi

What I did until many slimes spawn on slime chunk

Major Maven goals