btuart.4 revision 1.1
$NetBSD: btuart.4,v 1.1 2007/02/20 16:56:10 kiyohara Exp $

Copyright (c) 2007 KIYOHARA Takashi
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

.Dd February 19, 2007 .Dt BTUART 4 .Os .Sh NAME .Nm btuart .Nd Bluetooth HCI UART (H4) driver .Sh SYNOPSIS .Cd pseudo-device btuart .Sh DESCRIPTION The .Nm driver provides a .Xr tty 4 line discipline to send and receive Bluetooth packets over a serial line, as described in the as described in the .Qo Bluetooth Host Controller Interface q Transport Layer specification, Vol 4 part A. .Qc

p The .Nm sets the baud rate for that by vendor specific or other command.

p Different modules require different handling. The connected modules type can be set with .Xr ioctl 2 calls: l -tag -width xxxxxx t Dv BTUART_HCITYPE Fa (int) Set the module type. The .Nm supports: l -tag -width XXXXXX t Dv BTUART_HCITYPE_ERICSSON Ericsson based modules t Dv BTUART_HCITYPE_DIGI Digianswer based cards t Dv BTUART_HCITYPE_TEXAS Texas Instruments t Dv BTUART_HCITYPE_CSR Cambridge Silicon Radio Casira serial adapter or BrainBoxes serial dongle (BL642) t Dv BTUART_HCITYPE_SWAVE Silicon Wave kits t Dv BTUART_HCITYPE_ST ST Microelectronics minikits based on STLC2410/STLC2415 t Dv BTUART_HCITYPE_STLC2500 ST Microelectronics minikits based on STLC2500 t Dv BTUART_HCITYPE_BT2000C AmbiCom BT2000C Bluetooth PC/CF Card t Dv BTUART_HCITYPE_BCM2035 Broadcom BCM2035 t Dv BTUART_HCITYPE_ANY Unspecified HCI UART interface .El t Dv BTUART_INITSPEED Fa (int) Set initial speed of module, send initial command to module. t Dv BTUART_START Fa (void) Start .Xr btuart 4 driver. .El

p .Sh SEE ALSO .Xr bluetooth 4 , .Xr btuartd 8 .Sh HISTORY The .Nm device appeared in .Nx 4.0 . .Sh AUTHORS .An KIYOHARA Takashi Aq kiyohara@kk.iij4u.or.jp