xref: /freebsd/usr.sbin/bluetooth/l2control/l2control.8 (revision 9c6d3b9f9367ef19bc7d1a95504375c9e83961d2)
1878ed226SJulian Elischer.\" Copyright (c) 2001-2002 Maksim Yevmenkin <m_evmenkin@yahoo.com>
2878ed226SJulian Elischer.\" All rights reserved.
3878ed226SJulian Elischer.\"
4878ed226SJulian Elischer.\" Redistribution and use in source and binary forms, with or without
5878ed226SJulian Elischer.\" modification, are permitted provided that the following conditions
6878ed226SJulian Elischer.\" are met:
7878ed226SJulian Elischer.\" 1. Redistributions of source code must retain the above copyright
8878ed226SJulian Elischer.\"    notice, this list of conditions and the following disclaimer.
9878ed226SJulian Elischer.\" 2. Redistributions in binary form must reproduce the above copyright
10878ed226SJulian Elischer.\"    notice, this list of conditions and the following disclaimer in the
11878ed226SJulian Elischer.\"    documentation and/or other materials provided with the distribution.
12878ed226SJulian Elischer.\"
13878ed226SJulian Elischer.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14878ed226SJulian Elischer.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15878ed226SJulian Elischer.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16878ed226SJulian Elischer.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17878ed226SJulian Elischer.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18878ed226SJulian Elischer.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19878ed226SJulian Elischer.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20878ed226SJulian Elischer.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21878ed226SJulian Elischer.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22878ed226SJulian Elischer.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23878ed226SJulian Elischer.\" SUCH DAMAGE.
24878ed226SJulian Elischer.\"
250986ab12SMaksim Yevmenkin.\" $Id: l2control.8,v 1.5 2003/05/21 00:53:00 max Exp $
26878ed226SJulian Elischer.\" $FreeBSD$
2772f00208SRuslan Ermilov.\"
28*9c6d3b9fSMaksim Yevmenkin.Dd April 9, 2011
29878ed226SJulian Elischer.Dt L2CONTROL 8
30878ed226SJulian Elischer.Os
31878ed226SJulian Elischer.Sh NAME
32878ed226SJulian Elischer.Nm l2control
33878ed226SJulian Elischer.Nd L2CAP configuration utility
34878ed226SJulian Elischer.Sh SYNOPSIS
35878ed226SJulian Elischer.Nm
360986ab12SMaksim Yevmenkin.Op Fl hn
37*9c6d3b9fSMaksim Yevmenkin.Fl a Ar local
3872f00208SRuslan Ermilov.Ar command
39878ed226SJulian Elischer.Op Ar parameters ...
40878ed226SJulian Elischer.Sh DESCRIPTION
41878ed226SJulian ElischerThe
42878ed226SJulian Elischer.Nm
43*9c6d3b9fSMaksim Yevmenkinutility connects to the local device with the specified BD_ADDR or name
44*9c6d3b9fSMaksim Yevmenkinand attempts to send the specified command.
4572f00208SRuslan ErmilovThe
46878ed226SJulian Elischer.Nm
4772f00208SRuslan Ermilovutility will print results to the standard output and error messages to
48*9c6d3b9fSMaksim Yevmenkinthe standard error output.
49878ed226SJulian Elischer.Pp
50878ed226SJulian ElischerThe options are as follows:
51878ed226SJulian Elischer.Bl -tag -width indent
52*9c6d3b9fSMaksim Yevmenkin.It Fl a Ar local
53*9c6d3b9fSMaksim YevmenkinConnect to the local device with the specified BD_ADDR or name.
5472f00208SRuslan ErmilovExample:
55*9c6d3b9fSMaksim Yevmenkin.Fl a Li 00:01:02:03:04:05
56*9c6d3b9fSMaksim Yevmenkinor
57*9c6d3b9fSMaksim Yevmenkin.Fl a Li bt_device .
581a63eb31SJulian Elischer.It Fl h
591a63eb31SJulian ElischerDisplay usage message and exit.
600986ab12SMaksim Yevmenkin.It Fl n
610986ab12SMaksim YevmenkinShow Bluetooth addresses as numbers.
620986ab12SMaksim YevmenkinNormally
630986ab12SMaksim Yevmenkin.Nm
640986ab12SMaksim Yevmenkinattempts to resolve Bluetooth addresses, and display them symbolically.
6572f00208SRuslan Ermilov.It Ar command
6672f00208SRuslan ErmilovOne of the supported commands (see below).
67*9c6d3b9fSMaksim YevmenkinThe special command
6872f00208SRuslan Ermilov.Cm help
69*9c6d3b9fSMaksim Yevmenkincan be used to obtain a list of all supported commands.
70*9c6d3b9fSMaksim YevmenkinTo get more information about a specific command use
7172f00208SRuslan Ermilov.Cm help Ar command .
7272f00208SRuslan Ermilov.It Ar parameters
73878ed226SJulian ElischerOne or more optional space separated command parameters.
74878ed226SJulian Elischer.El
75878ed226SJulian Elischer.Sh COMMANDS
76878ed226SJulian ElischerThe currently supported node commands in
77878ed226SJulian Elischer.Nm
78878ed226SJulian Elischerare:
79878ed226SJulian Elischer.Pp
8072f00208SRuslan Ermilov.Bl -tag -offset indent -compact
8172f00208SRuslan Ermilov.It Cm Read_Node_Flags
8272f00208SRuslan Ermilov.It Cm Read_Debug_Level
8372f00208SRuslan Ermilov.It Cm Write_Debug_Level
8472f00208SRuslan Ermilov.It Cm Read_Connection_List
8572f00208SRuslan Ermilov.It Cm Read_Channel_List
8672f00208SRuslan Ermilov.It Cm Read_Auto_Disconnect_Timeout
8772f00208SRuslan Ermilov.It Cm Write_Auto_Disconnect_Timeout
8872f00208SRuslan Ermilov.El
89a866e170SRuslan Ermilov.Sh EXIT STATUS
90878ed226SJulian Elischer.Ex -std
91878ed226SJulian Elischer.Sh SEE ALSO
92878ed226SJulian Elischer.Xr netgraph 3 ,
93878ed226SJulian Elischer.Xr netgraph 4 ,
94878ed226SJulian Elischer.Xr ng_l2cap 4 ,
95878ed226SJulian Elischer.Xr l2ping 8
96878ed226SJulian Elischer.Sh AUTHORS
97*9c6d3b9fSMaksim Yevmenkin.An Maksim Yevmenkin Aq emax@FreeBSD.org
98