1 .\" $NetBSD: rfcomm_sppd.1,v 1.5 2007/04/21 06:15:23 plunky Exp $
2 .\" $DragonFly: src/usr.bin/rfcomm_sppd/rfcomm_sppd.1,v 1.1 2008/02/08 14:06:25 hasso Exp $
4 .\" Copyright (c) 2006 Itronix Inc.
5 .\" All rights reserved.
7 .\" Redistribution and use in source and binary forms, with or without
8 .\" modification, are permitted provided that the following conditions
10 .\" 1. Redistributions of source code must retain the above copyright
11 .\" notice, this list of conditions and the following disclaimer.
12 .\" 2. Redistributions in binary form must reproduce the above copyright
13 .\" notice, this list of conditions and the following disclaimer in the
14 .\" documentation and/or other materials provided with the distribution.
15 .\" 3. The name of Itronix Inc. may not be used to endorse
16 .\" or promote products derived from this software without specific
17 .\" prior written permission.
19 .\" THIS SOFTWARE IS PROVIDED BY ITRONIX INC. ``AS IS'' AND
20 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21 .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22 .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ITRONIX INC. BE LIABLE FOR ANY
23 .\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
24 .\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
25 .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
26 .\" ON ANY THEORY OF LIABILITY, WHETHER IN
27 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29 .\" POSSIBILITY OF SUCH DAMAGE.
32 .\" Copyright (c) 2001-2003 Maksim Yevmenkin <m_evmenkin@yahoo.com>
33 .\" All rights reserved.
35 .\" Redistribution and use in source and binary forms, with or without
36 .\" modification, are permitted provided that the following conditions
38 .\" 1. Redistributions of source code must retain the above copyright
39 .\" notice, this list of conditions and the following disclaimer.
40 .\" 2. Redistributions in binary form must reproduce the above copyright
41 .\" notice, this list of conditions and the following disclaimer in the
42 .\" documentation and/or other materials provided with the distribution.
44 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
45 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
46 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
47 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
48 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
49 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
50 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
51 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
52 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
53 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
61 .Nd RFCOMM Serial Port Profile daemon
68 .Brq Fl a Ar address | Fl c Ar channel
72 utility is a Serial Port Profile daemon, providing serial access over
73 an RFCOMM connection to a remote device.
75 can work in client or server mode.
79 initiates an RFCOMM connection to the
88 with the local SDP server and listens on the specified RFCOMM
90 for an incoming connection.
92 The options are as follows:
93 .Bl -tag -width ".Fl c Ar channel"
96 Specify the address of the remote RFCOMM device.
97 The address can be specified as BD_ADDR or name.
98 If given as a name, then the
100 utility will attempt to resolve the name via
101 .Xr bt_gethostbyname 3 .
104 Specify the RFCOMM channel number to listen on.
106 will register the service with the local
109 Note that registering services with
111 is a privileged operation.
113 Use the local device with the specifed address.
114 The device can be specified by BD_ADDR or device name.
117 for a list of available devices.
120 is specified, the connection will be set up on a system determined device.
122 Set connection link mode.
125 .Bl -tag -compact -offset indent
127 require devices be paired.
129 auth, plus enable encryption.
131 encryption, plus change of link key.
134 This is the service class that will be searched for on the remote device.
137 is given, the default
139 service class will be used.
140 Known service classes are:
142 .Bl -tag -compact -offset indent
151 In client mode, the service class may be given as a channel number, for instances
152 where the remote device does not provide Service Discovery.
154 Slave pseudo tty name.
155 If this option is given,
157 will detach from the controlling process after the bluetooth connection is
158 made, and operate over the named
161 Otherwise, stdin/stdout will be used.
166 .Bl -tag -width ".Pa /dev/tty[p-sP-S][0-9a-v]" -compact
167 .It Pa /dev/pty[p-sP-S][0-9a-v]
168 master pseudo terminals
169 .It Pa /dev/tty[p-sP-S][0-9a-v]
170 slave pseudo terminals
173 .Dl rfcomm_sppd -a 00:01:02:03:04:05 -s 1 -t /dev/ttyp1
175 Will open an RFCOMM connection to the server at
176 .Li 00:01:02:03:04:05
179 Once the connection has been established,
183 can be used to communicate with the remote serial port on the
184 server, e.g. with the use of
190 to automatically create a secured link for
193 .Dl pty Qo rfcomm_sppd -a 00:01:02:03:04:05 -s DUN -m secure Qc
208 program first appeared in
214 under the sponsorship of
217 .An Maksim Yevmenkin Aq m_evmenkin@yahoo.com ,
220 Please report if found.