147 lines
2.8 KiB
HTML
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"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
l2ping - Send L2CAP echo request and receive answer
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>l2ping</B>
|
|
|
|
[<B>-i</B>
|
|
|
|
<I><hciX></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"> </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"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-i</B><I> <hciX></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"> </A>
|
|
<H2>AUTHORS</H2>
|
|
|
|
Written by Maxim Krasnyansky <<A HREF="mailto:maxk@qualcomm.com">maxk@qualcomm.com</A>> and Marcel Holtmann <<A HREF="mailto:marcel@holtmann.org">marcel@holtmann.org</A>>
|
|
<P>
|
|
|
|
man page by Nils Faerber <<A HREF="mailto:nils@kernelconcepts.de">nils@kernelconcepts.de</A>>, Adam Laurie <<A HREF="mailto:adam@algroup.co.uk">adam@algroup.co.uk</A>>.
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </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>
|