logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

l2ping - Send L2CAP echo request and receive answer

Author

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

Description

l2ping(1) sends a L2CAP echo request to the Bluetooth MAC address bd_addr given in dotted hex notation.

Name

       l2ping - Send L2CAP echo request and receive answer

Options

-i<hciX>
              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.

       -ssize
              The size of the data packets to be sent.

       -ccount
              Send count number of packets then exit.

       -ttimeout
              Wait timeout seconds for the response.

       -ddelay
              Wait delay seconds between pings.

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

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

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

Reporting Bugs

Resources

Synopsis

l2ping [OPTIONS] bd_addr

See Also