rctest(1) Linux System Administration rctest(1)

# [Name](#Name)

rctest - RFCOMM testing

# [SYNOPSIS](#SYNOPSIS)

**rctest** &lt;*MODE*&gt; \[*OPTIONS*] \[*bdaddr*]

# [DESCRIPTION](#DESCRIPTION)

[**rctest(1)**](/man/os/bluez/rctest.1) is used to test RFCOMM communications on the BlueZ stack

# [MODES](#MODES)

[**-r**](#r)

listen and receive

[**-w**](#w)

listen and send

[**-d**](#d)

listen and dump incoming data

[**-s**](#s)

connect and send

[**-u**](#u)

connect and receive

[**-n**](#n)

connect and be silent

[**-c**](#c)

connect, disconnect, connect, ...

[**-m**](#m)

multiple connects

# [OPTIONS](#OPTIONS)

[**-b bytes**](#b)

send/receive bytes

[**-i device**](#i)

select the specified device

[**-P channel**](#P)

select the specified channel

[**-U uuid**](#U)

select the specified uuid

[**-L seconds**](#L)

enable SO\_LINGER options for seconds

[**-W seconds**](#W)

enable deferred setup for seconds

[**-B filename**](#B)

use data packets from filename

[**-N num**](#N)

send num frames

[**-C num**](#C)

send num frames before delay (default: 1)

[**-D milliseconds**](#D)

delay milliseconds after sending num frames (default: 0)

[**-A**](#A)

request authentication

[**-E**](#E)

request encryption

[**-S**](#S)

secure connection

[**-M**](#M)

become central

[**-T**](#T)

enable timestamps

# [RESOURCES](#RESOURCES)

&lt;http://www.bluez.org&gt;

# [REPORTING BUGS](#REPORTING_BUGS)

&lt;linux-bluetooth@vger.kernel.org&gt;

# [Author](#Author)

Maxim Krasnyansky &lt;maxk@qualcomm.com&gt;, Marcel Holtmann &lt;marcel@holtmann.org&gt;, Filippo Giunchedi &lt;filippo@debian.org&gt;

# [Copyright](#Copyright)

Free use of this software is granted under the terms of the GNU Lesser General Public Licenses (LGPL).

July 6, 2009 BlueZ

---

Document: rctest(1) from bluez 5.87-r1 (Chainguard OS)
Source: https://github.com/bluez/bluez
