Linux Commands Examples

A great documentation place for Linux commands


RFCOMM testing


rctest <mode> [options] [bdaddr]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !


rctest is used to test RFCOMM communications on the BlueZ stack


-b bytes

send/receive bytes 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)


request authentication


request encryption


secure connection


become master


enable timestamps



listen and receive


listen and send


listen and dump incoming data


connect and send


connect and receive


connect and be silent


connect, disconnect, connect, ...


multiple connects


Written by Marcel Holtmann <marcel[:at:]holtmann[:dot:]org> and Maxim Krasnyansky <maxk[:at:]qualcomm[:dot:]com>, man page by Filippo Giunchedi <filippo[:at:]debian[:dot:]org>

How can this site be more helpful to YOU ?

give  feedback