summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-06-04 13:05:36 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-06-04 13:05:36 +0000
commit3efb1bff5770e3609548b992d2e459968942b7de (patch)
tree4986173de96b5f71e3cff329c5c7d59b3300015d
parentb96133c91a2abcc6b0a6de80176623f0ee6f600e (diff)
Update more manual pages
-rw-r--r--pand/pand.14
-rw-r--r--tools/l2ping.151
2 files changed, 30 insertions, 25 deletions
diff --git a/pand/pand.1 b/pand/pand.1
index 7497b071..2e2552e0 100644
--- a/pand/pand.1
+++ b/pand/pand.1
@@ -68,3 +68,7 @@ Script to run when interface comes up
.TP
\fB\-\-autozap\fR \fB\-z\fR
Disconnect automatically on exit
+
+.SH SCRIPTS
+pand will execute \fB/etc/bluetooth/pan/dev-up\fR \fIdevice\fR \fIdestination\fR when
+the interface becomes available.
diff --git a/tools/l2ping.1 b/tools/l2ping.1
index bd07e198..8f56fb5e 100644
--- a/tools/l2ping.1
+++ b/tools/l2ping.1
@@ -3,56 +3,57 @@
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
-] <
+.RB [\| \-i
+.IR <hciX> \|]
+.RB [\| \-s
+.IR size \|]
+.RB [\| \-c
+.IR count \|]
+.RB [\| \-t
+.IR timeout \|]
+.RB [\| \-f \|]
+.RB [\| \-r \|]
.I bd_addr
->
+
+.SH DESCRIPTION
+.LP
+.I bd_addr
+
.SH DESCRIPTION
.LP
L2ping sends a L2CAP echo request to the Bluetooth MAC address
-.B bd_addr
+.I bd_addr
given in dotted hex notation.
.SH OPTIONS
.TP
-.I -i " <hciX>"
+.BI \-i " <hciX>"
The command is applied to device
-.I
+.BI
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
+.BI \-s " size"
The
-.B size
+.I size
of the data packets to be sent.
.TP
-.I -c count
+.BI \-c " count"
Send
-.B count
+.I count
number of packets then exit.
.TP
-.I -t \fBtimeout\fP
+.BI \-t " timeout"
Wait
-.B \fBtimeout\fP
+.I timeout
seconds for the response.
.TP
-.I -f
+.B \-f
Kind of flood ping. Use with care! It reduces the delay time between packets
to 0.
.TP
-.I -r
+.B \-r
Reverse ping (gnip?). Send echo response instead of echo request.
.TP
.I bd_addr