1L2PING(1)                 Linux System Administration                L2PING(1)
2
3
4

NAME

6       l2ping - Send L2CAP echo request and receive answer
7

SYNOPSIS

9       l2ping  [-i  <hciX>]  [-s size] [-c count] [-t timeout] [-d delay] [-f]
10       [-r] [-v] bd_addr
11
12

DESCRIPTION

14       L2ping sends a L2CAP echo request to the Bluetooth MAC address  bd_addr
15       given in dotted hex notation.
16

OPTIONS

18       -i <hciX>
19              The  command  is applied to device hciX , which must be the name
20              of an installed Bluetooth device (X = 0,  1,  2,  ...)   If  not
21              specified, the command will be sent to the first available Blue‐
22              tooth device.
23
24       -s size
25              The size of the data packets to be sent.
26
27       -c count
28              Send count number of packets then exit.
29
30       -t timeout
31              Wait timeout seconds for the response.
32
33       -d delay
34              Wait delay seconds between pings.
35
36       -f     Kind of flood ping. Use with care! It  reduces  the  delay  time
37              between packets to 0.
38
39       -r     Reverse  ping  (gnip?).  Send  echo  response  instead  of  echo
40              request.
41
42       -v     Verify response payload is identical to request payload.  It  is
43              not  required  for  remote stacks to return the request payload,
44              but most stacks do (including Bluez).
45
46       bd_addr
47              The Bluetooth MAC address to be pinged in  dotted  hex  notation
48              like 01:02:03:ab:cd:ef or 01:EF:cd:aB:02:03
49

AUTHORS

51       Written  by  Maxim  Krasnyansky <maxk@qualcomm.com> and Marcel Holtmann
52       <marcel@holtmann.org>
53
54       man  page  by  Nils  Faerber  <nils@kernelconcepts.de>,   Adam   Laurie
55       <adam@algroup.co.uk>.
56
57
58
59BlueZ                             Jan 22 2002                        L2PING(1)
Impressum