---
name: "rctest"
section: "1"
platform: "linux"
package: "bluez-utils"
version: "5.87-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/rctest"
---

# rctest(1)

RFCOMM testing

## Name

rctest - RFCOMM testing

## SYNOPSIS

**rctest** \<*MODE*\> \[*OPTIONS*\] \[*bdaddr*\]

## DESCRIPTION

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

## MODES

- **-r**

  listen and receive

- **-w**

  listen and send

- **-d**

  listen and dump incoming data

- **-s**

  connect and send

- **-u**

  connect and receive

- **-n**

  connect and be silent

- **-c**

  connect, disconnect, connect, ...

- **-m**

  multiple connects

## OPTIONS

- **-b** *bytes*

  send/receive bytes

- **-i** *device*

  select the specified device

- **-P** *channel*

  select the specified channel

- **-U** *uuid*

  select the specified uuid

- **-L** *seconds*

  enable SO\_LINGER options for seconds

- **-W** *seconds*

  enable deferred setup for seconds

- **-B** *filename*

  use data packets from filename

- **-N** *num*

  send num frames

- **-C** *num*

  send num frames before delay (default: 1)

- **-D** *milliseconds*

  delay milliseconds after sending num frames (default: 0)

- **-A**

  request authentication

- **-E**

  request encryption

- **-S**

  secure connection

- **-M**

  become central

- **-T**

  enable timestamps

## RESOURCES

\<http://www.bluez.org\>

## REPORTING BUGS

\<linux-bluetooth@vger.kernel.org\>

## Author

Maxim Krasnyansky \<maxk@qualcomm.com\>, Marcel Holtmann \<marcel@holtmann.org\>, Filippo Giunchedi \<filippo@debian.org\>

## Copyright

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