Deleted Added
full compact
26c26
< .\" $FreeBSD: head/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.1 153209 2005-12-07 19:41:58Z emax $
---
> .\" $FreeBSD: head/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.1 166233 2007-01-25 20:54:59Z emax $
28c28
< .Dd April 26, 2003
---
> .Dd January 24, 2007
36c36
< .Op Fl bh
---
> .Op Fl bhS
44c44,48
< It opens RFCOMM connection to the specified
---
> It can operate in two modes: client and server.
> .Pp
> In client mode,
> .Nm
> opens RFCOMM connection to the specified
56a61,71
> If the
> .Fl S
> option is specified,
> .Nm
> will operate in server mode and act as RFCOMM server,
> listening on
> .Dv ANY
> address and advertising a virtual serial port
> via the
> .Xr sdpd 8
> daemon.
57a73,76
> .Fl t
> option must be specified;
> the server side of the virtual serial port is attached to the pseudo-terminal
> .Ar tty .
58a78,83
> should be run as root in order to communicate with
> .Xr sdp 8
> in this case.
> .Pp
> The
> .Nm
74c99,106
< This required option specifies the address of the remote RFCOMM server.
---
> In client mode,
> this required option specifies the address of the remote RFCOMM server.
> If this option is specified in server mode,
> .Nm
> will only accept connections from the
> .Tn Bluetooth
> device with address
> .Ar address .
76c108
< If name was specified then the
---
> If name was specified then
83,84c115,123
< This option specifies RFCOMM channel to connect to.
< RFCOMM channel could either be a number between 1 and 30 or a service name.
---
> In both client and server mode,
> this required option specifies the RFCOMM channel to connect to or listen on.
> In server mode,
> the channel should be a number between 1 and 30.
> If not specified,
> .Nm
> will try to allocate RFCOMM channel number based on process ID.
> In client mode,
> the channel could either be a number between 1 and 30 or a service name.
99a139,141
> .It Fl S
> Server mode; see
> .Sx DESCRIPTION .
104a147,148
> or
> .Fl S
132c176,177
< .Xr rfcomm_pppd 8
---
> .Xr rfcomm_pppd 8 ,
> .Xr sdpd 8