bluez/tools/l2ping.1

67 lines
1.3 KiB
Groff
Raw Normal View History

.TH L2PING 1 "Jan 22 2002" BlueZ "Linux System Administration"
2002-03-09 05:12:35 +08:00
.SH NAME
l2ping \- Send L2CAP echo request and receive answer
.SH SYNOPSIS
.B l2ping
[
2005-11-30 11:27:23 +08:00
.I -i <hciX>
2002-03-09 05:12:35 +08:00
] [
.I -s size
] [
.I -c count
] [
2004-10-11 18:31:33 +08:00
.I -t timeout
] [
2002-03-09 05:12:35 +08:00
.I -f
2006-02-04 02:48:52 +08:00
] [
.I -r
2002-03-09 05:12:35 +08:00
] <
.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
2005-11-30 11:27:23 +08:00
.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.
2002-03-09 05:12:35 +08:00
.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
2006-03-21 06:24:24 +08:00
.I -t \fBtimeout\fP
2004-10-11 18:31:33 +08:00
Wait
2005-11-30 11:27:23 +08:00
.B \fBtimeout\fP
seconds for the response.
2004-10-11 18:31:33 +08:00
.TP
2002-03-09 05:12:35 +08:00
.I -f
Kind of flood ping. Use with care! It reduces the delay time between packets
to 0.
.TP
2006-02-04 02:48:52 +08:00
.I -r
Reverse ping (gnip?). Send echo response instead of echo request.
.TP
2002-03-09 05:12:35 +08:00
.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
2004-10-11 18:31:33 +08:00
Written by Maxim Krasnyansky <maxk@qualcomm.com> and Marcel Holtmann <marcel@holtmann.org>
2002-03-09 05:12:35 +08:00
.PP
2006-02-04 02:48:52 +08:00
man page by Nils Faerber <nils@kernelconcepts.de>, Adam Laurie <adam@algroup.co.uk>.