diff options
Diffstat (limited to 'rfcomm/rfcomm.1')
-rw-r--r-- | rfcomm/rfcomm.1 | 47 |
1 files changed, 44 insertions, 3 deletions
diff --git a/rfcomm/rfcomm.1 b/rfcomm/rfcomm.1 index 51a258dc..2164febe 100644 --- a/rfcomm/rfcomm.1 +++ b/rfcomm/rfcomm.1 @@ -20,8 +20,8 @@ rfcomm \- RFCOMM configuration utility .SH SYNOPSIS .BR "rfcomm -[-i -.I hciX | bdaddr +[ +.I options ] < .I command > < @@ -30,7 +30,48 @@ rfcomm \- RFCOMM configuration utility .SH DESCRIPTION .B rfcomm is used to set up, maintain, and inspect the RFCOMM configuration -of the Bluetooth subsystem in the Linux kernel. +of the Bluetooth subsystem in the Linux kernel. If no +.B command +is given, or if the option +.B -a +is used, +.B rfcomm +prints information about the configured RFCOMM devices. +.SH OPTIONS +.TP +.BI -h +Gives a list of possible commands. +.TP +.BI -a +Prints information about all configured RFCOMM devices. +.TP +.BI -i " <hciX> | <bdaddr>" +The command is applied to device +.I +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. +.SH COMMANDS +.TP +.BI show " <dev>" +Display the information about the specified device. +.TP +.BI conn " <dev> [bdaddr] [channel]" +Connect the RFCOMM device to the remote Bluetooth device on the +specified channel. If no channel is specified, it will use the +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 bind " <dev> [bdaddr] [channel]" +This binds the RFCOMM device to a remote Bluetooth device. The +command did not establish a connection to the remote device, it +only creates the binding. The connection will be establish right +after an application tries to open the RFCOMM device. +.TP +.BI release " <dev>" +This command releases a defined RFCOMM binding. .SH AUTHOR Written by Marcel Holtmann <marcel@holtmann.org>. .br |