⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rfcomm.1

📁 这是Linux环境下的蓝牙源代码
💻 1
字号:
.\".\"	This program is free software; you can redistribute it and/or modify.\"	it under the terms of the GNU General Public License as published by.\"	the Free Software Foundation; either version 2 of the License, or.\"	(at your option) any later version..\".\"	This program is distributed in the hope that it will be useful,.\"	but WITHOUT ANY WARRANTY; without even the implied warranty of.\"	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the.\"	GNU General Public License for more details..\".\"	You should have received a copy of the GNU General Public License.\"	along with this program; if not, write to the Free Software.\"	Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA..\".\".TH RFCOMM 1 "APRIL 28, 2002" "" "".SH NAMErfcomm \- RFCOMM configuration utility.SH SYNOPSIS.BR "rfcomm[.I options] <.I command> <.I dev>.SH DESCRIPTION.B rfcommis used to set up, maintain, and inspect the RFCOMM configurationof the Bluetooth subsystem in the Linux kernel. If no.B commandis given, or if the option.B -ais used,.B rfcommprints information about the configured RFCOMM devices..SH OPTIONS.TP.BI -hGives a list of possible commands..TP.BI -aPrints information about all configured RFCOMM devices..TP.BI -rSwitch TTY into raw mode (doesn't work with "bind")..TP.BI -f " <file>"Specify alternate config file..TP.BI -i " <hciX> | <bdaddr>"The command is applied to device.BI -AEnable authentication..BI -EEnable encryption..BI -SSecure connection..BI -MBecome the master of a piconet..IhciX, which must be the name or the address of an installed Bluetoothdevice. If not specified, the command will be use the firstavailable Bluetooth device..TP.BI -AEnable authentification.TP.BI -EEnable encryption.TP.BI -SSecure connection.TP.BI -MBecome the master of a piconet.TP.BI -L " <seconds>"Set linger timeout.SH COMMANDS.TP.BI show " <dev>"Display the information about the specified device..TP.BI connect " <dev> [bdaddr] [channel]"Connect the RFCOMM device to the remote Bluetooth device on thespecified channel. If no channel is specified, it will use thechannel number 1. If also the Bluetooth address is left out, ittries to read the data from the config file. This command canbe terminated with the key sequence CTRL-C..TP .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, buta channel must be specified before cmd. If cmd is given, it will beexecuted 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 deviceused by the connection. This command can be terminated with the keysequence CTRL-C..TP.BI watch " <dev> [channel] [cmd]"Watch is identical to.B listenexcept that when the child process terminates or the clientdisconnect, 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. Thecommand did not establish a connection to the remote device, itonly creates the binding. The connection will be established rightafter an application tries to open the RFCOMM device. If no channelnumber is specified, it uses the channel number 1. If the Bluetoothaddress is also left out, it tries to read the data from the configfile.If.B allis specified for the RFCOMM device, then all devices that have.B "bind yes"set in the config will be bound..TP.BI release " <dev>"This command releases a defined RFCOMM binding.If.B allis specified for the RFCOMM device, then all bindings will be removed.This command didn't care about the settings in the config file..SH AUTHORWritten by Marcel Holtmann <marcel@holtmann.org>..br

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -