BTATTACH(8) | System Manager's Manual | BTATTACH(8) |
btattach
— attach
serial lines as Bluetooth HCI interfaces
btattach |
[-dFfoPp ] [-i
speed] [type]
tty speed |
btattach |
-t [-dFfoPp ]
tty |
btattach
is used to assign a
tty line to a Bluetooth Host Controller Interface
using the btuart(4) or
bcsp(4) line disciplines, and
can optionally initialize the line for a given device
type before activating the line discipline.
Supported types are:
bcm2035
bcm43xx
bcm43xx-3wire
bcsp
bgb2xx
btuart
csr
ericsson
digi
st
stlc2500
swave
texas
unistone
When the line discipline is activated,
btattach
detaches and sleeps until it receives a
SIGHUP
.
The command line options are as follows:
-d
-F
-f
-i
speed-o
-P
-p
-t
Only the super-user may attach a Bluetooth HCI interface.
Test mode tries to guess the speed using the received link-establish packet from HCI, or btuart(4), if there is no response.
The btattach
program was written with
reference to hciattach
as provided with the BlueZ
tools for Linux and first appeared in NetBSD
5.0.
KIYOHARA Takashi
<kiyohara@kk.iij4u.or.jp>
Iain Hibbert
Not all type initializations have been tested.
August 11, 2017 | NetBSD 10.99 |