pairing a bluetooth device with a raspberry pi [rpi] [raspberrypi] [bluetooth] [pairing] [howto] _...
DESCRIPTION
Pairing a Bluetooth Device With a Raspberry Pi [Rpi] [Raspberrypi] [Bluetooth] [Pairing] [Howto] _ JamesrobertsonTRANSCRIPT
Tags: rpi raspberrypi bluetooth pairing howto
Source: 2321hrs.txt
Published: 27-10-2012 23:21
Pairing a bluetooth device with a Raspberry Pi
Install the following:
apt-get install bluez bluetooth bluez-utils blueman
Type lsusb and ensure the bluetooth dongle is detected
Type hcitool scan and observe the bluetooth devices found.
If it returns connection timeout try unplugging the dongle and inserting it into the RPi directly. In
my case, I then plugged the dongle into another port on the USB powered hub and it also worked.
example output:
Scanning ...
00:21:FE:0B:DD:32 iPhone 5
To pair the device use bluez-simple-agent e.g.
bluez-simple-agent hci0 00:21:FE:0B:DD:32
To permanently trust the device use bluez-test-device e.g.
bluez-test-device trusted 00:21:FE:0B:DD:32 yes
If the bluetooth device is a keyboard, mouse, or something which opens a serial data connection
you use bluez-test-input e.g.
bluez-test-input connect 75:EF:82:69:D2:83
Resources
A step by step guide to setup a Bluetooth keyboard and mouse on the Raspberry PI
[ctheroux.com]
Pairing a bluetooth device with a Raspberry Pi [rpi] [raspberrypi] [blueto... http://www.jamesrobertson.eu/blog/2012/oct/27/pairing-a-bluetooth-devi...
1 of 1 1/1/2014 2:58 AM