rfcomm.1 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. .\" Man page generated from reStructuredText.
  2. .
  3. .TH RFCOMM 1 "April 28, 2002" "BlueZ" "Linux System Administration"
  4. .SH NAME
  5. rfcomm \- RFCOMM configuration utility
  6. .
  7. .nr rst2man-indent-level 0
  8. .
  9. .de1 rstReportMargin
  10. \\$1 \\n[an-margin]
  11. level \\n[rst2man-indent-level]
  12. level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
  13. -
  14. \\n[rst2man-indent0]
  15. \\n[rst2man-indent1]
  16. \\n[rst2man-indent2]
  17. ..
  18. .de1 INDENT
  19. .\" .rstReportMargin pre:
  20. . RS \\$1
  21. . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
  22. . nr rst2man-indent-level +1
  23. .\" .rstReportMargin post:
  24. ..
  25. .de UNINDENT
  26. . RE
  27. .\" indent \\n[an-margin]
  28. .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
  29. .nr rst2man-indent-level -1
  30. .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
  31. .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
  32. ..
  33. .SH SYNOPSIS
  34. .sp
  35. \fBrfcomm\fP [\fIOPTIONS\fP] <\fICOMMAND\fP> <\fIdev\fP>
  36. .SH DESCRIPTION
  37. .sp
  38. \fBrfcomm(1)\fP is used to set up, maintain, and inspect the RFCOMM configuration
  39. of the Bluetooth subsystem in the Linux kernel. If no \fBcommand\fP is given,
  40. or if the option \fB\-a\fP is used, \fBrfcomm\fP prints information about the
  41. configured RFCOMM devices.
  42. .SH OPTIONS
  43. .INDENT 0.0
  44. .TP
  45. .B \-h
  46. Gives a list of possible commands.
  47. .TP
  48. .B \-a
  49. Prints information about all configured RFCOMM devices.
  50. .TP
  51. .B \-r
  52. Switch TTY into raw mode (doesn\(aqt work with "bind").
  53. .UNINDENT
  54. .INDENT 0.0
  55. .TP
  56. .B \-i <\fIhciX\fP> | <\fIbdaddr\fP>
  57. The command is applied to device \fIhciX\fP, which must be the name or the
  58. address of an installed Bluetooth device. If not specified, the command
  59. will be use the first available Bluetooth device.
  60. .UNINDENT
  61. .INDENT 0.0
  62. .TP
  63. .B \-A
  64. Enable authentication
  65. .TP
  66. .B \-E
  67. Enable encryption
  68. .TP
  69. .B \-S
  70. Secure connection
  71. .TP
  72. .B \-C
  73. Become the central of a piconet
  74. .TP
  75. .BI \-L \ <seconds>
  76. Set linger timeout
  77. .UNINDENT
  78. .SH COMMANDS
  79. .INDENT 0.0
  80. .TP
  81. .B show <\fIdev\fP>
  82. Display the information about the specified device.
  83. .TP
  84. .B connect <\fIdev\fP> [\fIbdaddr\fP] [\fIchannel\fP]
  85. Connect the RFCOMM device to the remote Bluetooth device on the specified
  86. channel. If no channel is specified, it will use the channel
  87. number \fB1\fP\&. This command can be terminated with the key sequence CTRL\-C.
  88. .TP
  89. .B listen <\fIdev\fP> [\fIchannel\fP] [\fIcmd\fP]
  90. Listen on a specified RFCOMM channel for incoming connections. If no
  91. channel is specified, it will use the channel number \fB1\fP, but a channel
  92. must be specified before cmd. If cmd is given, it will be executed as soon
  93. as a client connects. When the child process terminates or the client
  94. disconnect, the command will terminate. Occurrences of {} in cmd will be
  95. replaced by the name of the device used by the connection. This command
  96. can be terminated with the key sequence CTRL\-C.
  97. .TP
  98. .B watch <\fIdev\fP> [\fIchannel\fP] [\fIcmd\fP]
  99. Watch is identical to listen except that when the child process
  100. terminates or the client disconnect, the command will restart listening
  101. with the same parameters.
  102. .TP
  103. .B bind <\fIdev\fP> [\fIbdaddr\fP] [\fIchannel\fP]
  104. This binds the RFCOMM device to a remote Bluetooth device. The command
  105. does not establish a connection to the remote device, it only creates
  106. the binding. The connection will be established right after an application
  107. tries to open the RFCOMM device. If no channel number is specified, it
  108. uses the channel number \fB1\fP\&.
  109. .TP
  110. .B release <\fIdev\fP>
  111. This command releases a defined RFCOMM binding.
  112. .sp
  113. If \fBall\fP is specified for the RFCOMM device, then all bindings will be
  114. removed.
  115. .UNINDENT
  116. .SH RESOURCES
  117. .sp
  118. \fI\%http://www.bluez.org\fP
  119. .SH REPORTING BUGS
  120. .sp
  121. \fI\%linux\-bluetooth@vger.kernel.org\fP
  122. .SH AUTHOR
  123. Marcel Holtmann <marcel@holtmann.org>
  124. .SH COPYRIGHT
  125. Free use of this software is granted under ther terms of the GNU
  126. Lesser General Public Licenses (LGPL).
  127. .\" Generated by docutils manpage writer.
  128. .