rctest(1)

rctest1

Rfcomm testing

Usage

rctest <MODE> [OPTIONS] [bdaddr]

Overview

rctest(1) 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>

Releases

9 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0–11
  2. 12
  3. 13
  4. Arch

-B until Debian 11 (Bullseye); -C until Debian 11 (Bullseye); -D until Debian 11 (Bullseye); -L until Debian 11 (Bullseye); -N until Debian 11 (Bullseye); -P until Debian 11 (Bullseye); -U until Debian 11 (Bullseye); -W until Debian 11 (Bullseye); -b until Debian 11 (Bullseye); -i until Debian 11 (Bullseye).

Reporting bugs

<[email protected]>

Author

Maxim Krasnyansky <[email protected]>, Marcel Holtmann <[email protected]>, Filippo Giunchedi <[email protected]>

From bluez-utils 5.87-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.