bluez/tools/l2ping.1

77 lines
1.6 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
2006-06-04 21:05:36 +08:00
.RB [\| \-i
.IR <hciX> \|]
.RB [\| \-s
.IR size \|]
.RB [\| \-c
.IR count \|]
.RB [\| \-t
.IR timeout \|]
.RB [\| \-d
.IR delay \|]
2006-06-04 21:05:36 +08:00
.RB [\| \-f \|]
.RB [\| \-r \|]
.RB [\| \-v \|]
2006-06-04 21:05:36 +08:00
.I bd_addr
2002-03-09 05:12:35 +08:00
.SH DESCRIPTION
.LP
L2ping sends a L2CAP echo request to the Bluetooth MAC address
2006-06-04 21:05:36 +08:00
.I bd_addr
2002-03-09 05:12:35 +08:00
given in dotted hex notation.
.SH OPTIONS
.TP
2006-06-04 21:05:36 +08:00
.BI \-i " <hciX>"
2005-11-30 11:27:23 +08:00
The command is applied to device
2006-06-04 21:05:36 +08:00
.BI
2005-11-30 11:27:23 +08:00
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
2006-06-04 21:05:36 +08:00
.BI \-s " size"
2002-03-09 05:12:35 +08:00
The
2006-06-04 21:05:36 +08:00
.I size
2002-03-09 05:12:35 +08:00
of the data packets to be sent.
.TP
2006-06-04 21:05:36 +08:00
.BI \-c " count"
2002-03-09 05:12:35 +08:00
Send
2006-06-04 21:05:36 +08:00
.I count
2002-03-09 05:12:35 +08:00
number of packets then exit.
.TP
2006-06-04 21:05:36 +08:00
.BI \-t " timeout"
2004-10-11 18:31:33 +08:00
Wait
2006-06-04 21:05:36 +08:00
.I timeout
2005-11-30 11:27:23 +08:00
seconds for the response.
2004-10-11 18:31:33 +08:00
.TP
.BI \-d " delay"
Wait
.I delay
seconds between pings.
.TP
2006-06-04 21:05:36 +08:00
.B \-f
2002-03-09 05:12:35 +08:00
Kind of flood ping. Use with care! It reduces the delay time between packets
to 0.
.TP
2006-06-04 21:05:36 +08:00
.B \-r
2006-02-04 02:48:52 +08:00
Reverse ping (gnip?). Send echo response instead of echo request.
.TP
.B \-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).
.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>.