summaryrefslogtreecommitdiff
path: root/test/rctest.1
blob: dfedbefd5290f4ff265915200d765d9b1a3d6842 (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
82
83
84
85
86
87
88
89
90
.TH RCTEST 1 "Jul 6 2009" BlueZ ""
.SH NAME
rctest \- RFCOMM testing
.SH SYNOPSIS
.B rctest
<\fImode\fR> [\fIoptions\fR] [\fIbdaddr\fR]

.SH DESCRIPTION
.LP
.B
rctest
is used to test RFCOMM communications on the BlueZ stack

.SH MODES
.TP
.B -r
listen and receive
.TP
.B -w
listen and send
.TP
.B -d
listen and dump incoming data
.TP
.B -s
connect and send
.TP
.B -u
connect and receive
.TP
.B -n
connect and be silent
.TP
.B -c
connect, disconnect, connect, ...
.TP
.B -m
multiple connects

.SH OPTIONS
.TP
.BI -b\  bytes
send/receive \fIbytes\fR bytes
.TP
.BI -i\  device
select the specified \fIdevice\fR
.TP
.BI -P\  channel
select the specified \fIchannel\fR
.TP
.BI -U\  uuid
select the specified \fIuuid\fR
.TP
.BI -L\  seconds
enable SO_LINGER options for \fIseconds\fR
.TP
.BI -W\  seconds
enable deferred setup for \fIseconds\fR
.TP
.BI -B\  filename
use data packets from \fIfilename\fR
.TP
.BI -N\  num
send \fInum\fR frames
.TP
.BI -C\  num
send \fInum\fR frames before delay (default: 1)
.TP
.BI -D\  milliseconds
delay \fImilliseconds\fR after sending \fInum\fR frames (default: 0)
.TP
.B -A
request authentication
.TP
.B -E
request encryption
.TP
.B -S
secure connection
.TP
.B -M
become master
.TP
.B -T
enable timestamps

.SH AUTHORS
Written by Marcel Holtmann <marcel@holtmann.org> and Maxim Krasnyansky
<maxk@qualcomm.com>, man page by Filippo Giunchedi <filippo@debian.org>
.PP