summaryrefslogtreecommitdiffstats
path: root/rfcomm/rfcomm.1
diff options
context:
space:
mode:
Diffstat (limited to 'rfcomm/rfcomm.1')
-rw-r--r--rfcomm/rfcomm.130
1 files changed, 27 insertions, 3 deletions
diff --git a/rfcomm/rfcomm.1 b/rfcomm/rfcomm.1
index d1e11cf9..f3744f12 100644
--- a/rfcomm/rfcomm.1
+++ b/rfcomm/rfcomm.1
@@ -58,6 +58,18 @@ hciX
, which must be the name or the address of an installed Bluetooth
device. If not specified, the command will be use the first
available Bluetooth device.
+.TP
+.BI -A
+Enable authentification
+.TP
+.BI -E
+Enable encryption
+.TP
+.BI -S
+Secure connection
+.TP
+.BI -M
+Become the master of a piconet
.SH COMMANDS
.TP
.BI show " <dev>"
@@ -70,10 +82,22 @@ channel number 1. If also the Bluetooth address is left out, it
tries to read the data from the config file. This command can
be terminated with the key sequence CTRL-C.
.TP
-.BI listen " <dev> [channel]"
+.BI listen " <dev> [channel] [cmd]"
Listen on a specified RFCOMM channel for incoming connections.
-If no channel is specified, it will use the channel number 1.
-This command can be terminated with the key sequence CTRL-C.
+If no channel is specified, it will use the channel number 1, but
+a channel must be specified before cmd. If cmd is given, it will be
+executed as soon as a client connects. When the child process
+terminates or the client disconnect, the command will terminate.
+Occurences of {} in cmd will be replaced by the name of the device
+used by the connection. This command can be terminated with the key
+sequence CTRL-C.
+.TP
+.BI watch " <dev> [channel] [cmd]"
+Watch is identical to
+.B listen
+except that when the child process terminates or the client
+disconnect, the command will restart listening with the same
+parameters.
.TP
.BI bind " <dev> [bdaddr] [channel]"
This binds the RFCOMM device to a remote Bluetooth device. The