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.\" 251a63eb31SJulian Elischer.\" $Id: l2control.8,v 1.3 2003/04/27 19:45:34 max Exp $ 26878ed226SJulian Elischer.\" $FreeBSD$ 2772f00208SRuslan Ermilov.\" 28878ed226SJulian Elischer.Dd June 14, 2002 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 361a63eb31SJulian Elischer.Op Fl h 3772f00208SRuslan Ermilov.Fl a Ar BD_ADDR 3872f00208SRuslan Ermilov.Ar command 39878ed226SJulian Elischer.Op Ar parameters ... 40878ed226SJulian Elischer.Sh DESCRIPTION 41878ed226SJulian ElischerThe 42878ed226SJulian Elischer.Nm 4372f00208SRuslan Ermilovutility connects to the local device with the specified BD_ADDR and attempts 4472f00208SRuslan Ermilovto send the specified command. 4572f00208SRuslan ErmilovThe 46878ed226SJulian Elischer.Nm 4772f00208SRuslan Ermilovutility will print results to the standard output and error messages to 48878ed226SJulian Elischerthe standard error. 49878ed226SJulian Elischer.Pp 50878ed226SJulian ElischerThe options are as follows: 51878ed226SJulian Elischer.Bl -tag -width indent 5272f00208SRuslan Ermilov.It Fl a Ar BD_ADDR 5372f00208SRuslan ErmilovConnect to the local device with the specified BD_ADDR. 5472f00208SRuslan ErmilovExample: 5572f00208SRuslan Ermilov.Fl a Li 00:01:02:03:04:05 . 561a63eb31SJulian Elischer.It Fl h 571a63eb31SJulian ElischerDisplay usage message and exit. 5872f00208SRuslan Ermilov.It Ar command 5972f00208SRuslan ErmilovOne of the supported commands (see below). 6072f00208SRuslan ErmilovSpecial command 6172f00208SRuslan Ermilov.Cm help 6272f00208SRuslan Ermilovcan be used to obtain the list of all supported commands. 6372f00208SRuslan ErmilovTo get more information about specific command use 6472f00208SRuslan Ermilov.Cm help Ar command . 6572f00208SRuslan Ermilov.It Ar parameters 66878ed226SJulian ElischerOne or more optional space separated command parameters. 67878ed226SJulian Elischer.El 68878ed226SJulian Elischer.Sh COMMANDS 69878ed226SJulian ElischerThe currently supported node commands in 70878ed226SJulian Elischer.Nm 71878ed226SJulian Elischerare: 72878ed226SJulian Elischer.Pp 7372f00208SRuslan Ermilov.Bl -tag -offset indent -compact 7472f00208SRuslan Ermilov.It Cm Read_Node_Flags 7572f00208SRuslan Ermilov.It Cm Read_Debug_Level 7672f00208SRuslan Ermilov.It Cm Write_Debug_Level 7772f00208SRuslan Ermilov.It Cm Read_Connection_List 7872f00208SRuslan Ermilov.It Cm Read_Channel_List 7972f00208SRuslan Ermilov.It Cm Read_Auto_Disconnect_Timeout 8072f00208SRuslan Ermilov.It Cm Write_Auto_Disconnect_Timeout 8172f00208SRuslan Ermilov.El 82878ed226SJulian Elischer.Sh DIAGNOSTICS 83878ed226SJulian Elischer.Ex -std 84878ed226SJulian Elischer.Sh SEE ALSO 85878ed226SJulian Elischer.Xr netgraph 3 , 86878ed226SJulian Elischer.Xr netgraph 4 , 87878ed226SJulian Elischer.Xr ng_l2cap 4 , 88878ed226SJulian Elischer.Xr l2ping 8 89878ed226SJulian Elischer.Sh AUTHORS 90878ed226SJulian Elischer.An Maksim Yevmenkin Aq m_evmenkin@yahoo.com 91