1HCIATTACH(8) Linux System Administration HCIATTACH(8)
2
3
4
6 hciattach - attach serial devices via UART HCI to BlueZ stack
7
9 hciattach [-b] [-n] [-p] [-t timeout] [-s speed] [-l] [-r] tty type|id
10 speed flow bdaddr
11
13 Hciattach is used to attach a serial UART to the Bluetooth stack as HCI
14 transport interface.
15
17 -b Send break.
18
19 -n Don't detach from controlling terminal.
20
21 -p Print the PID when detaching.
22
23 -t timeout
24 Specify an initialization timeout. (Default is 5 seconds.)
25
26 -s speed
27 Specify an initial speed instead of the hardware default.
28
29 -l List all available configurations.
30
31 -r Set the HCI device into raw mode (the kernel and bluetoothd will
32 ignore it).
33
34 tty This specifies the serial device to attach. A leading /dev can
35 be omitted. Examples: /dev/ttyS1 ttyS2
36
37 type|id
38 The type or id of the Bluetooth device that is to be attached,
39 i.e. vendor or other device specific identifier. Currently sup‐
40 ported types are
41
42 type description
43
44 any Unspecified HCI_UART interface, no vendor specific
45 options
46
47 ericsson
48 Ericsson based modules
49
50 digi Digianswer based cards
51
52 xircom Xircom PCMCIA cards: Credit Card Adapter and Real Port
53 Adapter
54
55 csr CSR Casira serial adapter or BrainBoxes serial dongle
56 (BL642)
57
58 bboxes BrainBoxes PCMCIA card (BL620)
59
60 swave Silicon Wave kits
61
62 bcsp Serial adapters using CSR chips with BCSP serial protocol
63
64 ath3k Atheros AR300x based serial Bluetooth device
65
66 Supported IDs are (manufacturer id, product id)
67
68 0x0105, 0x080a
69 Xircom PCMCIA cards: Credit Card Adapter and Real Port
70 Adapter
71
72 0x0160, 0x0002
73 BrainBoxes PCMCIA card (BL620)
74
75
76 speed The speed specifies the UART speed to use. Baudrates higher than
77 115.200bps require vendor specific initializations that are not
78 implemented for all types of devices. In general the following
79 speeds are supported:
80
81 9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600
82
83 Supported vendor devices are automatically initialised to their
84 respective best settings.
85
86 flow If the keyword flow is appended to the list of options then
87 hardware flow control is forced on the serial link ( CRTSCTS ).
88 All above mentioned device types have flow set by default. To
89 force no flow control use noflow instead.
90
91 sleep Enables hardware specific power management feature. If sleep is
92 appended to the list of options then this feature is enabled. To
93 disable this feature use nosleep instead. All above mentioned
94 device types have nosleep set by default.
95
96 Note: This option will only be valid for hardware which support
97 hardware specific power management enable option from host.
98
99 bdaddr The bdaddr specifies the Bluetooth Address to use. Some devices
100 (like the STLC2500) do not store the Bluetooth address in hard‐
101 ware memory. Instead it must be uploaded during the initializa‐
102 tion process. If this argument is specified, then the address
103 will be used to initialize the device. Otherwise, a default
104 address will be used.
105
106
108 Written by Maxim Krasnyansky <maxk@qualcomm.com>
109
110 Manual page by Nils Faerber <nils@kernelconcepts.de>
111
112
113
114BlueZ Jan 22 2002 HCIATTACH(8)