Bash Cures Cancer
Learn the UNIX/Linux command line

Home     Man Pages     SpamDefeator


RFCOMM(1)							    RFCOMM(1)



NAME
       rfcomm - RFCOMM configuration utility

SYNOPSIS
       rfcomm [ options ] < command > < dev >

DESCRIPTION
       rfcomm  is used to set up, maintain, and inspect the RFCOMM configura-
       tion of the Bluetooth subsystem in the Linux kernel. If no command  is
       given,  or  if  the option -a is used, rfcomm prints information about
       the configured RFCOMM devices.

OPTIONS
       -h     Gives a list of possible commands.

       -a     Prints information about all configured RFCOMM devices.

       -i  | 
	      The command is applied to device hciX , which must be the	 name
	      or  the address of an installed Bluetooth device. If not speci-
	      fied, the command will be use  the  first	 available  Bluetooth
	      device.

COMMANDS
       show 
	      Display the information about the specified device.

       connect  [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.

       listen  [channel]
	      Listen  on a specified RFCOMM channel for incoming connections.
	      If no channel is specified, it will use the channel  number  1.
	      This command can be terminated with the key sequence CTRL-C.

       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 established
	      right after an application tries to open the RFCOMM device.  If
	      no  channel  number is specified, it uses the channel number 1.
	      If the Bluetooth address is also left out, it tries to read the
	      data from the config file.

	      If  all  is  specified  for the RFCOMM device, then all devices
	      that have bind yes set in the config will be bound.

       release 
	      This command releases a defined RFCOMM binding.

	      If all is specified for the RFCOMM device,  then	all  bindings
	      will  be	removed.  This command didn't care about the settings
	      in the config file.

AUTHOR
       Written by Marcel Holtmann .



				APRIL 28, 2002			    RFCOMM(1)


UNIX/Linux commands referenced on this page:
  1. which
  2. yes