1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
|
.TH HCIATTACH 8 "Jan 22 2002" BlueZ "Linux System Administration"
.SH NAME
hciattach \- attach serial devices via UART HCI to BlueZ stack
.SH SYNOPSIS
.B hciattach
[ -n ] [ -p ] [ -t timeout ] <
.I tty
> <
.I type
|
.I id
> [
.I speed
] [
.I flow
]
.SH DESCRIPTION
.LP
Hciattach is used to attach a serial UART to the Bluetooth stack as HCI
transport interface.
.SH OPTIONS
.TP
.BI -n
Don't detach from controlling terminal.
.TP
.BI -p
Print the PID when detaching.
.TP
.BI -t timeout
Specify an initialization timeout. (Default is 5 seconds.)
.TP
.I <tty>
This specifies the serial device to attach. A leading
.B /dev
can be omitted. Examples:
.B /dev/ttyS1
.B ttyS2
.TP
.I <type | id>
The
.B type
or
.B id
of the Bluetooth device that is to be attached, i.e. vendor or other device
specific identifier. Currently supported types are
.RS
.TP
.B type
.B description
.TP
any
Unspecified HCI_UART interface, no vendor specific options
.TP
ericsson
Ericsson based modules
.TP
digi
Digianswer based cards
.TP
xircom
Xircom PCMCIA cards: Credit Card Adapter and Real Port Adapter
.TP
csr
CSR Casira serial adapter or BrainBoxes serial dongle (BL642)
.TP
bboxes
BrainBoxes PCMCIA card (BL620)
.TP
swave
Silicon Wave kits
.TP
bcsp
Serial adapters using CSR chips with BCSP serial protocol
.RE
Supported IDs are (manufacturer id, product id)
.RS
.TP
0x0105, 0x080a
Xircom PCMCIA cards: Credit Card Adapter and Real Port Adapter
.TP
0x0160, 0x0002
BrainBoxes PCMCIA card (BL620)
.RE
.TP
.I <speed>
The
.B speed
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:
.B 9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600
Supported vendor devices are automatically initialised to their respective
best settings.
.TP
.I <flow>
If the keyword
.B flow
is appended to the list of options then hardware flow control is forced on
the serial link (
.B CRTSCTS
). All above mentioned device types have
.B flow
set by default. To force no flow control use
.B noflow
instead.
.SH AUTHORS
Written by Maxim Krasnyansky <maxk@qualcomm.com>
.PP
Manual page by Nils Faerber <nils@kernelconcepts.de>
|