Homepage Wiki Forum Buy

Bluetooth

Aus GNUBLIN

Vorbereitung

HAMA Bluetooth Stick.JPG

Es muss nur das paket bluez installiert werden:

root@gnublin:~# apt-get install bluez

Scan

root@gnublin:~# hcitool scan
Scanning ...
00:22:41:FE:A5:2C iMac
7C:E9:D3:B3:A1:1D ubuntu-0
98:0D:2E:0D:E2:26 HTC ONE

Pairing

in File: /etc/bluetooth/rfcomm.conf eintragen:

rfcomm0 {
        # Automatically bind the device at startup
        bind no;
 
        # Bluetooth address of the device
        device 98:0D:2E:0D:E2:26;
 
        # RFCOMM channel for the connection
        channel 1;
 
        # Description of the connection
        comment "Example Bluetooth device";
}

dannach:

root@gnublin:~# rfcomm connect rfcomm0

uuuuuund: Kernel Ooops -.-