summaryrefslogtreecommitdiff
path: root/tools/rctest.rst
blob: 0e78e09af66afe5a41ceb675f00f506dd9e0cd1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
======
rctest
======

--------------
RFCOMM testing
--------------

:Authors: - Maxim Krasnyansky <maxk@qualcomm.com>
          - Marcel Holtmann <marcel@holtmann.org>
          - Filippo Giunchedi <filippo@debian.org>
:Version: BlueZ
:Copyright: Free use of this software is granted under ther terms of the GNU
            Lesser General Public Licenses (LGPL).
:Date: Jul 6, 2009
:Manual section: 1
:Manual group: Linux System Administration

SYNOPSIS
========

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

DESCRIPTION
===========

**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

REPORTING BUGS
==============

linux-bluetooth@vger.kernel.org