l2ping(1) Linux System Administration l2ping(1)

# [Name](#Name)

l2ping - Send L2CAP echo request and receive answer

# [SYNOPSIS](#SYNOPSIS)

**l2ping** \[*OPTIONS*] *bd\_addr*

# [DESCRIPTION](#DESCRIPTION)

[**l2ping(1)**](/man/os/bluez/l2ping.1) sends a L2CAP echo request to the Bluetooth MAC address bd\_addr given in dotted hex notation.

# [OPTIONS](#OPTIONS)

[**-i &lt;hciX&gt;**](#i)

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.

[**-s size**](#s)

The size of the data packets to be sent.

[**-c count**](#c)

Send count number of packets then exit.

[**-t timeout**](#t)

Wait timeout seconds for the response.

[**-d delay**](#d)

Wait delay seconds between pings.

[**-f**](#f)

Kind of flood ping. Use with care! It reduces the delay time between packets to 0.

[**-r**](#r)

Reverse ping (gnip?). Send echo response instead of echo request.

[**-v**](#v)

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).

[**bd\_addr**](#bd_addr)

The Bluetooth MAC address to be pinged in dotted hex notation like **01:02:03:ab:cd:ef** or **01:EF:cd:aB:02:03**

# [RESOURCES](#RESOURCES)

&lt;http://www.bluez.org&gt;

# [REPORTING BUGS](#REPORTING_BUGS)

&lt;linux-bluetooth@vger.kernel.org&gt;

# [Author](#Author)

Maxim Krasnyansky &lt;maxk@qualcomm.com&gt;, Marcel Holtmann &lt;marcel@holtmann.org&gt;, Nils Faerber &lt;nils@kernelconcepts.de&gt;, Adam Laurie &lt;adam@algroup.co.uk&gt;.

# [Copyright](#Copyright)

Free use of this software is granted under the terms of the GNU Lesser General Public Licenses (LGPL).

January 22, 2002 BlueZ

---

Document: l2ping(1) from bluez 5.87-r1 (Chainguard OS)
Source: https://github.com/bluez/bluez
