Takanori Watanabe
8d6f425ddd
Check l2cap socket initialisation and define L2CAP_SOCKET_CHECKED
...
This will fix build.
2015-04-07 16:48:23 +00:00
Maksim Yevmenkin
dc7b26971d
Change the code to use the openpty(3) API which uses the pts(4) driver
...
instead of the pty(4) driver.
PR: 184597
Submitted by: tobias.rehbein
MFC after: 2 weeks
2014-10-23 15:16:40 +00:00
Maksim Yevmenkin
d37245a0de
Clenup code a bit and do not call fork(2) before dameon(3) where not needed.
...
MFC after: 1 month
2009-02-04 22:04:06 +00:00
Maksim Yevmenkin
aa6985f4f3
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.
Submitted by: luigi
Tested by: Helge Oldach <freebsd-bluetooth at oldach dot net>
MFC after: 3 days
2008-05-14 16:47:30 +00:00
Kevin Lo
817e1ec901
Check return value of listen().
...
Reviewed by: emax
Approved by: re (kensmith)
2007-09-11 01:59:00 +00:00
Maksim Yevmenkin
0a314f7c39
Add "server mode" to rfcomm_sppd(1).
...
Submitted by: Dave Eckhardt, bms
Tested by: Dave Eckhardt, Eric Anderson, bms
2007-01-25 20:54:59 +00:00
Maksim Yevmenkin
a9412967a2
Teach rfcomm_sppd(8) to recognize "lan" (for LAN Access Using PPP) service
...
name in '-c' (RFCOMM channel) option.
MFC after: 3 days
2005-12-07 19:41:58 +00:00
Maksim Yevmenkin
d47d4f47b0
Teach rfcomm_sppd(1) about service names, so it is possible to specify
...
service name instead of channel number with -c command option. Supported
service names are: DUN (Dial-Up Networking), FAX (Fax) and SP (Serial Port).
MFC after: 1 week
2005-11-23 00:56:18 +00:00
Maksim Yevmenkin
969fdab180
Make -t <tty> optional. If not specified use stdin/stdout.
...
Document this. These changes make it possible to write something like
set device "!/usr/bin/rfcomm_sppd -a BD_ADDR"
inside the /etc/ppp/ppp.conf file. Very convenient for the users :)
Submitted by: Konstantin Stepanenkov <kstepanenkov AT oilspace DOT com>
MFC after: 3 days
2004-09-30 21:05:17 +00:00
Maksim Yevmenkin
2aa65cf739
- One can use both BD_ADDR or name to specify address of the Bluetooth device.
...
Update man pages to document this fact.
- Update usage messages
- Change u_intXXX to uintXXX
2004-08-05 16:32:41 +00:00
Maksim Yevmenkin
263a3a25b1
Fix a couple of stylistic issues
...
Reviewed by: imp (mentor), ru
Approved by: imp (mentor)
2003-12-22 22:50:21 +00:00
Maksim Yevmenkin
4b1493e53d
Fix uncontrolled access to the buffer in rfcomm_sppd(1).
...
Fix typo in hcsecd(8) man page.
Submitted by: Guido Falsi <mad@madpilot.net>
Reviewed by: imp (mentor)
Approved by: imp (mentor)
2003-12-19 18:15:56 +00:00
Maksim Yevmenkin
0986ab12e4
Update Bluetooth code.
...
Reviewed by: M. Warner Losh <imp@bsdimp.com>; John Hay <jhay@freebsd.org>
Approved by: M. Warner Losh <imp@bsdimp.com> (mentor)
2003-10-12 22:04:24 +00:00
Julian Elischer
f2bb1cae36
Part one of undating the bluetooth code to the newest version
...
Submitted by: Maksim Yevmenkin <m_evmenkin@yahoo.com>
Approved by: re@
2003-05-10 21:44:42 +00:00