xref: /freebsd/usr.sbin/bluetooth/l2control/l2control.8 (revision 4b2eaea43fec8e8792be611dea204071a10b655a)
1.\" Copyright (c) 2001-2002 Maksim Yevmenkin <m_evmenkin@yahoo.com>
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\"    notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\"    notice, this list of conditions and the following disclaimer in the
11.\"    documentation and/or other materials provided with the distribution.
12.\"
13.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD$
26.\"
27.Dd June 14, 2002
28.Dt L2CONTROL 8
29.Os
30.Sh NAME
31.Nm l2control
32.Nd L2CAP configuration utility
33.Sh SYNOPSIS
34.Nm
35.Op Fl a Ar BD_ADDR
36.Op Ar command
37.Op Ar parameters ...
38.Sh DESCRIPTION
39The
40.Nm
41utility connects to the local device with specified
42.Ar BD_ADDR
43and attempts to send specified
44.Ar command .
45The
46.Nm
47utility
48will print results to the standard output and error messages to
49the standard error.
50.Pp
51The options are as follows:
52.Bl -tag -width indent
53.It Fl a Ar BD_ADDR
54Connect to the local device with specified
55.Ar BD_ADDR .
56Example:
57.Fl a Li 00:01:02:03:04:05 .
58.It Ar command
59One of the supported commands (see below).
60Special command
61.Cm help
62can be used to obtain the list of all supported commands.
63To get more
64information about specific command use
65.Cm help Ar command .
66.It Ar parameters
67One or more optional space separated command parameters.
68.El
69.Sh COMMANDS
70The currently supported node commands in
71.Nm
72are:
73.Pp
74.Bl -tag -offset indent -compact
75.It Cm Read_Node_Flags
76.It Cm Read_Debug_Level
77.It Cm Write_Debug_Level
78.It Cm Read_Connection_List
79.It Cm Read_Channel_List
80.El
81.Sh DIAGNOSTICS
82.Ex -std
83.Sh SEE ALSO
84.Xr netgraph 3 ,
85.Xr netgraph 4 ,
86.Xr ng_l2cap 4 ,
87.Xr l2ping 8
88.Sh AUTHORS
89.An Maksim Yevmenkin Aq m_evmenkin@yahoo.com
90