2 .\" This program is free software; you can redistribute it and/or modify
3 .\" it under the terms of the GNU General Public License as published by
4 .\" the Free Software Foundation; either version 2 of the License, or
5 .\" (at your option) any later version.
7 .\" This program is distributed in the hope that it will be useful,
8 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
9 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 .\" GNU General Public License for more details.
12 .\" You should have received a copy of the GNU General Public License
13 .\" along with this program; if not, write to the Free Software
14 .\" Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17 .TH RFCOMM 1 "APRIL 28, 2002" "" ""
20 rfcomm \- RFCOMM configuration utility
32 is used to set up, maintain, and inspect the RFCOMM configuration
33 of the Bluetooth subsystem in the Linux kernel. If no
35 is given, or if the option
39 prints information about the configured RFCOMM devices.
43 Gives a list of possible commands.
46 Prints information about all configured RFCOMM devices.
49 Switch TTY into raw mode (doesn't work with "bind").
51 .BI -i " <hciX> | <bdaddr>"
52 The command is applied to device hciX, which must be the name or the address of
53 an installed Bluetooth device. If not specified, the command will be use the
54 first available Bluetooth device.
57 Enable authentification
66 Become the master of a piconet
73 Display the information about the specified device.
75 .BI connect " <dev> [bdaddr] [channel]"
76 Connect the RFCOMM device to the remote Bluetooth device on the
77 specified channel. If no channel is specified, it will use the
78 channel number 1. This command can be terminated with the key
81 .BI listen " <dev> [channel] [cmd]"
82 Listen on a specified RFCOMM channel for incoming connections.
83 If no channel is specified, it will use the channel number 1, but
84 a channel must be specified before cmd. If cmd is given, it will be
85 executed as soon as a client connects. When the child process
86 terminates or the client disconnect, the command will terminate.
87 Occurrences of {} in cmd will be replaced by the name of the device
88 used by the connection. This command can be terminated with the key
91 .BI watch " <dev> [channel] [cmd]"
94 except that when the child process terminates or the client
95 disconnect, the command will restart listening with the same
98 .BI bind " <dev> [bdaddr] [channel]"
99 This binds the RFCOMM device to a remote Bluetooth device. The
100 command does not establish a connection to the remote device, it
101 only creates the binding. The connection will be established right
102 after an application tries to open the RFCOMM device. If no channel
103 number is specified, it uses the channel number 1.
106 This command releases a defined RFCOMM binding.
110 is specified for the RFCOMM device, then all bindings will be removed.
112 Written by Marcel Holtmann <marcel@holtmann.org>.