From 1c57015e3e0a917d3b3df7fa61017aed6abf7d0d Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sat, 16 Nov 2002 02:33:57 +0000 Subject: Update of the manpage for rfcomm --- rfcomm/rfcomm.1 | 47 ++++++++++++++++++++++++++++++++++++++++++++--- 1 file 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 " | " +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 " " +Display the information about the specified device. +.TP +.BI conn " [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 " [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 " " +This command releases a defined RFCOMM binding. .SH AUTHOR Written by Marcel Holtmann . .br -- cgit