diff options
-rw-r--r-- | usr.bin/bluetooth/btsockstat/btsockstat.1 | 34 | ||||
-rw-r--r-- | usr.sbin/bluetooth/bt3cfw/bt3cfw.8 | 40 | ||||
-rw-r--r-- | usr.sbin/bluetooth/hccontrol/hccontrol.8 | 198 | ||||
-rw-r--r-- | usr.sbin/bluetooth/hcseriald/hcseriald.8 | 51 | ||||
-rw-r--r-- | usr.sbin/bluetooth/l2control/l2control.8 | 61 | ||||
-rw-r--r-- | usr.sbin/bluetooth/l2ping/l2ping.8 | 67 |
6 files changed, 237 insertions, 214 deletions
diff --git a/usr.bin/bluetooth/btsockstat/btsockstat.1 b/usr.bin/bluetooth/btsockstat/btsockstat.1 index a1295cd..357edd2 100644 --- a/usr.bin/bluetooth/btsockstat/btsockstat.1 +++ b/usr.bin/bluetooth/btsockstat/btsockstat.1 @@ -1,5 +1,3 @@ -.\" btsockstat.1 -.\" .\" Copyright (c) 2001-2002 Maksim Yevmenkin <m_evmenkin@yahoo.com> .\" All rights reserved. .\" @@ -24,8 +22,8 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id: btsockstat.1,v 1.2 2002/11/12 17:08:34 max Exp $ .\" $FreeBSD$ +.\" .Dd August 31, 2002 .Dt BTSOCKSTAT 1 .Os @@ -35,39 +33,43 @@ .Sh SYNOPSIS .Nm .Op Fl p Ar protocol -.Op Fl r +.Op Fl r .Op Fl M Ar core .Sh DESCRIPTION The -.Nm -command symbolically displays the contents of various Bluetooth sockets -related data structures. There are few output formats, depending on the +.Nm +utility symbolically displays the contents of various Bluetooth sockets +related data structures. +There are few output formats, depending on the options for the information presented. +The .Nm -will print results to the standard output and error messages to the +utility +will print results to the standard output and error messages to the standard error. .Pp The options are as follows: .Bl -tag -width indent .It Fl p Ar protocol -Display a list of active sockets (protocol control blocks) for each -specified protocol. Supported protocols are: -.Cm hci_raw , l2cap_raw -and +Display a list of active sockets (protocol control blocks) for each +specified protocol. +Supported protocols are: +.Cm hci_raw , l2cap_raw +and .Cm l2cap . .It Fl r Display a list of active routing entries (if any) for specified protocol. .It Fl M Ar core -Extract values associated with the name list from the specified core +Extract values associated with the name list from the specified core instead of the default -.Pa /dev/kmem. +.Pa /dev/kmem . .El .Sh BUGS -Most likely. Please report if found. +Most likely. +Please report if found. .Sh DIAGNOSTICS .Ex -std .Sh SEE ALSO .Xr ng_btsocket 4 .Sh AUTHORS .An Maksim Yevmenkin Aq m_evmenkin@yahoo.com - diff --git a/usr.sbin/bluetooth/bt3cfw/bt3cfw.8 b/usr.sbin/bluetooth/bt3cfw/bt3cfw.8 index e85cb16..dfcfd78 100644 --- a/usr.sbin/bluetooth/bt3cfw/bt3cfw.8 +++ b/usr.sbin/bluetooth/bt3cfw/bt3cfw.8 @@ -1,8 +1,6 @@ -.\" bt3cfw.1 -.\" .\" Copyright (c) 2001-2002 Maksim Yevmenkin <m_evmenkin@yahoo.com> .\" All rights reserved. -.\" +.\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: @@ -11,7 +9,7 @@ .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. -.\" +.\" .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE @@ -23,40 +21,42 @@ .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. -.\" -.\" $Id: bt3cfw.8,v 1.1.1.1 2002/11/12 00:39:18 max Exp $ +.\" .\" $FreeBSD$ +.\" .Dd November 11, 2002 .Dt BT3CFW 8 .Os .Sh NAME -.Nm BT3CFW -.Nd Firmware download utility for 3Com Bluetooth PC card driver +.Nm bt3cfw +.Nd firmware download utility for 3Com Bluetooth PC card driver .Sh SYNOPSIS .Nm -.Op Fl n Ar Netgraph node name -.Op Fl f Ar Firmware file name +.Op Fl n Ar Netgraph_node_name +.Op Fl f Ar Firmware_file_name .Sh DESCRIPTION The .Nm -utility connects to the specified Netgraph driver node of type +utility connects to the specified Netgraph driver node of type .Dv BTCCC -and downloads specified firmware file. +and downloads specified firmware file. .Pp Due to copyright issues I will no longer provide firmware with the card -driver. The firmware can be obtained from the Windows driver package that -can be downloaded from the 3COM web site at no charge. The firmware name -is BT3CPCC.BIN. I'm using original firmware that came with the card on CD-ROM. -.Bd -literal -offset indent -MD5 (BT3CPCC.BIN) = 36170fda56ea9fdbf1702c966f8a97f1 -.Ed +driver. +The firmware can be obtained from the Windows driver package that +can be downloaded from the 3COM web site at no charge. +The firmware name is +.Pa BT3CPCC.BIN . +I am using original firmware that came with the card on CD-ROM. +.Pp +.Dl "MD5 (BT3CPCC.BIN) = 36170fda56ea9fdbf1702c966f8a97f1" .Pp The options are as follows: .Bl -tag -width indent -.It Fl n Ar Netgraph node name +.It Fl n Ar Netgraph_node_name Connect to the specified Netgraph driver node of type .Dv BTCCC . -.It Fl f Ar Firmware file name +.It Fl f Ar Firmware_file_name Specify firmware file name for download. .El .Sh BUGS diff --git a/usr.sbin/bluetooth/hccontrol/hccontrol.8 b/usr.sbin/bluetooth/hccontrol/hccontrol.8 index 555cf32..88e9813 100644 --- a/usr.sbin/bluetooth/hccontrol/hccontrol.8 +++ b/usr.sbin/bluetooth/hccontrol/hccontrol.8 @@ -1,8 +1,6 @@ -.\" hccontrol.8 -.\" .\" Copyright (c) 2001-2002 Maksim Yevmenkin <m_evmenkin@yahoo.com> .\" All rights reserved. -.\" +.\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: @@ -11,7 +9,7 @@ .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. -.\" +.\" .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE @@ -23,9 +21,9 @@ .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. -.\" -.\" $Id: hccontrol.8,v 1.8 2002/11/12 22:33:17 max Exp $ +.\" .\" $FreeBSD$ +.\" .Dd June 14, 2002 .Dt HCCONTROL 8 .Os @@ -34,31 +32,35 @@ .Nd HCI configuration utility .Sh SYNOPSIS .Nm -.Op Fl n Ar HCI node name -.Op Ar command +.Op Fl n Ar HCI_node_name +.Op Ar command .Op Ar parameters ... .Sh DESCRIPTION The .Nm utility connects to the specified Netgraph node of type -.Em HCI -and attempts to send specified command to the HCI Netgraph node or to the +.Dv HCI +and attempts to send specified command to the HCI Netgraph node or to the associated Bluetooth device. +The .Nm -will print results to the standard output and error messages to +utility +will print results to the standard output and error messages to the standard error. .Pp The options are as follows: .Bl -tag -width indent -.It Fl n Ar HCI node name +.It Fl n Ar HCI_node_name Connect to the specified HCI Netgraph node. -.It command -One of the supported commands (see below). Special command -.Dq help -can be used to obtain the list of all supported commands. To get more +.It Ar command +One of the supported commands (see below). +Special command +.Cm help +can be used to obtain the list of all supported commands. +To get more information about specific command use -.Dq help command . -.It parameters +.Cm help Ar command . +.It Ar parameters One or more optional space separated command parameters. .El .Sh COMMANDS @@ -66,92 +68,92 @@ The currently supported HCI commands in .Nm are: .Pp -.Bd -literal -offset indent -compact -Inquiry -Create_Connection -Disconnect -Add_SCO_Connection -Change_Connection_Packet_Type -Remote_Name_Request -Read_Remote_Supported_Features -Read_Remote_Version_Information -Read_Clock_Offset -Role_Discovery -Switch_Role -Read_Link_Policy_Settings -Write_Link_Policy_Settings -Reset -Read_Pin_Type -Write_Pin_Type -Read_Stored_Link_Key -Write_Stored_Link_Key -Delete_Stored_Link_Key -Change_Local_Name -Read_Local_Name -Read_Connection_Accept_Timeout -Write_Connection_Accept_Timeout -Read_Page_Timeout -Write_Page_Timeout -Read_Scan_Enable -Write_Scan_Enable -Read_Page_Scan_Activity -Write_Page_Scan_Activity -Read_Inquiry_Scan_Activity -Write_Inquiry_Scan_Activity -Read_Authentication_Enable -Write_Authentication_Enable -Read_Encryption_Mode -Write_Encryption_Mode -Read_Class_Of_Device -Write_Class_Of_Device -Read_Voice_Settings -Write_Voice_Settings -Read_Number_Broadcast_Retransmissions -Write_Number_Broadcast_Retransmissions -Read_Hold_Mode_Activity -Write_Hold_Mode_Activity -Read_SCO_Flow_Control_Enable -Write_SCO_Flow_Control_Enable -Read_Link_Supervision_Timeout -Write_Link_Supervision_Timeout -Read_Local_Version_Information -Read_Local_Supported_Features -Read_Buffer_Size -Read_Country_Code -Read_BD_ADDR -Read_Failed_Contact_Counter -Reset_Failed_Contact_Counter -Get_Link_Quality -Read_RSSI -.Ed +.Bl -tag -offset indent -compact +.It Cm Inquiry +.It Cm Create_Connection +.It Cm Disconnect +.It Cm Add_SCO_Connection +.It Cm Change_Connection_Packet_Type +.It Cm Remote_Name_Request +.It Cm Read_Remote_Supported_Features +.It Cm Read_Remote_Version_Information +.It Cm Read_Clock_Offset +.It Cm Role_Discovery +.It Cm Switch_Role +.It Cm Read_Link_Policy_Settings +.It Cm Write_Link_Policy_Settings +.It Cm Reset +.It Cm Read_Pin_Type +.It Cm Write_Pin_Type +.It Cm Read_Stored_Link_Key +.It Cm Write_Stored_Link_Key +.It Cm Delete_Stored_Link_Key +.It Cm Change_Local_Name +.It Cm Read_Local_Name +.It Cm Read_Connection_Accept_Timeout +.It Cm Write_Connection_Accept_Timeout +.It Cm Read_Page_Timeout +.It Cm Write_Page_Timeout +.It Cm Read_Scan_Enable +.It Cm Write_Scan_Enable +.It Cm Read_Page_Scan_Activity +.It Cm Write_Page_Scan_Activity +.It Cm Read_Inquiry_Scan_Activity +.It Cm Write_Inquiry_Scan_Activity +.It Cm Read_Authentication_Enable +.It Cm Write_Authentication_Enable +.It Cm Read_Encryption_Mode +.It Cm Write_Encryption_Mode +.It Cm Read_Class_Of_Device +.It Cm Write_Class_Of_Device +.It Cm Read_Voice_Settings +.It Cm Write_Voice_Settings +.It Cm Read_Number_Broadcast_Retransmissions +.It Cm Write_Number_Broadcast_Retransmissions +.It Cm Read_Hold_Mode_Activity +.It Cm Write_Hold_Mode_Activity +.It Cm Read_SCO_Flow_Control_Enable +.It Cm Write_SCO_Flow_Control_Enable +.It Cm Read_Link_Supervision_Timeout +.It Cm Write_Link_Supervision_Timeout +.It Cm Read_Local_Version_Information +.It Cm Read_Local_Supported_Features +.It Cm Read_Buffer_Size +.It Cm Read_Country_Code +.It Cm Read_BD_ADDR +.It Cm Read_Failed_Contact_Counter +.It Cm Reset_Failed_Contact_Counter +.It Cm Get_Link_Quality +.It Cm Read_RSSI +.El .Pp The currently supported node commands in .Nm are: .Pp -.Bd -literal -offset indent -compact -Read_Node_State -Initialize -Read_Debug_Level -Write_Debug_Level -Read_Command_Timeout -Write_Command_Timeout -Read_Node_Buffer_Size -Read_Node_BD_ADDR -Read_Node_Features -Read_Node_Stat -Reset_Node_Stat -Flush_Neighbor_Cache -Read_Neighbor_Cache -Read_Connection_List -Read_Node_Link_Policy_Settings_Mask -Write_Node_Link_Policy_Settings_Mask -Read_Node_Packet_Mask -Write_Node_Packet_Mask -.Ed -.Pp +.Bl -tag -offset indent -compact +.It Cm Read_Node_State +.It Cm Initialize +.It Cm Read_Debug_Level +.It Cm Write_Debug_Level +.It Cm Read_Command_Timeout +.It Cm Write_Command_Timeout +.It Cm Read_Node_Buffer_Size +.It Cm Read_Node_BD_ADDR +.It Cm Read_Node_Features +.It Cm Read_Node_Stat +.It Cm Reset_Node_Stat +.It Cm Flush_Neighbor_Cache +.It Cm Read_Neighbor_Cache +.It Cm Read_Connection_List +.It Cm Read_Node_Link_Policy_Settings_Mask +.It Cm Write_Node_Link_Policy_Settings_Mask +.It Cm Read_Node_Packet_Mask +.It Cm Write_Node_Packet_Mask +.El .Sh BUGS -Most likely. Please report if found. +Most likely. +Please report if found. .Sh DIAGNOSTICS .Ex -std .Sh SEE ALSO diff --git a/usr.sbin/bluetooth/hcseriald/hcseriald.8 b/usr.sbin/bluetooth/hcseriald/hcseriald.8 index d4b641d..41bef62 100644 --- a/usr.sbin/bluetooth/hcseriald/hcseriald.8 +++ b/usr.sbin/bluetooth/hcseriald/hcseriald.8 @@ -1,8 +1,6 @@ -.\" hcseriald.8 -.\" .\" Copyright (c) 2001-2002 Maksim Yevmenkin <m_evmenkin@yahoo.com> .\" All rights reserved. -.\" +.\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: @@ -11,7 +9,7 @@ .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. -.\" +.\" .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE @@ -23,9 +21,9 @@ .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. -.\" -.\" $Id: hcseriald.8,v 1.3 2002/11/09 19:16:50 max Exp $ +.\" .\" $FreeBSD$ +.\" .Dd June 14, 2002 .Dt HCSERIALD 8 .Os @@ -35,47 +33,52 @@ .Sh SYNOPSIS .Nm .Op Fl f Ar device -.Op Fl n Ar node name +.Op Fl n Ar node_name .Op Fl s Ar speed -.Op Fl d +.Op Fl d .Sh DESCRIPTION The .Nm -handles serial Bluetooth devices. It does one simple thing. It opens -specified serial device, sets device parameters and pushes -.Em H4 +utility +handles serial Bluetooth devices. +It does one simple thing. +It opens +specified serial device, sets device parameters and pushes +.Em H4 line discipline. .Pp The options are as follows: .Bl -tag -width indent .It Fl f Ar device -Callout device name. Example: -.Fl f -.Pa /dev/cuaa0 . -.It Fl n Ar node name -Set H4 Netgraph node name. Example: -.Fl n Ar sio0 . +Callout device name. +Example: +.Fl f Pa /dev/cuaa0 . +.It Fl n Ar node_name +Set H4 Netgraph node name. +Example: +.Fl n Li sio0 . .It Fl s Ar speed Set serial device speed to -.Em speed . +.Ar speed . Example: -.Fl s Ar 115200 . +.Fl s Li 115200 . .It Fl d Do not disassociate from the controlling terminal, i.e. run in foreground. .El .Sh FILES -.Bl -tag -width /dev/consolectl -compact +.Bl -tag -width ".Pa /var/run/hcserial.*.pid" -compact .It Pa /var/run/hcserial.*.pid -process id of the currently running +Process ID of the currently running .Nm -daemon. Where -.Dq * +daemon, +where +.Ql * is a H4 Netgraph node name. .El .Sh SEE ALSO -.Xr tty 4 , .Xr ng_h4 4 , .Xr ng_hci 4 , +.Xr tty 4 , .Xr hccontrol 8 .Sh AUTHORS .An Maksim Yevmenkin Aq m_evmenkin@yahoo.com diff --git a/usr.sbin/bluetooth/l2control/l2control.8 b/usr.sbin/bluetooth/l2control/l2control.8 index 9efa251..51018b4 100644 --- a/usr.sbin/bluetooth/l2control/l2control.8 +++ b/usr.sbin/bluetooth/l2control/l2control.8 @@ -1,8 +1,6 @@ -.\" l2control.8 -.\" .\" Copyright (c) 2001-2002 Maksim Yevmenkin <m_evmenkin@yahoo.com> .\" All rights reserved. -.\" +.\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: @@ -11,7 +9,7 @@ .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. -.\" +.\" .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE @@ -23,9 +21,9 @@ .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. -.\" -.\" $Id: l2control.8,v 1.4 2002/11/09 19:18:16 max Exp $ +.\" .\" $FreeBSD$ +.\" .Dd June 14, 2002 .Dt L2CONTROL 8 .Os @@ -34,30 +32,38 @@ .Nd L2CAP configuration utility .Sh SYNOPSIS .Nm -.Op Fl a Ar local BD_ADDR -.Op Ar command +.Op Fl a Ar BD_ADDR +.Op Ar command .Op Ar parameters ... .Sh DESCRIPTION The .Nm -utility connects to the local device with specified BD_ADDR and attempts -to send specified command. +utility connects to the local device with specified +.Ar BD_ADDR +and attempts to send specified +.Ar command . +The .Nm -will print results to the standard output and error messages to +utility +will print results to the standard output and error messages to the standard error. .Pp The options are as follows: .Bl -tag -width indent -.It Fl a Ar local BD_ADDR -Connect to the local device with specified BD_ADDR. Example: -.Fl a Ar 00:01:02:03:04:05 . -.It command -One of the supported commands (see below). Special command -.Dq help -can be used to obtain the list of all supported commands. To get more +.It Fl a Ar BD_ADDR +Connect to the local device with specified +.Ar BD_ADDR . +Example: +.Fl a Li 00:01:02:03:04:05 . +.It Ar command +One of the supported commands (see below). +Special command +.Cm help +can be used to obtain the list of all supported commands. +To get more information about specific command use -.Dq help command . -.It parameters +.Cm help Ar command . +.It Ar parameters One or more optional space separated command parameters. .El .Sh COMMANDS @@ -65,14 +71,13 @@ The currently supported node commands in .Nm are: .Pp -.Bd -literal -offset indent -compact -Read_Node_Flags -Read_Debug_Level -Write_Debug_Level -Read_Connection_List -Read_Channel_List -.Ed -.Pp +.Bl -tag -offset indent -compact +.It Cm Read_Node_Flags +.It Cm Read_Debug_Level +.It Cm Write_Debug_Level +.It Cm Read_Connection_List +.It Cm Read_Channel_List +.El .Sh DIAGNOSTICS .Ex -std .Sh SEE ALSO diff --git a/usr.sbin/bluetooth/l2ping/l2ping.8 b/usr.sbin/bluetooth/l2ping/l2ping.8 index aa79ad9..7c5cc79 100644 --- a/usr.sbin/bluetooth/l2ping/l2ping.8 +++ b/usr.sbin/bluetooth/l2ping/l2ping.8 @@ -1,8 +1,6 @@ -.\" l2ping.8 -.\" .\" Copyright (c) 2001-2002 Maksim Yevmenkin <m_evmenkin@yahoo.com> .\" All rights reserved. -.\" +.\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: @@ -11,7 +9,7 @@ .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. -.\" +.\" .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE @@ -23,9 +21,9 @@ .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. -.\" -.\" $Id: l2ping.8,v 1.4 2002/11/09 19:20:09 max Exp $ +.\" .\" $FreeBSD$ +.\" .Dd June 14, 2002 .Dt L2PING 8 .Os @@ -34,8 +32,8 @@ .Nd send L2CAP ECHO_REQUEST to remote devices .Sh SYNOPSIS .Nm -.Op Fl a Ar remote BD_ADDR -.Op Fl S Ar source BD_ADDR +.Op Fl a Ar BD_ADDR +.Op Fl S Ar BD_ADDR .Op Fl c Ar count .Op Fl f .Op Fl i Ar delay @@ -43,39 +41,52 @@ .Sh DESCRIPTION The .Nm -uses L2CAP ECHO_REQUEST datagram to elicit a L2CAP ECHO_RESPONSE from a -remote device. +uses L2CAP +.Dv ECHO_REQUEST +datagram to elicit a L2CAP +.Dv ECHO_RESPONSE +from a remote device. .Pp The options are as follows: .Bl -tag -width indent -.It Fl a Ar remote BD_ADDR -Address of remote device to ping. Example: -.Fl a Ar 00:01:02:03:04:05 . -.It Fl S Ar source BD_ADDR -Send L2CAP ECHO_REQUEST from local device that has BD_ADDR. Example: -.Fl S Ar 00:05:04:03:02:01 . +.It Fl a Ar BD_ADDR +Address of remote device to ping. +Example: +.Fl a Li 00:01:02:03:04:05 . +.It Fl S Ar BD_ADDR +Send L2CAP +.Dv ECHO_REQUEST +from local device that has +.Ar BD_ADDR . +Example: +.Fl S Li 00:05:04:03:02:01 . .It Fl c Ar count -Number of packets to send. If this option is not specified, +Number of packets to send. +If this option is not specified, .Nm will operate until interrupted. .It Fl f .Dq Flood -ping, i.e. no delay between packets. +ping, i.e., no delay between packets. .It Fl i Ar wait -Wait -.Em wait -seconds between sending each packet. The default is to wait for one -second between each packet. This option is ignored if -.Fl f +Wait +.Ar wait +seconds between sending each packet. +The default is to wait for one +second between each packet. +This option is ignored if +.Fl f has been specified. .It Fl s Ar size -Specify the number of payload bytes to be sent. The default is 64. The -maximum size is 65531. Use this option with caution. Some implementations -may not like large sizes and may hang or even crash. +Specify the number of payload bytes to be sent. +The default is 64. +The maximum size is 65531. +Use this option with caution. +Some implementations may not like large sizes and may hang or even crash. .El .Sh BUGS -Could collect more statistic. Could check for duplicated, corrupted -and lost packets. +Could collect more statistics. +Could check for duplicated, corrupted and lost packets. .Sh DIAGNOSTICS .Ex -std .Sh SEE ALSO |