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 $ 2672f00208SRuslan Ermilov.\" 279c6d3b9fSMaksim Yevmenkin.Dd April 9, 2011 28878ed226SJulian Elischer.Dt L2CONTROL 8 29878ed226SJulian Elischer.Os 30878ed226SJulian Elischer.Sh NAME 31878ed226SJulian Elischer.Nm l2control 32878ed226SJulian Elischer.Nd L2CAP configuration utility 33878ed226SJulian Elischer.Sh SYNOPSIS 34878ed226SJulian Elischer.Nm 350986ab12SMaksim Yevmenkin.Op Fl hn 369c6d3b9fSMaksim Yevmenkin.Fl a Ar local 3772f00208SRuslan Ermilov.Ar command 38878ed226SJulian Elischer.Op Ar parameters ... 39878ed226SJulian Elischer.Sh DESCRIPTION 40878ed226SJulian ElischerThe 41878ed226SJulian Elischer.Nm 429c6d3b9fSMaksim Yevmenkinutility connects to the local device with the specified BD_ADDR or name 439c6d3b9fSMaksim Yevmenkinand attempts to send the specified command. 4472f00208SRuslan ErmilovThe 45878ed226SJulian Elischer.Nm 4672f00208SRuslan Ermilovutility will print results to the standard output and error messages to 479c6d3b9fSMaksim Yevmenkinthe standard error output. 48878ed226SJulian Elischer.Pp 49878ed226SJulian ElischerThe options are as follows: 50878ed226SJulian Elischer.Bl -tag -width indent 519c6d3b9fSMaksim Yevmenkin.It Fl a Ar local 529c6d3b9fSMaksim YevmenkinConnect to the local device with the specified BD_ADDR or name. 5372f00208SRuslan ErmilovExample: 549c6d3b9fSMaksim Yevmenkin.Fl a Li 00:01:02:03:04:05 559c6d3b9fSMaksim Yevmenkinor 569c6d3b9fSMaksim Yevmenkin.Fl a Li bt_device . 571a63eb31SJulian Elischer.It Fl h 581a63eb31SJulian ElischerDisplay usage message and exit. 590986ab12SMaksim Yevmenkin.It Fl n 600986ab12SMaksim YevmenkinShow Bluetooth addresses as numbers. 610986ab12SMaksim YevmenkinNormally 620986ab12SMaksim Yevmenkin.Nm 630986ab12SMaksim Yevmenkinattempts to resolve Bluetooth addresses, and display them symbolically. 6472f00208SRuslan Ermilov.It Ar command 6572f00208SRuslan ErmilovOne of the supported commands (see below). 669c6d3b9fSMaksim YevmenkinThe special command 6772f00208SRuslan Ermilov.Cm help 689c6d3b9fSMaksim Yevmenkincan be used to obtain a list of all supported commands. 699c6d3b9fSMaksim YevmenkinTo get more information about a specific command use 7072f00208SRuslan Ermilov.Cm help Ar command . 7172f00208SRuslan Ermilov.It Ar parameters 72878ed226SJulian ElischerOne or more optional space separated command parameters. 73878ed226SJulian Elischer.El 74878ed226SJulian Elischer.Sh COMMANDS 75878ed226SJulian ElischerThe currently supported node commands in 76878ed226SJulian Elischer.Nm 77878ed226SJulian Elischerare: 78878ed226SJulian Elischer.Pp 79e1656a88SJoel Dahl.Bl -tag -width "Write_Auto_Disconnect_Timeout" -offset indent -compact 8072f00208SRuslan Ermilov.It Cm Read_Node_Flags 8172f00208SRuslan Ermilov.It Cm Read_Debug_Level 8272f00208SRuslan Ermilov.It Cm Write_Debug_Level 8372f00208SRuslan Ermilov.It Cm Read_Connection_List 8472f00208SRuslan Ermilov.It Cm Read_Channel_List 8572f00208SRuslan Ermilov.It Cm Read_Auto_Disconnect_Timeout 8672f00208SRuslan Ermilov.It Cm Write_Auto_Disconnect_Timeout 8772f00208SRuslan Ermilov.El 88a866e170SRuslan Ermilov.Sh EXIT STATUS 89878ed226SJulian Elischer.Ex -std 90878ed226SJulian Elischer.Sh SEE ALSO 91878ed226SJulian Elischer.Xr netgraph 3 , 92878ed226SJulian Elischer.Xr netgraph 4 , 93878ed226SJulian Elischer.Xr ng_l2cap 4 , 94878ed226SJulian Elischer.Xr l2ping 8 95878ed226SJulian Elischer.Sh AUTHORS 96*01c2b8acSBaptiste Daroussin.An Maksim Yevmenkin Aq Mt emax@FreeBSD.org 97