Manual: hciattach
hciattach(1) Linux System Administration hciattach(1)
Name
hciattach - attach serial devices via UART HCI to BlueZ stack
SYNOPSIS
hciattach [OPTIONS] [speed] [flow] [sleep] [bdaddr]
hciattach -1
DESCRIPTION
hciattach(1) is used to attach a serial UART to the Bluetooth stack as HCI transport interface.
OPTIONS
-i Send break
-n Don't detach from controlling terminal.
-p Print the PID when detaching.
-t timeout
Specify an initialization timeout. Default is 5 seconds.
-s speed
Specify an initial speed instead of the hardware default.
-l List all available configurations.
-r Set the HCI device into raw mode. The kernel and bluetooth daemon will ignore it.
-h, --help
Show help options
ARGUMENTS
show This specifies the serial device to attach. A leading /dev can be omitted.
Examples: /dev/ttyS1 ttyS2
type|id
The type or id of the Bluetooth device that is to be attached, i.e. vendor or other device specific identiβ
fier. Currently supported types are
ββββββββββββ¬ββββββββββββββββββββββββββββββββββββββββββββ
β type β Description β
ββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββ€
β any β Unspecified HCI_UART interface, no vendor β
β β specific options β
ββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββ€
β ericsson β Ericsson based modules β
ββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββ€
β digi β Digianswer based cards β
ββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββ€
β xircom β Xircom PCMCIA cards: Credit Card Adapter β
β β and Real Port Adapter β
ββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββ€
β csr β CSR Casira serial adapter or BrainBoxes β
β β serial dongle (BL642) β
ββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββ€
β bboxes β BrainBoxes PCMCIA card (BL620) β
ββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββ€
β swave β Silicon Wave kits β
ββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββ€
β bcsp β Serial adapters using CSR chips with BCSP β
β β serial protocol β
ββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββ€
β ath3k β Atheros AR300x based serial Bluetooth deβ β
β β vice β
ββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββ€
β intel β Intel Bluetooth device β
ββββββββββββ΄ββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββββββββββ
β Supported ID β Description β
β (manufacturer id, product id) β β
βββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββ€
β 0x0105, 0x080a β Xircom PCMCIA cards: Credit Card Adapter β
β β and Real Port Adapter β
βββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββ€
β 0x0160, 0x0002 β BrainBoxes PCMCIA card (BL620) β
βββββββββββββββββββββββββββββββββ΄ββββββββββββββββββββββββββββββββββββββββββββ
speed The speed specifies the UART speed to use. Baudrates higher than 115200bps require vendor specific initialβ
izations that are not implemented for all types of devices. In general the following speeds are supported:
Supported vendor devices are automatically initialised to their respective best settings.
ββββββββββ
β 9600 β
ββββββββββ€
β 19200 β
ββββββββββ€
β 38400 β
ββββββββββ€
β 57600 β
ββββββββββ€
β 115200 β
ββββββββββ€
β 230400 β
ββββββββββ€
β 460800 β
ββββββββββ€
β 921600 β
ββββββββββ
flow If the flow is appended to the list of options then hardware flow control is forced on the serial link
(CRTSCTS). All above mentioned device types have flow set by default. To force no flow control use noflow inβ
stead.
sleep|nosleep
Enables hardware specific power management feature. If sleep is appended to the list of options then this feaβ
ture is enabled. To disable this feature use nosleep instead. All above mentioned device types have nosleep
set by default.
Note: This option will only be valid for hardware which support hardware specific power management enable opβ
tion from host.
bdaddr The bdaddr 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.
RESOURCES
REPORTING BUGS
Author
Maxim Krasnyansky , Nils Faerber
Copyright
Free use of this software is granted under the terms of the GNU Lesser General Public Licenses (LGPL).
BlueZ Jan 22, 2002 hciattach(1)