[fee14fb] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[8dfc5c3] | 7 | <!ENTITY bluez-download-http "&kernel-dl;/linux/bluetooth/bluez-&bluez-version;.tar.xz">
|
---|
[faa68e4a] | 8 | <!ENTITY bluez-download-ftp " ">
|
---|
[b8301f1] | 9 | <!ENTITY bluez-md5sum "783e15f65e70cdb8f721c659e140dd56">
|
---|
| 10 | <!ENTITY bluez-size "1.7 MB">
|
---|
| 11 | <!ENTITY bluez-buildsize "68 MB (add 13 MB for tests)">
|
---|
[ded8dfc] | 12 | <!ENTITY bluez-time "0.5 SBU (add 0.3 SBU for tests)">
|
---|
[fee14fb] | 13 | ]>
|
---|
| 14 |
|
---|
[880c568] | 15 | <sect1 id="bluez" xreflabel="BlueZ-&bluez-version;">
|
---|
[fee14fb] | 16 | <?dbhtml filename="bluez.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
[880c568] | 23 | <title>BlueZ-&bluez-version;</title>
|
---|
[fee14fb] | 24 |
|
---|
| 25 | <indexterm zone="bluez">
|
---|
[880c568] | 26 | <primary sortas="a-BlueZ">BlueZ</primary>
|
---|
[fee14fb] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to BlueZ</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
| 33 | The <application>BlueZ</application> package contains the
|
---|
| 34 | Bluetooth protocol stack for Linux.
|
---|
| 35 | </para>
|
---|
| 36 |
|
---|
[35e9ca45] | 37 | &lfs81_checked;
|
---|
[fee14fb] | 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&bluez-download-http;"/>
|
---|
| 44 | </para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&bluez-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>
|
---|
| 53 | Download MD5 sum: &bluez-md5sum;
|
---|
| 54 | </para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>
|
---|
| 58 | Download size: &bluez-size;
|
---|
| 59 | </para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>
|
---|
| 63 | Estimated disk space required: &bluez-buildsize;
|
---|
| 64 | </para>
|
---|
| 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>
|
---|
| 68 | Estimated build time: &bluez-time;
|
---|
| 69 | </para>
|
---|
| 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
[9ceb07f] | 73 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 74 | <itemizedlist spacing="compact">
|
---|
| 75 | <listitem>
|
---|
| 76 | <para>
|
---|
| 77 | Optional patch (required to work properly with gnome-bluetooth
|
---|
| 78 | and/or kde bluedevil):
|
---|
| 79 | <ulink url="&patch-root;/bluez-&bluez-version;-obexd_without_systemd-1.patch"/>
|
---|
| 80 | </para>
|
---|
| 81 | </listitem>
|
---|
| 82 | </itemizedlist>
|
---|
| 83 |
|
---|
[fee14fb] | 84 | <bridgehead renderas="sect3">BlueZ Dependencies</bridgehead>
|
---|
| 85 |
|
---|
| 86 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 87 | <para role="required">
|
---|
[54666831] | 88 | <xref linkend="dbus"/>,
|
---|
| 89 | <xref linkend="glib2"/>, and
|
---|
[ef84ea0] | 90 | <xref linkend="libical"/>
|
---|
[fee14fb] | 91 | </para>
|
---|
| 92 |
|
---|
| 93 | <para condition="html" role="usernotes">
|
---|
| 94 | User Notes: <ulink url="&blfs-wiki;/bluez"/>
|
---|
| 95 | </para>
|
---|
| 96 | </sect2>
|
---|
| 97 |
|
---|
| 98 |
|
---|
| 99 | <sect2 role="kernel" id="bluez-kernel">
|
---|
| 100 | <title>Kernel Configuration</title>
|
---|
| 101 |
|
---|
| 102 | <para>
|
---|
[b8301f1] | 103 | If you are building this package to use bluetooth devices (rather than as a
|
---|
| 104 | build dependency), enable the following options in the kernel configuration
|
---|
| 105 | and recompile the kernel if necessary:
|
---|
[fee14fb] | 106 | </para>
|
---|
| 107 |
|
---|
[b8301f1] | 108 | <!-- FIXME this needs something else in CONFIG_CRYPTO_ to stop the test-gatt
|
---|
| 109 | unit test timing out and then segfaulting (see comment re make check) -->
|
---|
[38155d1] | 110 | <screen><literal>[*] Networking support ---> [CONFIG_NET]
|
---|
| 111 | </M> Bluetooth subsystem support ---> [CONFIG_BT]
|
---|
| 112 | <*/M> RFCOMM protocol support [CONFIG_BT_RFCOMM]
|
---|
| 113 | [*] RFCOMM TTY support [CONFIG_BT_RFCOMM_TTY]
|
---|
| 114 | <*/M> BNEP protocol support [CONFIG_BT_BNEP]
|
---|
| 115 | [*] Multicast filter support [CONFIG_BT_BNEP_MC_FILTER]
|
---|
| 116 | [*] Protocol filter support [CONFIG_BT_BNEP_PROTO_FILTER]
|
---|
| 117 | <*/M> HIDP protocol support [CONFIG_BT_HIDP]
|
---|
| 118 | Bluetooth device drivers --->
|
---|
| 119 | (Select the appropriate drivers for your Bluetooth hardware)
|
---|
| 120 |
|
---|
| 121 | <*/M> RF switch subsystem support ---> [CONFIG_RFKILL]</literal></screen>
|
---|
[fee14fb] | 122 |
|
---|
| 123 | <indexterm zone="bluez bluez-kernel">
|
---|
| 124 | <primary sortas="d-bluez">bluez</primary>
|
---|
| 125 | </indexterm>
|
---|
| 126 | </sect2>
|
---|
| 127 |
|
---|
| 128 | <sect2 role="installation">
|
---|
| 129 | <title>Installation of BlueZ</title>
|
---|
| 130 |
|
---|
[9ceb07f] | 131 | <para>
|
---|
| 132 | If you are going to use <application>BlueZ</application> with
|
---|
| 133 | gnome-bluetooth and/or kde bluedevil, apply the following patch:
|
---|
| 134 | </para>
|
---|
| 135 |
|
---|
[fd1493f] | 136 | <screen><userinput>patch -Np1 -i ../bluez-&bluez-version;-obexd_without_systemd-1.patch</userinput></screen>
|
---|
[9ceb07f] | 137 |
|
---|
[fee14fb] | 138 | <para>
|
---|
| 139 | Install <application>BlueZ</application> by running the following
|
---|
| 140 | commands:
|
---|
| 141 | </para>
|
---|
| 142 |
|
---|
[d5497a2e] | 143 | <screen revision="sysv"><userinput>./configure --prefix=/usr \
|
---|
[ef84ea0] | 144 | --sysconfdir=/etc \
|
---|
| 145 | --localstatedir=/var \
|
---|
| 146 | --enable-library \
|
---|
| 147 | --disable-systemd &&
|
---|
[fee14fb] | 148 | make</userinput></screen>
|
---|
| 149 |
|
---|
[d5497a2e] | 150 | <screen revision="systemd"><userinput>./configure --prefix=/usr \
|
---|
| 151 | --sysconfdir=/etc \
|
---|
| 152 | --localstatedir=/var \
|
---|
| 153 | --enable-library &&
|
---|
| 154 | make</userinput></screen>
|
---|
| 155 |
|
---|
[fee14fb] | 156 | <para>
|
---|
[a99fd8bd] | 157 | To test the results, issue: <userinput>make check</userinput>.
|
---|
[b8301f1] | 158 | One test (unit/test-gatt) may fail with a segmentation fault.
|
---|
| 159 | This appears to happen if one of the kernel CONFIG_CRYPTO_
|
---|
| 160 | items is not set, but the exact item has not been determined.
|
---|
[fee14fb] | 161 | </para>
|
---|
| 162 |
|
---|
| 163 | <para>
|
---|
| 164 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 165 | </para>
|
---|
| 166 |
|
---|
[a99fd8bd] | 167 | <screen role="root"><userinput>make install &&
|
---|
| 168 | ln -svf ../libexec/bluetooth/bluetoothd /usr/sbin</userinput></screen>
|
---|
[fee14fb] | 169 |
|
---|
| 170 | <para>
|
---|
[ef84ea0] | 171 | Install the main configuration file as the
|
---|
[fee14fb] | 172 | <systemitem class="username">root</systemitem> user:
|
---|
| 173 | </para>
|
---|
| 174 |
|
---|
[ef84ea0] | 175 | <screen role="root"><userinput>install -v -dm755 /etc/bluetooth &&
|
---|
| 176 | install -v -m644 src/main.conf /etc/bluetooth/main.conf</userinput></screen>
|
---|
[fee14fb] | 177 |
|
---|
| 178 | <para>
|
---|
| 179 | If desired, install the API documentation as the
|
---|
| 180 | <systemitem class="username">root</systemitem> user:
|
---|
| 181 | </para>
|
---|
| 182 |
|
---|
[ef84ea0] | 183 | <screen role="root"><userinput>install -v -dm755 /usr/share/doc/bluez-&bluez-version; &&
|
---|
[fee14fb] | 184 | install -v -m644 doc/*.txt /usr/share/doc/bluez-&bluez-version;</userinput></screen>
|
---|
[ef84ea0] | 185 |
|
---|
[fee14fb] | 186 | </sect2>
|
---|
| 187 |
|
---|
| 188 |
|
---|
| 189 | <sect2 role="commands">
|
---|
| 190 | <title>Command Explanations</title>
|
---|
| 191 |
|
---|
| 192 | <para>
|
---|
[f7153b6] | 193 | <parameter>--enable-library</parameter>: This switch enables building the
|
---|
[ef84ea0] | 194 | <application>BlueZ</application> 4 compatibility library which is required by
|
---|
| 195 | some applications.
|
---|
[fee14fb] | 196 | </para>
|
---|
| 197 |
|
---|
[d5497a2e] | 198 | <para revision="sysv">
|
---|
[fd1493f] | 199 | <parameter>--disable-systemd</parameter>: This switch is needed because
|
---|
[ef84ea0] | 200 | <application>systemd</application> is not part of LFS/BLFS. If you are
|
---|
| 201 | using systemd, remove this switch.
|
---|
[fee14fb] | 202 | </para>
|
---|
| 203 |
|
---|
[a99fd8bd] | 204 | <para>
|
---|
[8da658ba] | 205 | <command>ln -svf ../libexec/bluetooth/bluetoothd /usr/sbin</command>:
|
---|
[a99fd8bd] | 206 | This command makes access to the bluetooth daemon more convenient.
|
---|
| 207 | </para>
|
---|
| 208 |
|
---|
[fee14fb] | 209 | </sect2>
|
---|
| 210 |
|
---|
| 211 | <sect2 role="configuration">
|
---|
| 212 | <title>Configuring BlueZ</title>
|
---|
| 213 |
|
---|
| 214 | <sect3 id="bluez-config">
|
---|
[a99fd8bd] | 215 | <title>Configuration Files</title>
|
---|
[fee14fb] | 216 | <para>
|
---|
[a99fd8bd] | 217 | <filename>/etc/bluetooth/main.conf</filename> is installed automatically
|
---|
[21c477c] | 218 | during the install. Additionally, there are three supplementary
|
---|
| 219 | configuration files. /etc/sysconfig/bluetooth is installed as a part
|
---|
| 220 | of the boot script below. In addition, you optionally can install the
|
---|
| 221 | following, as the <systemitem class="username">root</systemitem> user:
|
---|
[fee14fb] | 222 | </para>
|
---|
[8da658ba] | 223 |
|
---|
[a99fd8bd] | 224 | <screen role="root"><userinput>cat > /etc/bluetooth/rfcomm.conf << "EOF"</userinput>
|
---|
[1daa1a57] | 225 | <literal># Start rfcomm.conf
|
---|
[a99fd8bd] | 226 | # Set up the RFCOMM configuration of the Bluetooth subsystem in the Linux kernel.
|
---|
| 227 | # Use one line per command
|
---|
| 228 | # See the rfcomm man page for options
|
---|
| 229 |
|
---|
| 230 |
|
---|
[36cfad9] | 231 | # End of rfcomm.conf</literal>
|
---|
| 232 | EOF</screen>
|
---|
[a99fd8bd] | 233 |
|
---|
| 234 | <screen role="root"><userinput>cat > /etc/bluetooth/uart.conf << "EOF"</userinput>
|
---|
[1daa1a57] | 235 | <literal># Start uart.conf
|
---|
[a99fd8bd] | 236 | # Attach serial devices via UART HCI to BlueZ stack
|
---|
| 237 | # Use one line per device
|
---|
| 238 | # See the hciattach man page for options
|
---|
| 239 |
|
---|
[36cfad9] | 240 | # End of uart.conf</literal>
|
---|
| 241 | EOF</screen>
|
---|
[fee14fb] | 242 |
|
---|
| 243 | <indexterm zone="bluez bluez-config">
|
---|
| 244 | <primary
|
---|
| 245 | sortas="e-etc-bluetooth-main.conf">/etc/bluetooth/main.conf</primary>
|
---|
| 246 | </indexterm>
|
---|
| 247 |
|
---|
| 248 | </sect3>
|
---|
| 249 |
|
---|
| 250 | <sect3 id="bluez-init">
|
---|
[d5497a2e] | 251 | <title><phrase revision="sysv">Boot Script</phrase>
|
---|
| 252 | <phrase revision="systemd">Systemd Socket</phrase></title>
|
---|
[fee14fb] | 253 |
|
---|
[d5497a2e] | 254 | <para revision="sysv">
|
---|
[fee14fb] | 255 | To automatically start the <command>bluetoothd</command> daemon when the
|
---|
| 256 | system is rebooted, install the
|
---|
| 257 | <filename>/etc/rc.d/init.d/bluetooth</filename> bootscript from the
|
---|
[d5497a2e] | 258 | <xref linkend="bootscripts"/> package.
|
---|
| 259 | </para>
|
---|
| 260 |
|
---|
| 261 | <para revision="systemd">
|
---|
| 262 | To start the <command>bluetoothd</command> daemon at boot,
|
---|
| 263 | enable the previously installed systemd unit by
|
---|
| 264 | running the following command as the
|
---|
| 265 | <systemitem class="username">root</systemitem> user:
|
---|
[fee14fb] | 266 | </para>
|
---|
| 267 |
|
---|
| 268 | <indexterm zone="bluez bluez-init">
|
---|
| 269 | <primary sortas="f-bluetooth">bluetooth</primary>
|
---|
| 270 | </indexterm>
|
---|
| 271 |
|
---|
[d5497a2e] | 272 | <screen role="root" revision="sysv"><userinput>make install-bluetooth</userinput></screen>
|
---|
| 273 |
|
---|
| 274 | <screen role="root" revision="systemd"><userinput>systemctl enable bluetooth</userinput></screen>
|
---|
| 275 |
|
---|
| 276 | <note revision="systemd">
|
---|
| 277 | <para>
|
---|
| 278 | <application>Systemd</application> will start the Bluetooth daemon
|
---|
| 279 | only when a bluetooth device is detected on the system.
|
---|
| 280 | </para>
|
---|
| 281 | </note>
|
---|
[ef84ea0] | 282 |
|
---|
[fee14fb] | 283 | </sect3>
|
---|
[ef84ea0] | 284 |
|
---|
[fee14fb] | 285 | </sect2>
|
---|
| 286 |
|
---|
| 287 | <sect2 role="content">
|
---|
| 288 | <title>Contents</title>
|
---|
| 289 |
|
---|
| 290 | <segmentedlist>
|
---|
| 291 | <segtitle>Installed Programs</segtitle>
|
---|
| 292 | <segtitle>Installed Library</segtitle>
|
---|
| 293 | <segtitle>Installed Directories</segtitle>
|
---|
| 294 |
|
---|
| 295 | <seglistitem>
|
---|
| 296 | <seg>
|
---|
[c4ae27ab] | 297 | bccmd, bluemoon, bluetoothctl, bluetoothd (symlink), btattach, btmon, ciptool,
|
---|
[8da658ba] | 298 | hciattach, hciconfig, hcidump, hcitool, hex2hcd, l2ping, l2test,
|
---|
| 299 | mpris-proxy, rctest, rfcomm, and sdptool
|
---|
[fee14fb] | 300 | </seg>
|
---|
| 301 | <seg>
|
---|
| 302 | libbluetooth.so
|
---|
| 303 | </seg>
|
---|
| 304 | <seg>
|
---|
[2ea1836] | 305 | /etc/bluetooth, /usr/{include,libexec}/bluetooth, and
|
---|
[ef84ea0] | 306 | /usr/share/doc/bluez-&bluez-version;
|
---|
[fee14fb] | 307 | </seg>
|
---|
| 308 | </seglistitem>
|
---|
| 309 | </segmentedlist>
|
---|
| 310 |
|
---|
| 311 | <variablelist>
|
---|
| 312 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 313 | <?dbfo list-presentation="list"?>
|
---|
| 314 | <?dbhtml list-presentation="table"?>
|
---|
| 315 |
|
---|
| 316 | <varlistentry id="bccmd">
|
---|
| 317 | <term><command>bccmd</command></term>
|
---|
| 318 | <listitem>
|
---|
| 319 | <para>
|
---|
| 320 | is used to issue BlueCore commands to Cambridge Silicon
|
---|
| 321 | Radio devices.
|
---|
| 322 | </para>
|
---|
| 323 | <indexterm zone="bluez bccmd">
|
---|
| 324 | <primary sortas="b-bccmd">bccmd</primary>
|
---|
| 325 | </indexterm>
|
---|
| 326 | </listitem>
|
---|
| 327 | </varlistentry>
|
---|
| 328 |
|
---|
[af5248e2] | 329 | <varlistentry id="bluemoon">
|
---|
| 330 | <term><command>bluemoon</command></term>
|
---|
| 331 | <listitem>
|
---|
| 332 | <para>
|
---|
| 333 | is a Bluemoon configuration utility.
|
---|
| 334 | </para>
|
---|
| 335 | <indexterm zone="bluez bluemoon">
|
---|
| 336 | <primary sortas="b-bluemoon">bluemoon</primary>
|
---|
| 337 | </indexterm>
|
---|
| 338 | </listitem>
|
---|
| 339 | </varlistentry>
|
---|
| 340 |
|
---|
[059a1a5c] | 341 | <varlistentry id="bluetoothctl">
|
---|
| 342 | <term><command>bluetoothctl</command></term>
|
---|
| 343 | <listitem>
|
---|
| 344 | <para>
|
---|
| 345 | is the interactive Bluetooth control program.
|
---|
| 346 | </para>
|
---|
| 347 | <indexterm zone="bluez bluetoothctl">
|
---|
| 348 | <primary sortas="b-bluetoothctl">bluetoothctl</primary>
|
---|
| 349 | </indexterm>
|
---|
| 350 | </listitem>
|
---|
| 351 | </varlistentry>
|
---|
| 352 |
|
---|
[fee14fb] | 353 | <varlistentry id="bluetoothd">
|
---|
| 354 | <term><command>bluetoothd</command></term>
|
---|
| 355 | <listitem>
|
---|
| 356 | <para>
|
---|
| 357 | is the Bluetooth daemon.
|
---|
| 358 | </para>
|
---|
| 359 | <indexterm zone="bluez bluetoothd">
|
---|
| 360 | <primary sortas="b-bluetoothd">bluetoothd</primary>
|
---|
| 361 | </indexterm>
|
---|
| 362 | </listitem>
|
---|
| 363 | </varlistentry>
|
---|
| 364 |
|
---|
[af5248e2] | 365 | <varlistentry id="btmon">
|
---|
| 366 | <term><command>btmon</command></term>
|
---|
| 367 | <listitem>
|
---|
| 368 | <para>
|
---|
| 369 | provides access to the Bluetooth subsystem monitor
|
---|
| 370 | infrastructure for reading HCI traces.
|
---|
| 371 | </para>
|
---|
| 372 | <indexterm zone="bluez btmon">
|
---|
| 373 | <primary sortas="b-btmon">btmon</primary>
|
---|
| 374 | </indexterm>
|
---|
| 375 | </listitem>
|
---|
| 376 | </varlistentry>
|
---|
| 377 |
|
---|
[fee14fb] | 378 | <varlistentry id="ciptool">
|
---|
| 379 | <term><command>ciptool</command></term>
|
---|
| 380 | <listitem>
|
---|
| 381 | <para>
|
---|
| 382 | is used to set up, maintain, and inspect the CIP configuration
|
---|
| 383 | of the Bluetooth subsystem in the Linux kernel.
|
---|
| 384 | </para>
|
---|
| 385 | <indexterm zone="bluez ciptool">
|
---|
| 386 | <primary sortas="b-ciptool">ciptool</primary>
|
---|
| 387 | </indexterm>
|
---|
| 388 | </listitem>
|
---|
| 389 | </varlistentry>
|
---|
| 390 |
|
---|
| 391 | <varlistentry id="hciattach">
|
---|
| 392 | <term><command>hciattach</command></term>
|
---|
| 393 | <listitem>
|
---|
| 394 | <para>
|
---|
| 395 | is used to attach a serial UART to the Bluetooth stack
|
---|
| 396 | as HCI transport interface.
|
---|
| 397 | </para>
|
---|
| 398 | <indexterm zone="bluez hciattach">
|
---|
| 399 | <primary sortas="b-hciattach">hciattach</primary>
|
---|
| 400 | </indexterm>
|
---|
| 401 | </listitem>
|
---|
| 402 | </varlistentry>
|
---|
| 403 |
|
---|
| 404 | <varlistentry id="hciconfig">
|
---|
| 405 | <term><command>hciconfig</command></term>
|
---|
| 406 | <listitem>
|
---|
| 407 | <para>
|
---|
| 408 | is used to configure Bluetooth devices.
|
---|
| 409 | </para>
|
---|
| 410 | <indexterm zone="bluez hciconfig">
|
---|
| 411 | <primary sortas="b-hciconfig">hciconfig</primary>
|
---|
| 412 | </indexterm>
|
---|
| 413 | </listitem>
|
---|
| 414 | </varlistentry>
|
---|
| 415 |
|
---|
[af5248e2] | 416 | <varlistentry id="hcidump">
|
---|
| 417 | <term><command>hcidump</command></term>
|
---|
| 418 | <listitem>
|
---|
| 419 | <para>
|
---|
| 420 | reads raw HCI data coming from and going to a Bluetooth
|
---|
| 421 | device and prints to screen commands, events and data
|
---|
| 422 | in a human-readable form.
|
---|
| 423 | </para>
|
---|
| 424 | <indexterm zone="bluez hcidump">
|
---|
| 425 | <primary sortas="b-hcidump">hcidump</primary>
|
---|
| 426 | </indexterm>
|
---|
| 427 | </listitem>
|
---|
| 428 | </varlistentry>
|
---|
| 429 |
|
---|
| 430 |
|
---|
[fee14fb] | 431 | <varlistentry id="hcitool">
|
---|
| 432 | <term><command>hcitool</command></term>
|
---|
| 433 | <listitem>
|
---|
| 434 | <para>
|
---|
| 435 | is used to configure Bluetooth connections and send some
|
---|
| 436 | special command to Bluetooth devices.
|
---|
| 437 | </para>
|
---|
| 438 | <indexterm zone="bluez hcitool">
|
---|
| 439 | <primary sortas="b-hcitool">hcitool</primary>
|
---|
| 440 | </indexterm>
|
---|
| 441 | </listitem>
|
---|
| 442 | </varlistentry>
|
---|
| 443 |
|
---|
[e5bb823] | 444 | <varlistentry id="hex2hcd">
|
---|
| 445 | <term><command>hex2hcd</command></term>
|
---|
| 446 | <listitem>
|
---|
| 447 | <para>
|
---|
| 448 | is used to convert a file needed by Broadcom devices
|
---|
| 449 | to hcd (Broadcom bluetooth firmware) format.
|
---|
| 450 | </para>
|
---|
| 451 | <indexterm zone="bluez hex2hcd">
|
---|
| 452 | <primary sortas="b-hex2hcd">hex2hcd</primary>
|
---|
| 453 | </indexterm>
|
---|
| 454 | </listitem>
|
---|
| 455 | </varlistentry>
|
---|
[8da658ba] | 456 | <!--
|
---|
[fee14fb] | 457 | <varlistentry id="hid2hci">
|
---|
| 458 | <term><command>hid2hci</command></term>
|
---|
| 459 | <listitem>
|
---|
| 460 | <para>
|
---|
| 461 | is used to set up switch supported Bluetooth devices into
|
---|
| 462 | the HCI mode and back.
|
---|
| 463 | </para>
|
---|
| 464 | <indexterm zone="bluez hid2hci">
|
---|
| 465 | <primary sortas="b-hid2hci">hid2hci</primary>
|
---|
| 466 | </indexterm>
|
---|
| 467 | </listitem>
|
---|
[8da658ba] | 468 | </varlistentry>-->
|
---|
[fee14fb] | 469 |
|
---|
| 470 | <varlistentry id="l2ping">
|
---|
| 471 | <term><command>l2ping</command></term>
|
---|
| 472 | <listitem>
|
---|
| 473 | <para>
|
---|
| 474 | is used to send a L2CAP echo request to the Bluetooth MAC
|
---|
| 475 | address given in dotted hex notation.
|
---|
| 476 | </para>
|
---|
| 477 | <indexterm zone="bluez l2ping">
|
---|
| 478 | <primary sortas="b-l2ping">l2ping</primary>
|
---|
| 479 | </indexterm>
|
---|
| 480 | </listitem>
|
---|
| 481 | </varlistentry>
|
---|
| 482 |
|
---|
[af5248e2] | 483 | <varlistentry id="l2test">
|
---|
| 484 | <term><command>l2test</command></term>
|
---|
| 485 | <listitem>
|
---|
| 486 | <para>
|
---|
[c4ae27ab] | 487 | is a L2CAP testing program.
|
---|
[af5248e2] | 488 | </para>
|
---|
| 489 | <indexterm zone="bluez l2test">
|
---|
| 490 | <primary sortas="b-l2test">l2test</primary>
|
---|
| 491 | </indexterm>
|
---|
| 492 | </listitem>
|
---|
| 493 | </varlistentry>
|
---|
[8da658ba] | 494 | <!--
|
---|
[af5248e2] | 495 | <varlistentry id="obexd">
|
---|
| 496 | <term><command>obexd</command></term>
|
---|
| 497 | <listitem>
|
---|
| 498 | <para>
|
---|
| 499 | is the OBEX daemon.
|
---|
| 500 | </para>
|
---|
| 501 | <indexterm zone="bluez obexd">
|
---|
| 502 | <primary sortas="b-obexd">obexd</primary>
|
---|
| 503 | </indexterm>
|
---|
| 504 | </listitem>
|
---|
[8da658ba] | 505 | </varlistentry>-->
|
---|
[af5248e2] | 506 |
|
---|
[ef84ea0] | 507 | <varlistentry id="rctest">
|
---|
| 508 | <term><command>rctest</command></term>
|
---|
[fee14fb] | 509 | <listitem>
|
---|
| 510 | <para>
|
---|
[ef84ea0] | 511 | is used to test RFCOMM communications on the
|
---|
| 512 | Bluetooth stack.
|
---|
[fee14fb] | 513 | </para>
|
---|
[ef84ea0] | 514 | <indexterm zone="bluez rctest">
|
---|
| 515 | <primary sortas="b-rctest">rctest</primary>
|
---|
[fee14fb] | 516 | </indexterm>
|
---|
| 517 | </listitem>
|
---|
| 518 | </varlistentry>
|
---|
| 519 |
|
---|
| 520 | <varlistentry id="rfcomm">
|
---|
| 521 | <term><command>rfcomm</command></term>
|
---|
| 522 | <listitem>
|
---|
| 523 | <para>
|
---|
| 524 | is used to set up, maintain, and inspect the RFCOMM
|
---|
| 525 | configuration of the Bluetooth subsystem in the
|
---|
| 526 | Linux kernel.
|
---|
| 527 | </para>
|
---|
| 528 | <indexterm zone="bluez rfcomm">
|
---|
| 529 | <primary sortas="b-rfcomm">rfcomm</primary>
|
---|
| 530 | </indexterm>
|
---|
| 531 | </listitem>
|
---|
| 532 | </varlistentry>
|
---|
| 533 |
|
---|
| 534 | <varlistentry id="sdptool">
|
---|
| 535 | <term><command>sdptool</command></term>
|
---|
| 536 | <listitem>
|
---|
| 537 | <para>
|
---|
| 538 | is used to perform SDP queries on Bluetooth devices.
|
---|
| 539 | </para>
|
---|
| 540 | <indexterm zone="bluez sdptool">
|
---|
| 541 | <primary sortas="b-sdptool">sdptool</primary>
|
---|
| 542 | </indexterm>
|
---|
| 543 | </listitem>
|
---|
| 544 | </varlistentry>
|
---|
| 545 |
|
---|
| 546 | <varlistentry id="libbluetooth">
|
---|
| 547 | <term><filename class="libraryfile">libbluetooth.so</filename></term>
|
---|
| 548 | <listitem>
|
---|
| 549 | <para>
|
---|
[ef84ea0] | 550 | contains the <application>BlueZ</application> 4 API functions.
|
---|
[fee14fb] | 551 | </para>
|
---|
| 552 | <indexterm zone="bluez libbluetooth">
|
---|
| 553 | <primary sortas="c-libbluetooth">libbluetooth.so</primary>
|
---|
| 554 | </indexterm>
|
---|
| 555 | </listitem>
|
---|
| 556 | </varlistentry>
|
---|
| 557 | </variablelist>
|
---|
| 558 |
|
---|
| 559 | </sect2>
|
---|
| 560 |
|
---|
| 561 | </sect1>
|
---|