hciattach
——————————————————————————–
SYNOPSIS
hciattach < tty > < type | id > [ speed ] [ flow ]
DESCRIPTION
Hciattach is used to attach a serial UART to the Bluetooth stack as HCI
transport interface.
hciattach程序用来附着一个串口UART设备作为蓝牙协议栈的hci层传输接口。
OPTIONS
<tty> 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 identifier. Currently sup-
ported types are
定义蓝牙通过串口连接的蓝牙设备的类型或者厂家ID。目前支持的类型有
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
使用CSR蓝牙核,串口传输协议使用BCSP的串口蓝牙适配器。
Supported IDs are (manufacturer id, product id)
0×0105, 0×080a
Xircom PCMCIA cards: Credit Card Adapter and Real Port
Adapter
0×0160, 0×0002
BrainBoxes PCMCIA card (BL620)
<speed>
The 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
Written by Maxim Krasnyansky <maxk@qualcomm.com>
man page by Nils Faerber <nils@kernelconcepts.de>
来源:http://blog.donews.com/zhuyong/archive/2004/10/19/139500.aspx