ow'/>
summaryrefslogtreecommitdiff
path: root/usr.sbin/btdevctl
AgeCommit message (Collapse)Author
2021-12-12fix various typos in comments.andvar
2020-06-07Update for proplib(3) API changes.thorpej
2019-02-03- add or adjust /* FALLTHROUGH */ where appropriatemrg
- add __unreachable() after functions that can return but won't in this case, and thus can't be marked __dead easily
2017-12-10Fix fallout from hid factorisation:bouyer
- need to install sys/dev/hid/hid.h for userland - include it where needed - most of the time in place if usb/usbhid.h
2015-06-12the Bluetooth rc.d setup was simplified some time ago, soplunky
'btdevctl' variable is no longer used. change wording to reflect this
2014-03-18Merge riastradh-drm2 to HEAD.riastradh
2013-07-20Use Mt for email addresses.wiz
2012-12-26whitespace ' ' -> ' 'plunky
2012-12-26add a comment pointing out that the link-mode may need to beplunky
changed manually, for devices which cannot authenticate for PR/47286
2011-08-27static + __deadjoerg
2011-03-20provide more informative error messagesplunky
2010-10-12Sort sections, use serial comma.wiz
2010-10-11add a reference in the SEE ALSO section to "The NetBSD Guide" forplunky
detailed examples of device configuration
2010-04-28additionally query the "PnP Information" service record to discoverplunky
any USB Forum vendor-id and product-id values and store them in the property list if found.
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.