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.5 2003/05/21 00:53:00 max Exp $ 26.\" $FreeBSD$ 27.\" 28.Dd April 9, 2011 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 hn 37.Fl a Ar local 38.Ar command 39.Op Ar parameters ... 40.Sh DESCRIPTION 41The 42.Nm 43utility connects to the local device with the specified BD_ADDR or name 44and attempts to send the specified command. 45The 46.Nm 47utility will print results to the standard output and error messages to 48the standard error output. 49.Pp 50The options are as follows: 51.Bl -tag -width indent 52.It Fl a Ar local 53Connect to the local device with the specified BD_ADDR or name. 54Example: 55.Fl a Li 00:01:02:03:04:05 56or 57.Fl a Li bt_device . 58.It Fl h 59Display usage message and exit. 60.It Fl n 61Show Bluetooth addresses as numbers. 62Normally 63.Nm 64attempts to resolve Bluetooth addresses, and display them symbolically. 65.It Ar command 66One of the supported commands (see below). 67The special command 68.Cm help 69can be used to obtain a list of all supported commands. 70To get more information about a specific command use 71.Cm help Ar command . 72.It Ar parameters 73One or more optional space separated command parameters. 74.El 75.Sh COMMANDS 76The currently supported node commands in 77.Nm 78are: 79.Pp 80.Bl -tag -width "Write_Auto_Disconnect_Timeout" -offset indent -compact 81.It Cm Read_Node_Flags 82.It Cm Read_Debug_Level 83.It Cm Write_Debug_Level 84.It Cm Read_Connection_List 85.It Cm Read_Channel_List 86.It Cm Read_Auto_Disconnect_Timeout 87.It Cm Write_Auto_Disconnect_Timeout 88.El 89.Sh EXIT STATUS 90.Ex -std 91.Sh SEE ALSO 92.Xr netgraph 3 , 93.Xr netgraph 4 , 94.Xr ng_l2cap 4 , 95.Xr l2ping 8 96.Sh AUTHORS 97.An Maksim Yevmenkin Aq Mt emax@FreeBSD.org 98