For general infomration see: http://en.wikipedia.org/wiki/Bluetooth.
The following guidance might be useful in helping to configure Bluetooth on an Linux server.
The Bluetooth packages currently installed are:
[root@99dpr-004 ~]# yum list all | grep blue bluez-bluefw.i386 1.0-6 installed bluez-hcidump.i386 1.11-1 installed bluez-libs.i386 2.10-3 installed bluez-pin.i386 0.23-3 installed bluez-utils.i386 2.10-2.4 installed bluefish.i386 1.0.5-3.el4.kb kbs-CentOS-Extra bluefish-debuginfo.i386 1.0.4-1.2.el4.rf dries-extra bluez-libs-devel.i386 2.10-3 centos-base bluez-utils.i386 2.10-5.el4 centos-base bluez-utils-cups.i386 2.10-5.el4 centos-base
A nu ber of tools are available to query the status of applications and devices. For example:
Scan for devices:
[root@99dpr-004 etc]# hcitool scan
Scanning ...
        00:17:E5:81:76:0E       MyNokiaE65
        60:D0:A9:A7:84:3B       S3100
        00:01:E3:22:64:3F       MyS55
[root@99dpr-004 etc]#
Query local devices:
[root@99dpr-004 etc]# hcitool dev
Devices:
        hci0    00:0E:E7:60:0A:B0
[root@99dpr-004 etc]#
Query remote devices:
[root@99dpr-004 etc]# hcitool inq 00:01:E3:22:64:3F
Inquiring ...
        00:17:E5:81:76:0E       clock offset: 0x2e54    class: 0x50020c
        60:D0:A9:A7:84:3B       clock offset: 0x54e7    class: 0x5a0204
        00:01:E3:22:64:3F       clock offset: 0x78cb    class: 0x720204
[root@99dpr-004 etc]#
Query specific devices for details:
[root@99dpr-004 etc]# hcitool info 00:01:E3:22:64:3F
Requesting information ...
        BD Address:  00:01:E3:22:64:3F
        Device Name: MyS55
        LMP Version: 1.1 (0x1) LMP Subversion: 0x555
        Manufacturer: Infineon Technologies AG (9)
        Features: 0xef 0xea 0x19 0x00 0x00 0x00 0x00 0x00
                <3-slot packets> <5-slot packets>  
                    
                    
[root@99dpr-004 etc]#
            
The following commands can be used to display relevant details. For example, check the system configuration, USB:
[root@99dpr-004 objects]# lsusb Bus 002 Device 026: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) Bus 002 Device 021: ID 0ac8:301b Z-Star Microelectronics Corp. ZC0301 WebCam Bus 002 Device 013: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB Bus 002 Device 001: ID 0000:0000 Bus 001 Device 003: ID 046d:08a2 Logitech, Inc. Labtec WebCam Pro Bus 001 Device 002: ID 152d:2329 JMicron Technology Corp. / JMicron USA Technology Corp. Bus 001 Device 001: ID 0000:0000 [root@99dpr-004 objects]#
Expansion on this provides full details for the specific Bluetooth Dongle device as shown
[root@99dpr-004 objects]# lsusb -s 002:026 -v ... [root@99dpr-004 objects]#
Check the system configuration, loaded modules:
[root@99dpr-004 objects]# lsmod Module Size Used by cdc_acm 14433 0 irda 121981 0 crc_ccitt 2241 1 irda hci_usb 14657 2 rfcomm 37213 0 l2cap 25285 5 rfcomm bluetooth 48069 7 hci_usb,rfcomm,l2cap pl2303 16325 0 usbserial 26409 1 pl2303 ...
Finally configure the system to automatically start bluetooth when the system is re-booted:
[root@99dpr-004 ~]# man chkconfig [root@99dpr-004 ~]# chkconfig --add bluetooth [root@99dpr-004 ~]# chkconfig --level 345 bluetooth on [root@99dpr-004 ~]# chkconfig --list | grep bluetooth bluetooth 0:off 1:off 2:off 3:on 4:on 5:on 6:off [root@99dpr-004 ~]#
The bluetooth connection was successfully established.
The following general links are useful references when setting up Bluetooth:
| URL | Summary/Description | 
|---|---|
| http://www.bluez.org/ | Official Linux Bluetooth protocol stack | 
| http://www.gentoo.org/doc/en/bluetooth-guide.xml | Gentoo Linux Bluetooth Guide | 
| http://www.g7smy.co.uk/?linux/bt | Linux Notes - Installing Bluetooth | 
| http://arstechnica.com/open-source/news/2007/12/using-a-bluetooth-phone-with-linux.ars | Using a Bluetooth phone with Linux | 
| http://pratyeka.org/rfcomm/ | Linux + Mobile Phone + Bluetooth |