1 .\" Copyright (c) 2001-2002 Maksim Yevmenkin <m_evmenkin@yahoo.com>
2 .\" All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
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.
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
25 .\" $Id: l2ping.8,v 1.3 2003/05/21 01:00:19 max Exp $
33 .Nd send L2CAP ECHO_REQUEST to remote devices
47 datagram to elicit an L2CAP
49 datagram from a remote device.
51 The options are as follows:
52 .Bl -tag -width indent
54 Specify the remote device to ping.
55 The remote device can be specified by either its BD_ADDR or name.
56 If name was specified then the
58 utility will attempt to resolve the name via
59 .Xr bt_gethostbyname 3 .
61 Number of packets to send.
62 If this option is not specified,
64 will operate until interrupted.
67 ping, i.e., no delay between packets.
69 Display usage message and exit.
73 seconds between sending each packet.
74 The default is to wait for one second between each packet.
75 This option is ignored if
80 No attempt will be made to look up symbolic names for host addresses.
82 Specify the local device which should be used to send L2CAP
85 The local device can be specified by either its BD_ADDR or name.
86 If name was specified then the
88 utility will attempt to resolve the name via
89 .Xr bt_gethostbyname 3 .
91 Specify the number of payload bytes to be sent.
92 The default size is 44 bytes.
93 It is calculated as minimum L2CAP MTU (48 bytes) minus the size of the L2CAP
94 signalling command header (4 bytes).
95 The maximum size is 65531 bytes.
96 Is is calculated as maximum L2CAP MTU
97 (65535 bytes) minus four bytes of payload reserved for
100 Use this option with caution.
101 Some implementations may not like large sizes and may hang or even crash.
112 .An Maksim Yevmenkin Aq m_evmenkin@yahoo.com
114 Could collect more statistic.
115 Could check for duplicated, corrupted and lost packets.