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 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 hn 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 Fl n 59Show Bluetooth addresses as numbers. 60Normally 61.Nm 62attempts to resolve Bluetooth addresses, and display them symbolically. 63.It Ar command 64One of the supported commands (see below). 65Special command 66.Cm help 67can be used to obtain the list of all supported commands. 68To get more information about specific command use 69.Cm help Ar command . 70.It Ar parameters 71One or more optional space separated command parameters. 72.El 73.Sh COMMANDS 74The currently supported node commands in 75.Nm 76are: 77.Pp 78.Bl -tag -offset indent -compact 79.It Cm Read_Node_Flags 80.It Cm Read_Debug_Level 81.It Cm Write_Debug_Level 82.It Cm Read_Connection_List 83.It Cm Read_Channel_List 84.It Cm Read_Auto_Disconnect_Timeout 85.It Cm Write_Auto_Disconnect_Timeout 86.El 87.Sh EXIT STATUS 88.Ex -std 89.Sh SEE ALSO 90.Xr netgraph 3 , 91.Xr netgraph 4 , 92.Xr ng_l2cap 4 , 93.Xr l2ping 8 94.Sh AUTHORS 95.An Maksim Yevmenkin Aq m_evmenkin@yahoo.com 96