man-pages/man1/l2ping.1.html
2021-03-31 01:06:50 +01:00

147 lines
2.8 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of L2PING</TITLE>
</HEAD><BODY>
<H1>L2PING</H1>
Section: Linux System Administration (1)<BR>Updated: Jan 22 2002<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
l2ping - Send L2CAP echo request and receive answer
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>l2ping</B>
[<B>-i</B>
<I>&lt;hciX&gt;</I>]
[<B>-s</B>
<I>size</I>]
[<B>-c</B>
<I>count</I>]
[<B>-t</B>
<I>timeout</I>]
[<B>-d</B>
<I>delay</I>]
[<B>-f</B>]
[<B>-r</B>]
[<B>-v</B>]
<I>bd_addr</I>
<P>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<P>
L2ping sends a L2CAP echo request to the Bluetooth MAC address
<I>bd_addr</I>
given in dotted hex notation.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT id="1"><B>-i</B><I> &lt;hciX&gt;</I>
<DD>
The command is applied to device
hciX
, which must be the name of an installed Bluetooth device (X = 0, 1, 2, ...)
If not specified, the command will be sent to the first available Bluetooth
device.
<DT id="2"><B>-s</B><I> size</I>
<DD>
The
<I>size</I>
of the data packets to be sent.
<DT id="3"><B>-c</B><I> count</I>
<DD>
Send
<I>count</I>
number of packets then exit.
<DT id="4"><B>-t</B><I> timeout</I>
<DD>
Wait
<I>timeout</I>
seconds for the response.
<DT id="5"><B>-d</B><I> delay</I>
<DD>
Wait
<I>delay</I>
seconds between pings.
<DT id="6"><B>-f</B>
<DD>
Kind of flood ping. Use with care! It reduces the delay time between packets
to 0.
<DT id="7"><B>-r</B>
<DD>
Reverse ping (gnip?). Send echo response instead of echo request.
<DT id="8"><B>-v</B>
<DD>
Verify response payload is identical to request payload. It is not required for
remote stacks to return the request payload, but most stacks do (including
Bluez).
<DT id="9"><I>bd_addr</I>
<DD>
The Bluetooth MAC address to be pinged in dotted hex notation like
<B>01:02:03:ab:cd:ef</B>
or
<B>01:EF:cd:aB:02:03</B>
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>AUTHORS</H2>
Written by Maxim Krasnyansky &lt;<A HREF="mailto:maxk@qualcomm.com">maxk@qualcomm.com</A>&gt; and Marcel Holtmann &lt;<A HREF="mailto:marcel@holtmann.org">marcel@holtmann.org</A>&gt;
<P>
man page by Nils Faerber &lt;<A HREF="mailto:nils@kernelconcepts.de">nils@kernelconcepts.de</A>&gt;, Adam Laurie &lt;<A HREF="mailto:adam@algroup.co.uk">adam@algroup.co.uk</A>&gt;.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="10"><A HREF="#lbAB">NAME</A><DD>
<DT id="11"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="12"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="13"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="14"><A HREF="#lbAF">AUTHORS</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:17 GMT, March 31, 2021
</BODY>
</HTML>