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.\" $Id: l2control.8,v 1.3 2003/04/27 19:45:34 max Exp $ 26.\" $FreeBSD$ 27.\" 28.Dd June 14, 2002 29.Dt L2CONTROL 8 30.Os 31.Sh NAME 32.Nm l2control 33.Nd L2CAP configuration utility 34.Sh SYNOPSIS 35.Nm 36.Op Fl h 37.Fl a Ar BD_ADDR 38.Ar command 39.Op Ar parameters ... 40.Sh DESCRIPTION 41The 42.Nm 43utility connects to the local device with the specified BD_ADDR and attempts 44to send the specified command. 45The 46.Nm 47utility will print results to the standard output and error messages to 48the standard error. 49.Pp 50The options are as follows: 51.Bl -tag -width indent 52.It Fl a Ar BD_ADDR 53Connect to the local device with the specified BD_ADDR. 54Example: 55.Fl a Li 00:01:02:03:04:05 . 56.It Fl h 57Display usage message and exit. 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 information about specific command use 64.Cm help Ar command . 65.It Ar parameters 66One or more optional space separated command parameters. 67.El 68.Sh COMMANDS 69The currently supported node commands in 70.Nm 71are: 72.Pp 73.Bl -tag -offset indent -compact 74.It Cm Read_Node_Flags 75.It Cm Read_Debug_Level 76.It Cm Write_Debug_Level 77.It Cm Read_Connection_List 78.It Cm Read_Channel_List 79.It Cm Read_Auto_Disconnect_Timeout 80.It Cm Write_Auto_Disconnect_Timeout 81.El 82.Sh DIAGNOSTICS 83.Ex -std 84.Sh SEE ALSO 85.Xr netgraph 3 , 86.Xr netgraph 4 , 87.Xr ng_l2cap 4 , 88.Xr l2ping 8 89.Sh AUTHORS 90.An Maksim Yevmenkin Aq m_evmenkin@yahoo.com 91