Rfcomm testing
rctest <mode> [options] [bdaddr]
rctest is used to test RFCOMM communications on the BlueZ stack
-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
-bbytes
send/receive bytes bytes
-idevice
select the specified device
-Pchannel
select the specified channel
-Uuuid
select the specified uuid
-Lseconds
enable SO_LINGER options for seconds
-Wseconds
enable deferred setup for seconds
-Bfilename
use data packets from filename
-Nnum
send num frames
-Cnum
send num frames before delay (default: 1)
-Dmilliseconds
delay milliseconds after sending num frames (default: 0)
-A
request authentication
-E
request encryption
-S
secure connection
-M
become master
-T
enable timestamps
Written by Marcel Holtmann <[email protected]> and Maxim Krasnyansky <[email protected]>, man page by Filippo Giunchedi <[email protected]>