cvs commit: src/usr.bin/bluetooth/rfcomm_sppd rfcomm_sppd.1
rfcomm_sppd.c
Maksim Yevmenkin
maksim.yevmenkin at gmail.com
Thu May 15 13:58:01 UTC 2008
[moving to freebsd-bluetooth@]
On 5/15/08, Daniel O'Connor <doconnor at gsoft.com.au> wrote:
> On Thu, 15 May 2008, Maksim Yevmenkin wrote:
> > Modified files:
> > usr.bin/bluetooth/rfcomm_sppd rfcomm_sppd.1 rfcomm_sppd.c
> > Log:
> > Make -t <tty> optional in server mode. If not specified use
> > stdin/stdout. Document this. Do not require channel number in server
> > mode. If not specified - bind to ''wildcard'' channel zero. Real
> > channel number will be obtained automatically and registered with
> > local sdpd(8). While I'm here fix serial port service registration.
>
> How hard would it be to have a '-t auto' and have it print out the pty
> it just allocated? It would make it much easier for scripts to work if
> that was possible.
>
> (Maybe just call openpty()?)
not hard at all. however, how would rfcomm_sppd(1) print tty name if,
say, it was asked to run in background? perhaps it would be better to
teach rfcomm_sppd(1) to work with nmdm(4)?
thanks,
max
More information about the freebsd-bluetooth
mailing list