%general-entities; ]> $LastChangedBy$ $Date$ BlueZ-&bluez-version; BlueZ Introduction to BlueZ The BlueZ package contains the Bluetooth protocol stack for Linux. &lfs75_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &bluez-md5sum; Download size: &bluez-size; Estimated disk space required: &bluez-buildsize; Estimated build time: &bluez-time; BlueZ Dependencies Required and Optional , , , , and User Notes: Kernel Configuration Enable the following options in the kernel configuration and recompile the kernel if necessary: [*] Networking support ---> <*> or <M> Bluetooth subsystem support ---> <*> or <M> RFCOMM protocol support [*] RFCOMM TTY support <*> or <M> BNEP protocol support [*] Multicast filter support [*] Protocol filter support <*> or <M> HIDP protocol support Bluetooth device drivers ---> Select the appropriate drivers for your Bluetooth hardware. bluez Installation of BlueZ Install BlueZ by running the following commands: ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --enable-bccmd \ --enable-dfutool \ --enable-dund \ --enable-hid2hci \ --enable-hidd \ --enable-pand \ --enable-tools \ --enable-wiimote \ --disable-test \ --without-systemdunitdir && make This package does not come with a test suite. Now, as the root user: make install Install required configuration files as the root user: for CONFFILE in audio input network serial ; do install -v -m644 ${CONFFILE}/${CONFFILE}.conf /etc/bluetooth/${CONFFILE}.conf done unset CONFFILE If desired, install the API documentation as the root user: install -v -m755 -d /usr/share/doc/bluez-&bluez-version; && install -v -m644 doc/*.txt /usr/share/doc/bluez-&bluez-version; Command Explanations --enable-bccmd: This switch enables building of the BCCMD interface utility. --enable-dfutool: This switch enables building of the DFU firmware upgrade utility. --enable-dund: This switch enables building of the DUN daemon. --enable-hid2hci: This switch enables building of the HID mode switching utility. --enable-hidd: This switch enables building of the HID daemon. --enable-pand: This switch enables building of the PAN daemon. --enable-tools: This switch enables building of the Bluetooth utilities. --enable-wiimote: This switch enables building of the Wii Remote plugin. --disable-test: This switch disables installation of the test programs. : This switch enables CUPS backend support. Note that CUPS does not need to be installed for this support. Configuring BlueZ Config Files /etc/bluetooth/audio.conf, /etc/bluetooth/input.conf, /etc/bluetooth/main.conf, /etc/bluetooth/network.conf, /etc/bluetooth/rfcomm.conf and /etc/bluetooth/serial.conf /etc/bluetooth/audio.conf /etc/bluetooth/input.conf /etc/bluetooth/main.conf /etc/bluetooth/network.conf /etc/bluetooth/rfcomm.conf /etc/bluetooth/serial.conf Boot Script To automatically start the bluetoothd daemon when the system is rebooted, install the /etc/rc.d/init.d/bluetooth bootscript from the package. bluetooth make install-bluetooth Contents Installed Programs Installed Library Installed Directories bccmd, bluetoothd, ciptool, dfutool, dund, gatttool, hciattach, hciconfig, hcitool, hid2hci, hidd, l2ping, pand, rfcomm, and sdptool libbluetooth.so /etc/bluetooth, /usr/include/bluetooth, /usr/lib/bluetooth, /usr/share/doc/bluez-&bluez-version;, and /var/lib/bluetooth Short Descriptions bccmd is used to issue BlueCore commands to Cambridge Silicon Radio devices. bccmd bluetoothd is the Bluetooth daemon. bluetoothd ciptool is used to set up, maintain, and inspect the CIP configuration of the Bluetooth subsystem in the Linux kernel. ciptool dfutool is used to verify, archive and upgrade firmware files. dfutool dund is the Bluetooth dial-up networking daemon. dund hciattach is used to attach a serial UART to the Bluetooth stack as HCI transport interface. hciattach hciconfig is used to configure Bluetooth devices. hciconfig hcitool is used to configure Bluetooth connections and send some special command to Bluetooth devices. hcitool hid2hci is used to set up switch supported Bluetooth devices into the HCI mode and back. hid2hci hidd is the Bluetooth HID daemon. hidd l2ping is used to send a L2CAP echo request to the Bluetooth MAC address given in dotted hex notation. l2ping pand is the Bluetooth daemon that allows you to connect to ethernet networks using Bluetooth. pand rfcomm is used to set up, maintain, and inspect the RFCOMM configuration of the Bluetooth subsystem in the Linux kernel. rfcomm sdptool is used to perform SDP queries on Bluetooth devices. sdptool libbluetooth.so contains the BlueZ API functions. libbluetooth.so