summaryrefslogtreecommitdiff
path: root/usr.sbin/btdevctl
AgeCommit message (Collapse)Author
2009-05-12update to use new sdp(3) and sdp_data(3) APIsplunky
2009-05-12does not need libsdp any longerplunky
2009-05-07Ensure that these programs continue to build while I am in theplunky
process of updating the Service Discovery Protocol API.
2009-04-15Fix -Wsign-compare issueslukem
2008-07-21Remove the \n and tabs from the __COPYRIGHT() strings.lukem
Tweak to use a consistent format.
2008-04-20use __arraycount macro instead of rolling our ownplunky
2007-12-02Drop trailing whitespace, remove superfluous Pp.wiz
2007-11-19use optarg instead of mode when reporting failure - mode is uninitialisedplunky
2007-08-17Attempt at fixing build failures after proplib was converted to bool:pavel
FALSE -> false, TRUE -> true, boolean_t -> bool, int -> bool when appropriate, include stdbool.h . proplib.h no longer provides boolean_t, so it is necessary to change to bool. From Tom Spindler (dogcow@).
2007-04-21Add 'service level' security for L2CAP and RFCOMM connections, followingplunky
the Linux (BlueZ) API. - L2CAP or RFCOMM connections can require the baseband radio link mode be any of: authenticated (devices are paired) encrypted (implies authentication) secured (encryption, plus generate new link key) - for sockets, the mode is set using setsockopt(2) and the socket connection will be aborted if the mode change fails. - mode settings will be applied during connection establishment, and for safety, we enter a wait state and will only proceed when the mode settings are successfuly set. - It is possible to change the mode on already open connections, but not possible to guarantee that data already queued (from either end) will not be delivered. (this is a feature, not a bug) - bthidev(4) and rfcomm_sppd(1) support "auth", "encrypt" and "secure" options - btdevctl(8) by default enables "auth" for HIDs, and "encrypt" for keyboards (which are required to support it)
2007-04-11release prop objects after they have been retained by dictionaryplunky
2007-04-11constify char *serviceplunky
2006-09-29back off previous changes since the 'memory leak' fix - we dont need any ofplunky
that, just use the _nocopy version of the function.
2006-09-28Back out previous, <stdlib.h> was the right include.he
2006-09-28Now that we use free(), we also need <malloc.h>.he
2006-09-28include stdlib.h for free()dbj
i've also cleared the -kk flag and reset it to -kkv
2006-09-27Coverity CID 4177: fix memory leak.christos
2006-09-11also include service name in dictionary being sent to kernel.plunky
(this is not used just yet, but it might be in the future and it will be easier if we dont have to provide code to handle its absence)
2006-09-10Print explicit 64-bit types using the format macros from int_fmtio.h.he
Unbreaks the build for our LP64 ports, where "long long" typically is not 64 bits.
2006-09-10update to bluetooth device attachment:plunky
remove pseudo-device btdev(4) and inherent limitations add bthub(4) which autoconfigures at bluetooth controllers as they are enabled. bluetooth devices now attach here. btdevctl(8) and its cache is updated to handle new semantics etc/rc.d/btdevctl is updated to configure devices from a list in /etc/bluetooth/btdevctl.conf
2006-08-27BluetootH SCO Audio update.plunky
Provide an ioctl to set the SCO mtu value in the controller and place limits in the SCO code such that only packets of this size may be sent. Move the mtu option from btsco(4) and btdevctl(8), to the btconfig(8) program. Remove temporary BLUETOOTH_SCO kernel option, and enable SCO socket access. Fix incoming connection handling for btsco(4) and SCO sockets. Fix documentation to reflect the new world order.
2006-08-17Print the error string on failureplunky
2006-08-17always create dictionary entry for local-bdaddr as it is wanted by btdev(4)plunky
2006-08-13rename btcontrol(8) as btdevctl(8) to make it fit with the NetBSD namingplunky
scheme for control programs. This fixes pr 34051.