Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

btattach(8) [netbsd man page]

BTATTACH(8)						    BSD System Manager's Manual 					       BTATTACH(8)

NAME
btattach -- attach serial lines as Bluetooth HCI interfaces SYNOPSIS
btattach [-dFfoPp] [-i speed] [type] tty speed btattach -t [-dFfoPp] tty DESCRIPTION
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 Broadcom BCM2035 bcsp Generic BCSP (BlueCore Serial Protocol) bgb2xx Philips BGB2xx module btuart Generic UART (this is the default) csr Cambridge Silicon Radio Casira serial adapter, or Brainboxes serial dongle (BL642) ericsson Ericsson based modules digi Digianswer based cards st ST Microelectronics minikits based on STLC2410/STLC2415 stlc2500 ST Microelectronics minikits based on STLC2500 swave Silicon Wave kits texas Texas Instruments modules unistone Infineon UniStone (PBA31308) modules When the line discipline is activated, btattach detaches and sleeps until it receives a SIGHUP. The command line options are as follows: -d debug mode. print initialization IO and do not detach. -F Disable flow control. -f Enable flow control. -i speed Specify an alternate speed for the Bluetooth module to use during the initialization phase. -o Enable odd parity. -P Disable parity. -p Enable parity (even parity). -t Test mode. 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. FILES
/var/run/btattach-{tty}.pid SEE ALSO
bcsp(4), bluetooth(4), btuart(4), btconfig(8) HISTORY
The btattach program was written with reference to hciattach(8) as provided with the BlueZ tools for Linux and first appeared in NetBSD 5.0. AUTHORS
KIYOHARA Takashi <kiyohara@kk.iij4u.or.jp> Iain Hibbert BUGS
Not all type initializations have been tested. BSD
March 9, 2010 BSD

Check Out this Related Man Page

HCIATTACH(8)						    Linux System Administration 					      HCIATTACH(8)

NAME
hciattach - attach serial devices via UART HCI to BlueZ stack SYNOPSIS
hciattach [-b] [-n] [-p] [-t timeout] [-s speed] [-l] [-r] tty type|id speed flow bdaddr DESCRIPTION
Hciattach is used to attach a serial UART to the Bluetooth stack as HCI transport interface. OPTIONS
-b Send break. -n Don't detach from controlling terminal. -p Print the PID when detaching. -t timeout Specify an initialization timeout. (Default is 5 seconds.) -s speed Specify an initial speed instead of the hardware default. -l List all available configurations. -r Set the HCI device into raw mode (the kernel and bluetoothd will ignore it). 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 supported types are 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 ath3k Atheros AR300x based serial Bluetooth device Supported IDs are (manufacturer id, product id) 0x0105, 0x080a Xircom PCMCIA cards: Credit Card Adapter and Real Port Adapter 0x0160, 0x0002 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 speeds are supported: 9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600 Supported vendor devices are automatically initialised to their respective best settings. flow If the keyword flow is appended to the list of options then hardware flow control is forced on the serial link ( CRTSCTS ). All above mentioned device types have flow set by default. To force no flow control use noflow instead. sleep Enables hardware specific power management feature. If sleep is appended to the list of options then this feature is enabled. To disable this feature use nosleep instead. All above mentioned device types have nosleep set by default. Note: This option will only be valid for hardware which support hardware specific power management enable option from host. bdaddr The bdaddr specifies the Bluetooth Address to use. Some devices (like the STLC2500) do not store the Bluetooth address in hardware memory. Instead it must be uploaded during the initialization process. If this argument is specified, then the address will be used to initialize the device. Otherwise, a default address will be used. AUTHORS
Written by Maxim Krasnyansky <maxk@qualcomm.com> Manual page by Nils Faerber <nils@kernelconcepts.de> BlueZ Jan 22 2002 HCIATTACH(8)
Man Page