1HCIATTACH(1) Linux System Administration HCIATTACH(1)
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 intel Intel Bluetooth device
67
68 Supported IDs are (manufacturer id, product id)
69
70 0x0105, 0x080a
71 Xircom PCMCIA cards: Credit Card Adapter and Real Port
72 Adapter
73
74 0x0160, 0x0002
75 BrainBoxes PCMCIA card (BL620)
76
77
78 speed The speed specifies the UART speed to use. Baudrates higher than
79 115.200bps require vendor specific initializations that are not
80 implemented for all types of devices. In general the following
81 speeds are supported:
82
83 9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600
84
85 Supported vendor devices are automatically initialised to their
86 respective best settings.
87
88 flow If the keyword flow is appended to the list of options then
89 hardware flow control is forced on the serial link ( CRTSCTS ).
90 All above mentioned device types have flow set by default. To
91 force no flow control use noflow instead.
92
93 sleep Enables hardware specific power management feature. If sleep is
94 appended to the list of options then this feature is enabled. To
95 disable this feature use nosleep instead. All above mentioned
96 device types have nosleep set by default.
97
98 Note: This option will only be valid for hardware which support
99 hardware specific power management enable option from host.
100
101 bdaddr The bdaddr specifies the Bluetooth Address to use. Some devices
102 (like the STLC2500) do not store the Bluetooth address in hard‐
103 ware memory. Instead it must be uploaded during the initializa‐
104 tion process. If this argument is specified, then the address
105 will be used to initialize the device. Otherwise, a default
106 address will be used.
107
108
110 Written by Maxim Krasnyansky <maxk@qualcomm.com>
111
112 Manual page by Nils Faerber <nils@kernelconcepts.de>
113
114
115
116BlueZ Jan 22 2002 HCIATTACH(1)