261 lines
4.9 KiB
HTML
261 lines
4.9 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of HCIATTACH</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>HCIATTACH</H1>
|
|
Section: Linux System Administration (1)<BR>Updated: Jan 22 2002<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
hciattach - attach serial devices via UART HCI to BlueZ stack
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>hciattach</B>
|
|
|
|
[<B>-b</B>]
|
|
|
|
[<B>-n</B>]
|
|
|
|
[<B>-p</B>]
|
|
|
|
[<B>-t</B>
|
|
|
|
<I>timeout</I>]
|
|
|
|
[<B>-s</B>
|
|
|
|
<I>speed</I>]
|
|
|
|
[<B>-l</B>]
|
|
|
|
[<B>-r</B>]
|
|
|
|
<I>tty</I>
|
|
|
|
<I>type</I>|<I>id</I>
|
|
|
|
<I>speed</I>
|
|
|
|
<I>flow</I>
|
|
|
|
<I>bdaddr</I>
|
|
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<P>
|
|
|
|
Hciattach is used to attach a serial UART to the Bluetooth stack as HCI
|
|
transport interface.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-b</B>
|
|
|
|
<DD>
|
|
Send break.
|
|
<DT id="2"><B>-n</B>
|
|
|
|
<DD>
|
|
Don't detach from controlling terminal.
|
|
<DT id="3"><B>-p</B>
|
|
|
|
<DD>
|
|
Print the PID when detaching.
|
|
<DT id="4"><B>-t</B><I> timeout</I>
|
|
|
|
<DD>
|
|
Specify an initialization timeout. (Default is 5 seconds.)
|
|
<DT id="5"><B>-s</B><I> speed</I>
|
|
|
|
<DD>
|
|
Specify an initial speed instead of the hardware default.
|
|
<DT id="6"><B>-l</B>
|
|
|
|
<DD>
|
|
List all available configurations.
|
|
<DT id="7"><B>-r</B>
|
|
|
|
<DD>
|
|
Set the HCI device into raw mode (the kernel and bluetoothd will ignore it).
|
|
<DT id="8"><I>tty</I>
|
|
|
|
<DD>
|
|
This specifies the serial device to attach. A leading
|
|
<B>/dev</B>
|
|
|
|
can be omitted. Examples:
|
|
<B>/dev/ttyS1</B>
|
|
|
|
<B>ttyS2</B>
|
|
|
|
<DT id="9"><I>type</I>|<I>id</I>
|
|
|
|
<DD>
|
|
The
|
|
<I>type</I>
|
|
|
|
or
|
|
<I>id</I>
|
|
|
|
of the Bluetooth device that is to be attached, i.e. vendor or other device
|
|
specific identifier. Currently supported types are
|
|
<DL COMPACT><DT id="10"><DD>
|
|
<DL COMPACT>
|
|
<DT id="11"><B>type</B>
|
|
|
|
<DD>
|
|
<B>description</B>
|
|
|
|
<DT id="12"><B>any</B>
|
|
|
|
<DD>
|
|
Unspecified HCI_UART interface, no vendor specific options
|
|
<DT id="13"><B>ericsson</B>
|
|
|
|
<DD>
|
|
Ericsson based modules
|
|
<DT id="14"><B>digi</B>
|
|
|
|
<DD>
|
|
Digianswer based cards
|
|
<DT id="15"><B>xircom</B>
|
|
|
|
<DD>
|
|
Xircom PCMCIA cards: Credit Card Adapter and Real Port Adapter
|
|
<DT id="16"><B>csr</B>
|
|
|
|
<DD>
|
|
CSR Casira serial adapter or BrainBoxes serial dongle (BL642)
|
|
<DT id="17"><B>bboxes</B>
|
|
|
|
<DD>
|
|
BrainBoxes PCMCIA card (BL620)
|
|
<DT id="18"><B>swave</B>
|
|
|
|
<DD>
|
|
Silicon Wave kits
|
|
<DT id="19"><B>bcsp</B>
|
|
|
|
<DD>
|
|
Serial adapters using CSR chips with BCSP serial protocol
|
|
<DT id="20"><B>ath3k</B>
|
|
|
|
<DD>
|
|
Atheros AR300x based serial Bluetooth device
|
|
<DT id="21"><B>intel</B>
|
|
|
|
<DD>
|
|
Intel Bluetooth device
|
|
</DL>
|
|
</DL>
|
|
|
|
<P>
|
|
Supported IDs are (manufacturer id, product id)
|
|
<DL COMPACT><DT id="22"><DD>
|
|
<DL COMPACT>
|
|
<DT id="23"><B>0x0105, 0x080a</B>
|
|
|
|
<DD>
|
|
Xircom PCMCIA cards: Credit Card Adapter and Real Port Adapter
|
|
<DT id="24"><B>0x0160, 0x0002</B>
|
|
|
|
<DD>
|
|
BrainBoxes PCMCIA card (BL620)
|
|
</DL>
|
|
</DL>
|
|
|
|
<P>
|
|
<DT id="25"><I>speed</I>
|
|
|
|
<DD>
|
|
The
|
|
<I>speed</I>
|
|
|
|
specifies the UART speed to use. Baudrates higher than 115.200bps require
|
|
vendor specific initializations that are not implemented for all types of
|
|
devices. In general the following speeds are supported:
|
|
<P>
|
|
<B>9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600</B>
|
|
|
|
<P>
|
|
Supported vendor devices are automatically initialised to their respective
|
|
best settings.
|
|
<DT id="26"><I>flow</I>
|
|
|
|
<DD>
|
|
If the keyword
|
|
<I>flow</I>
|
|
|
|
is appended to the list of options then hardware flow control is forced on
|
|
the serial link (
|
|
<B>CRTSCTS</B>
|
|
|
|
). All above mentioned device types have
|
|
<B>flow</B>
|
|
|
|
set by default. To force no flow control use
|
|
<B>noflow</B>
|
|
|
|
instead.
|
|
<DT id="27"><I>sleep</I>
|
|
|
|
<DD>
|
|
Enables hardware specific power management feature. If
|
|
<I>sleep</I>
|
|
|
|
is appended to the list of options then this feature is enabled. To disable
|
|
this feature use
|
|
<B>nosleep</B>
|
|
|
|
instead.
|
|
All above mentioned device types have
|
|
<B>nosleep</B>
|
|
|
|
set by default.
|
|
<P>
|
|
Note: This option will only be valid for hardware which support
|
|
hardware specific power management enable option from host.
|
|
<DT id="28"><I>bdaddr</I>
|
|
|
|
<DD>
|
|
The
|
|
<I>bdaddr</I>
|
|
|
|
specifies the Bluetooth Address to use. Some devices (like the STLC2500)
|
|
do not store the Bluetooth address in hardware memory. Instead it must
|
|
be uploaded during the initialization process. If this argument
|
|
is specified, then the address will be used to initialize the device.
|
|
Otherwise, a default address will be used.
|
|
<P>
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>AUTHORS</H2>
|
|
|
|
Written by Maxim Krasnyansky <<A HREF="mailto:maxk@qualcomm.com">maxk@qualcomm.com</A>>
|
|
<P>
|
|
|
|
Manual page by Nils Faerber <<A HREF="mailto:nils@kernelconcepts.de">nils@kernelconcepts.de</A>>
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="29"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="30"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="31"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="32"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="33"><A HREF="#lbAF">AUTHORS</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:16 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|