Bluetooth keyboard

From Tech
Jump to navigationJump to search
## After connecting using bluetooth-wizard:
# bluez-test-device list
30:73:00:0E:22:00 Bluetooth 3.0 Keyboard

## from /var/log file:
Sep 17 18:28:05 dino kernel: [317568.406046] input: Bluetooth 3.0 Keyboard as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.0/bluetooth/hci0/hci0:71/input236
Sep 17 18:28:05 dino kernel: [317568.407818] hid-generic 0005:04E8:7021.0001: input,hidraw0: BLUETOOTH HID v0.01 Keyboard [Bluetooth 3.0 Keyboard] on 00:1a:7d:da:71:11

## Connecting using command line tools:
## First, checking no devices connected:
# bluez-test-device remove 30:73:00:0E:22:00
# bluez-test-device list

## Have bluetooth switched on, and press 'connect' button, and after next command is started, enter pin (0000) and ENTER
# bluetooth-agent 0000 30:73:00:0E:22:00
Pincode request for device /org/bluez/891/hci0/dev_30_73_00_0E_22_00
Agent has been released


# bluez-test-device list
30:73:00:0E:22:00 Bluetooth 3.0 Keyboard

# bluez-test-input connect 30:73:00:0E:22:00

# Now, keyboard is connected.