Commit Graph

40 Commits

Author SHA1 Message Date
emax
a79bc3d799 Serial devices now called /dev/cuadXX not /dev/cuaaXX 2004-11-02 20:12:06 +00:00
ru
1edab47bcf For variables that are only checked with defined(), don't provide
any fake value.
2004-10-24 15:33:08 +00:00
emax
0c6c987c96 Add missing #include
Bump WARNS level to 2

PR:		bin/71668
Submitted by:	Dan Lukes <dan@obluda.cz>
MFC after:	3 days
2004-09-14 20:04:33 +00:00
emax
0099a811ee Update links to the bluez-firmware package
Update md5 hash
2004-08-11 00:22:23 +00:00
emax
bd9a21dfaf Introduce ng_hci_inquiry_response structure and use it in the hccontrol(8) 2004-08-10 00:38:50 +00:00
emax
a0f3869462 - 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
emax
a2c1cae10b - Update l2ping(8) man page and mention that it is possible to use names
instead of BD_ADDRs

- Convert BD_ADDRs in l2ping(8) output into the human readable names via
  bt_gethostbyaddr(3)

- Introduce and document '-n' - numberic output option

Suggested by: Anil Madhavapeddy <anil at recoil dot org>
2004-08-04 20:43:57 +00:00
kan
ad75893797 Avoid casts as lvalues. 2004-07-28 07:20:04 +00:00
emax
4b9dfcb30d Add workaround for brain damaged cell phones
PR:		bin/67906
2004-07-27 22:40:42 +00:00
emax
d230c2d773 Fix cut-n-paste bugs in hccontrol(8). Its very strange that no one noticed
them earlier. Thanks to Mike Crosland (mcrosland at xs4all.nl) for pointing
them out.
2004-06-28 00:58:53 +00:00
imp
39dd16e393 Remove dependency on dev/usb/usbdevs.h, in preparation for its
disappearing from the tree.  We already were splitting the baby (using
the symbol for the vendor BROADCOM, but not for the device).  Use
#defines for both.
2004-06-25 23:14:06 +00:00
ru
f0f9daab94 Assorted markup, grammar, and spelling fixes. 2004-06-13 18:03:44 +00:00
ru
a00478bd6a Markup nits. 2004-06-04 19:23:12 +00:00
ru
92b5b37984 Reapply some lost fixes, fix some more. 2004-06-04 19:22:04 +00:00
emax
03d03977d0 Start committing Bluetooth HID (Human Interface Device) support.
Note: bthidd(8) is still not complete. Need to commit kernel
support (a-la Linux /dev/input) to feed HID events into kernel.
Also need to write bthidd(8) and bthidd.conf(5) man pages.
2004-04-10 00:18:00 +00:00
emax
50fb78ac86 Use uint instead of u_int 2004-04-09 23:58:53 +00:00
emax
6f0f3b3fa7 Make sure Bluetooth stuff can be compiled on amd64
Submitted by:	ps
2004-04-09 23:01:42 +00:00
markm
f1849df8d1 Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror)
that this provokes. "Wherever possible" means "In the kernel OR NOT
C++" (implying C).

There are places where (void *) pointers are not valid, such as for
function pointers, but in the special case of (void *)0, agreement
settles on it being OK.

Most of the fixes were NULL where an integer zero was needed; many
of the fixes were NULL where ascii <nul> ('\0') was needed, and a
few were just "other".

Tested on: i386 sparc64
2004-03-05 08:10:19 +00:00
emax
e4b8fda8aa Add extra sanity check for SDP packets in libsdp(3)
Fix yet another endianess bug in sdpd(8)
2004-02-26 20:44:55 +00:00
emax
37d620b9dc Fix endianes bug 2004-02-25 22:43:43 +00:00
emax
15c5c9be39 Teach rfcomm_pppd(8) how to register Bluetooth LAN service with local sdpd(8)
Add -u(unit) option

Reviewed by:	imp (mentor), ru
2004-02-23 17:30:59 +00:00
emax
f2e326a98e l2ping(8) should not loose echo data if target does not responds to the ping
Reviewed by:	imp (mentor), ru
2004-02-17 18:37:12 +00:00
emax
065a179875 Cleanup CFLAGS in libsdp(3) Makefile
Connect sdpd(8) to the build

Reviewed by: ru, imp (mentor)
2004-01-25 21:33:59 +00:00
emax
7f8ec34c2b Import sdpd(8) sources. This is Bluetooth Service Discovery Protocol daemon.
Extend libsdp(3) API to allow service registration and removal.
Fix uninitialized variable bug in sdpcontrol(8).

Reviewed by: imp (mentor)
No objection: ru
2004-01-20 20:48:26 +00:00
emax
cdae4a692d Change sdp_open_local(3) API. It now takes a path to a control socket
Teach sdpcontrol(8) how to talk to the local SDP server
Update man pages
s/u_int/uint

Reviewed by:	imp (mentor), ru
2004-01-09 22:44:28 +00:00
emax
403c71f92d 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
harti
e62a6014bb Replace all uses of the old netgraph constants NG_*LEN by the new
constants NG_*SIZ that include the trailing NUL byte. This change
is mostly mechanical except for the replacement of a couple of snprintf()
and sprintf() calls with strlcpy.
2003-11-15 15:26:35 +00:00
emax
30f52082c2 Fix few typos
Reviewed by: imp, julian, ru
Approved by: imp (mentor)
2003-11-11 02:43:10 +00:00
emax
b655606c42 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
f1f207997d Account for the fact that "buildworld" builds in the 'obj' tree
Pointed out by: Andrew Gallatin <gallatin@cs.duke.edu>
2003-06-24 18:45:22 +00:00
ru
1eee3d9b18 Reapply mdoc(7) fixes that got accidentally lost in the last
Bluetooth update, and fix a few more issues.

Submitted by:	Maksim Yevmenkin <m_evmenkin@yahoo.com>, ru
Approved by:	re (blanket)
2003-05-20 21:01:21 +00:00
julian
59be91ad8b Make the README reflect reality.
Approved by: re@ (blanket for bluetooth upgrade)
2003-05-11 02:19:10 +00:00
julian
da6a313d62 Re-enable the broadcom firmware utility now that the Makefile in that subdir
has been fixed to not need the missing files.
The firmware files themselves still now need to be fetched from the internet.
The README there gives the location.

Approved by: re@ (part of bluetooth upgrade)
2003-05-11 02:11:50 +00:00
julian
6cf8aef975 Fix (presently unused) Makefile to not need files not yet checked in.
Submitted by: Maksim Yevmenkin <m_evmenkin@yahoo.com>

Approved by: re@ (part of Bluetooth upgrade)
2003-05-11 02:08:10 +00:00
julian
746dc75a98 Don't compile the broadcom firmware module yet. 2003-05-10 22:05:14 +00:00
julian
b7f040c1e4 Broadcom firmware loading module.. The actual firmware files will follow when
the legal status has been confirmed, in the meanwhile they can be
downloaded from the location in the README file.
2003-05-10 22:03:45 +00:00
julian
be08f6b25d Part 2 of the commit if new bluetooth code.
Submitted by:	Maksim Yevmenkin <m_evmenkin@yahoo.com>
Approved by: re@
2003-05-10 21:50:37 +00:00
schweikh
c353aec149 Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,
especially in troff files.
2003-01-01 18:49:04 +00:00
ru
0b204c69b3 mdoc(7) police: markup fixes.
Approved by:	re
2002-12-12 13:26:32 +00:00
julian
ef4d5cf6c8 The second try a committing the bluetooth code
Has been seen to work on several cards and communicating with
several mobile phones to use them as modems etc.

We are still talking with 3com to try get them to allow us to include
the firmware for their pccard in the driver but the driver is here..
In the mean time
it can be downloaded from the 3com website and loaded using the utility
bt3cfw(8) (supplied) (instructions in the man page)

Not yet linked to the build

Submitted by:	Maksim Yevmenkin <myevmenk@exodus.net>
Approved by:	re
2002-11-20 23:01:59 +00:00