summaryrefslogtreecommitdiffstats
path: root/tools/l2ping.1
blob: ab92caf7175d7907f66550a2d112c8fb2faddcbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
.TH L2PING 1 "Jan 22 2002" BlueZ "Linux System Administration"
.SH NAME
l2ping \- Send L2CAP echo request and receive answer
.SH SYNOPSIS
.B l2ping
[
.I -i <hciX>
] [
.I -s size
] [
.I -c count
] [
.I -t timeout
] [
.I -f
] [
.I -r
] <
.I bd_addr
>
.SH DESCRIPTION
.LP
L2ping sends a L2CAP echo request to the Bluetooth MAC address
.B bd_addr
given in dotted hex notation.
.SH OPTIONS
.TP
.I -i " <hciX>"
The command is applied to device
.I
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.
.TP
.I -s size
The
.B size
of the data packets to be sent.
.TP
.I -c count
Send
.B count
number of packets then exit.
.TP
.I -c \fBtimeout\fP
Wait
.B \fBtimeout\fP
seconds for the response.
.TP
.I -f
Kind of flood ping. Use with care! It reduces the delay time between packets
to 0.
.TP
.I -r
Reverse ping (gnip?). Send echo response instead of echo request.
.TP
.I bd_addr
The Bluetooth MAC address to be pinged in dotted hex notation like
.B 01:02:03:ab:cd:ef
or
.B 01:EF:cd:aB:02:03
.SH AUTHORS
Written by Maxim Krasnyansky <maxk@qualcomm.com> and Marcel Holtmann <marcel@holtmann.org>
.PP
man page by Nils Faerber <nils@kernelconcepts.de>, Adam Laurie <adam@algroup.co.uk>.