166 lines
4.0 KiB
HTML
166 lines
4.0 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of RFCOMM</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>RFCOMM</H1>
|
|
Section: (1)<BR>Updated: APRIL 28, 2002<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<P>
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
rfcomm - RFCOMM configuration utility
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>rfcomm</B>
|
|
|
|
[
|
|
<I>options</I>
|
|
|
|
] <
|
|
<I>command</I>
|
|
|
|
> <
|
|
<I>dev</I>
|
|
|
|
>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<B>rfcomm</B>
|
|
|
|
is used to set up, maintain, and inspect the RFCOMM configuration
|
|
of the Bluetooth subsystem in the Linux kernel. If no
|
|
<B>command</B>
|
|
|
|
is given, or if the option
|
|
<B>-a</B>
|
|
|
|
is used,
|
|
<B>rfcomm</B>
|
|
|
|
prints information about the configured RFCOMM devices.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-h</B>
|
|
|
|
<DD>
|
|
Gives a list of possible commands.
|
|
<DT id="2"><B>-a</B>
|
|
|
|
<DD>
|
|
Prints information about all configured RFCOMM devices.
|
|
<DT id="3"><B>-r</B>
|
|
|
|
<DD>
|
|
Switch TTY into raw mode (doesn't work with "bind").
|
|
<DT id="4"><B>-i</B><I> <hciX> | <bdaddr></I>
|
|
|
|
<DD>
|
|
The command is applied to device 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.
|
|
<DT id="5"><B>-A</B>
|
|
|
|
<DD>
|
|
Enable authentification
|
|
<DT id="6"><B>-E</B>
|
|
|
|
<DD>
|
|
Enable encryption
|
|
<DT id="7"><B>-S</B>
|
|
|
|
<DD>
|
|
Secure connection
|
|
<DT id="8"><B>-M</B>
|
|
|
|
<DD>
|
|
Become the master of a piconet
|
|
<DT id="9"><B>-L</B><I> <seconds></I>
|
|
|
|
<DD>
|
|
Set linger timeout
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>COMMANDS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="10"><B>show</B><I> <dev></I>
|
|
|
|
<DD>
|
|
Display the information about the specified device.
|
|
<DT id="11"><B>connect</B><I> <dev> [bdaddr] [channel]</I>
|
|
|
|
<DD>
|
|
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. This command can be terminated with the key
|
|
sequence CTRL-C.
|
|
<DT id="12"><B>listen</B><I> <dev> [channel] [cmd]</I>
|
|
|
|
<DD>
|
|
Listen on a specified RFCOMM channel for incoming connections.
|
|
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.
|
|
Occurrences 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.
|
|
<DT id="13"><B>watch</B><I> <dev> [channel] [cmd]</I>
|
|
|
|
<DD>
|
|
Watch is identical to
|
|
<B>listen</B>
|
|
|
|
except that when the child process terminates or the client
|
|
disconnect, the command will restart listening with the same
|
|
parameters.
|
|
<DT id="14"><B>bind</B><I> <dev> [bdaddr] [channel]</I>
|
|
|
|
<DD>
|
|
This binds the RFCOMM device to a remote Bluetooth device. The
|
|
command does not establish a connection to the remote device, it
|
|
only creates the binding. The connection will be established right
|
|
after an application tries to open the RFCOMM device. If no channel
|
|
number is specified, it uses the channel number 1.
|
|
<DT id="15"><B>release</B><I> <dev></I>
|
|
|
|
<DD>
|
|
This command releases a defined RFCOMM binding.
|
|
<P>
|
|
If
|
|
<B>all</B>
|
|
|
|
is specified for the RFCOMM device, then all bindings will be removed.
|
|
</DL>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
Written by Marcel Holtmann <<A HREF="mailto:marcel@holtmann.org">marcel@holtmann.org</A>>.
|
|
<BR>
|
|
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="16"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="17"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="18"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="19"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="20"><A HREF="#lbAF">COMMANDS</A><DD>
|
|
<DT id="21"><A HREF="#lbAG">AUTHOR</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:26 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|