30.01.118557
Bluetooth
Home Impressum Tipps auf wlsoft.de www.wlsoft.de
Programmieren weil es Spaß macht.
Hardware
Matrox-Grafikkarte
Nvidia-Grafikkarte
DVD-RAM
Scanner UMAX Astra 1220U
Externe Festplatte 500GB

Offene Fragen
VAIO VGN-CR11Z
Chemnitzer Linuxtage 2008

Tipps
Kernel-Update
Samba Installation
Samba Tipps
W2K und Linux
Vista und Linux
Port 113
Grub
fstab
VMware
Thunderbird
CapiSuite
VNC-Server
Bluetooth
Softmaker
Kopierer
Fotos
Soundprobleme
Antivirus-ClamAV
KDE Tipps
apt-get
Superkaramba
Firefox
Lazarus
Backup
Recoll
gpg
hibiscus
cups
Netzwerk
Rechteverwaltung
Dienste (daemons)
Firefox und Akregator
apt-proxy

Dateisysteme

Shell-Befehle
Fehlersuche
Fehlersuche fsck
Screenshots erstellen

meine Programme
wnfDesktopkalender
meine Scripte

EEE-PC
Tipps zum EEE-PC

NetBeans
Installation
HelloWorld
HelloWorld-2
Wichtige Dateien
Tipps
Jaybird

CrossKylix
Tipps

Drupal
Tipps

Python
Python & Qt-Designer 3
Python & Qt-Designer 4
Python & KDevelop
Python & Apache
Tipps
CherryPy
Anleitung aus ubuntuusers.de

linuxuser.de über kmobiletools

Folgenden Pakete müssen für ein korrektes Funktionieren von Bluetooth installiert sein:
  • bluez-utils
  • bluez-pin
  • libbluetooth1
  • libopenobex-1.0-0
  • qobex
$ lsusb
Bus 002 Device 004: ID 050d:0013 Belkin Components

$ hciconfig -a
hci0:   Type: USB
        BD Address: 00:00:3A:69:2C:58 ACL
          MTU: 1017:8 SCO MTU: 64:8
        UP RUNNING PSCAN ISCAN
        RX bytes:411 acl:0 sco:0 events:22 errors:0
        TX bytes:336 acl:0 sco:0 commands:21 errors:0
        Features: 0xff 0xfb 0x8d 0xfe
           0x9f 0xf9 0x00 0x80
        Packet type: DM1 DM3 DM5
           DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: RSWITCH HOLD SNIFF PARK
        Link mode: SLAVE ACCEPT
        Name: 'c2004-300GB-0'
        Class: 0x3e0100
        Service Classes: Networking, Rendering,
          Capturing
        Device Class: Computer, Uncategorized
        HCI Ver: 2.0 (0x3) HCI Rev: 0x2073
           LMP Ver: 2.0 (0x3) LMP Subver: 0x410e
        Manufacturer: Broadcom Corporation (15)

$ hcitool scan
Scanning ...
        00:01:E3:3C:16:47       Mein SX1

Auslesen der Dienste die Verfügbar sind
$ sdptool browse
Inquiring ...
Browsing 00:01:E3:3C:16:47 ...
Service Name: Fax
Service RecHandle: 0x10000
Service Class ID List:
  "Fax" (0x1111)
  "Generic Telephony" (0x1204)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 1
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Fax" (0x1111)
    Version: 0x0100

Service Name: Dial-up Networking
Service RecHandle: 0x10001
Service Class ID List:
  "Dialup Networking" (0x1103)
  "Generic Networking" (0x1201)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 1
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Dialup Networking" (0x1103)
    Version: 0x0100

Service Name: Bluetooth Serial Port
Service Description: Bluetooth Serial Port
Service Provider: Symbian Ltd.
Service RecHandle: 0x10002
Service Class ID List:
  "Serial Port" (0x1101)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 2
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100

Service Name: OBEX Object Push
Service RecHandle: 0x10003
Service Class ID List:
  "OBEX Object Push" (0x1105)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 9
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "OBEX Object Push" (0x1105)
    Version: 0x0100

Service Name: OBEX File Transfer
Service RecHandle: 0x10006
Service Class ID List:
  "OBEX File Transfer" (0x1106)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 10
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "OBEX File Transfer" (0x1106)
    Version: 0x0100

Service Name: Handsfree Audio Gateway
Service RecHandle: 0x10007
Service Class ID List:
  "Handfree Audio Gateway" (0x111f)
  "Generic Audio" (0x1203)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 3
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Handsfree" (0x111e)
    Version: 0x0100

Die PIN bearbeiten, die beim Verbindungsaufbau verwendet wird.
$ sudo nano /etc/bluetooth/pin
1234

Eine serielle Schnittstelle rfcomm0 zu meinen SX1 einrichten
$ sudo rfcomm bind 0 00:01:E3:3C:16:47 2
$ rfcomm
rfcomm0: 00:01:E3:3C:16:47 channel 1 clean

Diese Schnittstelle dauerhaft einrichten:
$ sudo nano /etc/bluetooth/rfcomm.conf

rfcomm0 {
        bind yes;
        # Bluetooth address of the device
        device 00:01:E3:3C:16:47;
        # RFCOMM channel for the connection
        channel 2;
        # Description of the connection
        comment "rfcomm0 zu meinem SX1";

gunther logo  Letzte Änderung: 30.01.118557 - 00:00:00