aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/bluetooth
Commit message (Collapse)AuthorAgeFilesLines
* Teach btpand(8) to recognized Bluetooth device node names.Maksim Yevmenkin2009-05-181-1/+1
| | | | | | | | Tested by: Daniel O'Connor <doconnor -at- gsoft -dot- com -dot- au> MFC after: 3 days Notes: svn path=/head/; revision=192308
* Fix bug in event timeout handlingMaksim Yevmenkin2009-04-171-5/+5
| | | | | | | | Submitted by: mav MFC after: 3 days Notes: svn path=/head/; revision=191232
* Build fixups for the new USB stack.Andrew Thompson2009-02-231-0/+1
| | | | Notes: svn path=/head/; revision=188945
* Clenup code a bit and do not call fork(2) before dameon(3) where not needed.Maksim Yevmenkin2009-02-043-36/+10
| | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=188130
* Hook up btpand(8) to the buildMaksim Yevmenkin2009-02-021-0/+1
| | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=188014
* Fix client mode. Pick up service availability changes.Maksim Yevmenkin2009-02-023-21/+19
| | | | | | | | Obtained from: NetBSD MFC after: 1 month Notes: svn path=/head/; revision=188013
* Add btpand(8) daemon from NetBSD. This daemon provides support forMaksim Yevmenkin2009-01-3015-0/+3372
| | | | | | | | | | | Bluetooth Network Access Point (NAP), Group Ad-hoc Network (GN) and Personal Area Network User (PANU) profiles. Obtained from: NetBSD MFC after: 1 month Notes: svn path=/head/; revision=187938
* Straighten out those pesky SDP records for the BluetoothMaksim Yevmenkin2008-11-251-10/+26
| | | | | | | | | | Service Discovery Application Profile. Discussed with: Iain Hibbert of NetBSD plunky at rya dash online dot net MFC after: 3 weeks Notes: svn path=/head/; revision=185320
* Add mandatory "security description" SDP parameter to the PANU profileMaksim Yevmenkin2008-03-191-0/+15
| | | | | | | | Pointed-out by: Iain Hibbert < plunky at rya-online dot net > MFC after: 3 days Notes: svn path=/head/; revision=177364
* Add PSM and Load Factor SDP parameters to the BNEP based profilesMaksim Yevmenkin2008-03-186-15/+110
| | | | | | | | | | | | | | (NAP, GN and PANU). No reason to not to support them. Separate SDP parameters data structures for the BNEP based profiles. Generalize Service Availability SDP parameter creation. Requested by: Iain Hibbert < plunky at rya-online dot net > MFC after: 3 days Notes: svn path=/head/; revision=177358
* Update usage() - add new -D option. While I'm here, update copyrightMaksim Yevmenkin2008-03-141-2/+5
| | | | | | | | | information and license formatting MFC after: 1 day Notes: svn path=/head/; revision=177174
* Add support for the NAP, GN and PANU profiles to the sdpd(8).Maksim Yevmenkin2008-03-116-6/+562
| | | | | | | | | | It should be mentioned that a somewhat similar patch was submitted by Rako < rako29 at gmail dot com > MFC after: 1 week Notes: svn path=/head/; revision=177059
* Add an option to register DUN (Dial-Up Networking) service on the sameMaksim Yevmenkin2008-03-062-3/+43
| | | | | | | | | | RFCOMM channel if needed. There is really no good reason to not to support this. AT-command exchange can be faked with chat script in ppp.conf. MFC after: 1 week Notes: svn path=/head/; revision=176857
* Allow search for any UUID entered by user.Maksim Yevmenkin2007-11-041-3/+0
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=173335
* Fixed "make checkdpadd" (missing library dependencies).Ruslan Ermilov2007-10-011-1/+1
| | | | | | | Approved by: re (kensmith) Notes: svn path=/head/; revision=172401
* Add `accept dns' to rfcomm-server examplePav Lucistnik2007-05-131-0/+1
| | | | | | | | | | PR: docs/111320 Submitted by: James Flemer <jflemer@alum.rpi.edu> No objection: emax MFC after: 1 week Notes: svn path=/head/; revision=169533
* Check that the length of the received message is at least as big as a PDUMaksim Yevmenkin2007-02-231-1/+2
| | | | | | | | | | before we use pdu->len. Submitted by: Iain Hibbert MFC after: 3 days Notes: svn path=/head/; revision=166915
* Do not mark Bluetooth HID device as a "potential keyboard" if its descriptorMaksim Yevmenkin2006-11-271-1/+1
| | | | | | | | | | | | has items with CONSUMER page. For now only check for items with KEYBOARD page. This should prevent bthidd(8) from allocating vkbd(4) keyboard for Microsoft Bluetooth Explorer mouse. Reported by: Eric Anderson MFC after: 3 days Notes: svn path=/head/; revision=164700
* - Grammar fixesMarkus Brueffer2006-11-131-56/+74
| | | | | | | | | | | | | | | - Reword some sentences - Use .Cm for arguments - s/CAVEAT/CAVEATS/ Based on PR: docs/78174 Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com> Reviewed by: brueffer Approved by: emax (mentor) MFC after: 3 days Notes: svn path=/head/; revision=164240
* Properly htole16() PSM in sockaddr_l2capMaksim Yevmenkin2006-11-021-3/+3
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=163918
* - Add a 'verbose' switch -vMarkus Brueffer2006-10-313-2/+17
| | | | | | | | | | | - Only dump items that are being used for padding when being verbose. This brings bthidcontrol in line with the behaviour of usbhidctl(1). - Update the manpage accordingly Approved by: emax Notes: svn path=/head/; revision=163811
* - Grammar and typo fixesMarkus Brueffer2006-10-101-12/+11
| | | | | | | | | | | - Rewording of some sentences Reviewed by: brueffer Approved by: emax (mentor) MFC after: 3 days Notes: svn path=/head/; revision=163214
* Fix a typo introduced in the last commit: WWW Refresh is 0x227, not 0227Markus Brueffer2006-10-091-1/+1
| | | | | | | | Approved by: emax (mentor) MFC after: 1 day Notes: svn path=/head/; revision=163185
* Pacify new GCC4 warnings.Maksim Yevmenkin2006-09-213-4/+4
| | | | | | | | Submitted by: kan MFC after: 1 week Notes: svn path=/head/; revision=162529
* Get rid of extra const to pacify new GCC4 warnings.Maksim Yevmenkin2006-09-212-30/+30
| | | | | | | | Submitted by: kan MFC after: 1 week Notes: svn path=/head/; revision=162495
* Use socklen_t instead of int32_t where appropriate to pacify new GCC4Maksim Yevmenkin2006-09-215-7/+12
| | | | | | | | | | warnings. Submitted by: kan MFC after: 1 week Notes: svn path=/head/; revision=162494
* Temporarily put ugly workaround in place to make sparc64 build happy.Maksim Yevmenkin2006-09-081-12/+12
| | | | | | | panther is down at the moment, so better fix will follow later. Notes: svn path=/head/; revision=162157
* Update bthidd(8) code and hook it up to the build.Maksim Yevmenkin2006-09-0714-462/+642
| | | | | | | | | | | | | bthidd(8) now was integrated with vkbd(4) and supports multiple keyboards via vkbd(4)/kbdmux(4). The code was tested with Apple Bluetooth keyboard and SE k700i cell phone (remote control feature). MFC after: 1 month Notes: svn path=/head/; revision=162128
* - Only print a clarifying message about which HCI node has been used if thereMarkus Brueffer2006-06-021-4/+6
| | | | | | | | | | | is more than one HCI node present - Use errx(3) instead of err(3) if there is no HCI node present as errno is 0 in this case and the resulting error message wouldn't make much sense Approved by: emax (mentor) Notes: svn path=/head/; revision=159156
* - Document the new Read_Node_List command, autodetection of HCI nodes andMarkus Brueffer2006-05-221-8/+9
| | | | | | | | | | | | that the '-n' parameter is now optional - Grammar fixes Reviewed by: emax Approved by: emax MFC after: 1 week Notes: svn path=/head/; revision=158835
* - Add HCI node autodetection. As a consequence of this, make the '-n'Markus Brueffer2006-05-223-7/+89
| | | | | | | | | | | | | parameter optional. - Add Read_Node_List command which prints a list of available HCI nodes, their Netgraph IDs and connected hooks Reviewed by: emax Approved by: emax MFC after: 1 week Notes: svn path=/head/; revision=158834
* Fix formatting. Add missing break;Maksim Yevmenkin2006-05-141-2/+3
| | | | | | | | Submitted by: Iain Hibbert MFC after: 3 days Notes: svn path=/head/; revision=158579
* Properly map mouse buttonsMaksim Yevmenkin2006-03-211-1/+4
| | | | | | | | | PR: bin/94577 Submitted by: Krzysztof Jedruczyk < beaker at hot dot pl > MFC after: 3 days Notes: svn path=/head/; revision=156965
* Properly convert L2CAP PSM values in sockaddr_l2cap to LE16 byte order.Maksim Yevmenkin2006-03-163-4/+4
| | | | | | | | Noticed by: Iain Hibbert < plunky at rya-online dot net > MFC after: 3 days Notes: svn path=/head/; revision=156784
* Style: NO_MAN doesn't need any value.Ruslan Ermilov2006-03-151-1/+1
| | | | Notes: svn path=/head/; revision=156735
* Teach bthidd(8) to reload its config when SIGHUP is received.Maksim Yevmenkin2006-03-141-3/+27
| | | | | | | | Submitted by: Iain Hibbert < plunky at rya-online dot net > MFC after: 3 days Notes: svn path=/head/; revision=156713
* Fix typoMaksim Yevmenkin2006-03-131-1/+1
| | | | | | | | Submitted by: Iain Hibbert < plunky at rya-online dot net > MFC after: 3 days Notes: svn path=/head/; revision=156697
* - Use official version strings for LMP and HCI version reporting and addMarkus Brueffer2006-02-234-7/+42
| | | | | | | | | | | version strings up to Bluetooth 2.0 - Update manufacturer list Approved by: emax MFC after: 3 days Notes: svn path=/head/; revision=155964
* Fix scancode translation tableMarkus Brueffer2006-02-201-2/+3
| | | | | | | | Approved by: emax MFC after: 3 days Notes: svn path=/head/; revision=155858
* - Grammar fixesMarkus Brueffer2006-02-111-21/+21
| | | | | | | | | | - Reword one sentence Approved by: brueffer MFC after: 3 days Notes: svn path=/head/; revision=155541
* - Fix attribute id of HIDBatteryPowerMarkus Brueffer2006-02-101-5/+5
| | | | | | | | | - Fix two typos in comments Approved by: emax Notes: svn path=/head/; revision=155516
* Fix typo in rfcomm_pppd(8) man page.Maksim Yevmenkin2005-12-121-1/+1
| | | | | | | | Noticed by: Ronald Klop MFC after: 1 day Notes: svn path=/head/; revision=153331
* Teach sdpd(8) to check peer's credentials before accepting request toMaksim Yevmenkin2005-12-066-9/+55
| | | | | | | | | | | register, remove or change services in the local database. For now only accept the request if the peer has effective user ID the same as 'root' user ID. MFC after: 1 week Notes: svn path=/head/; revision=153176
* Fix typo in usage.Maksim Yevmenkin2005-09-011-1/+1
| | | | | | | | Submitted by: Jonatan B < onatan at gmail dot com > MFC after: 3 days Notes: svn path=/head/; revision=149698
* Fix all the spelling mistakes I could find in the man pages for wordsGiorgos Keramidas2005-07-312-5/+5
| | | | | | | | | | | that have at least 3 characters. MFC after: 1 week Thanks to: Music band ``Chingon'' for keeping me company while searching for these. Notes: svn path=/head/; revision=148580
* - Grammar fixesMarkus Brueffer2005-07-091-12/+12
| | | | | | | | | | - s/spdcontrol/sdpcontrol/ Approved by: re (hrs, rwatson), brueffer MFC after: 3 days Notes: svn path=/head/; revision=147869
* Do not tread 128-bit UUID as int128. Provide separate macros to get/putMaksim Yevmenkin2005-05-271-27/+36
| | | | | | | | | 128-bit UUID libsdp(3). Fix 128-bit UUID printing in sdpcontrol(8). MFC after: 3 days Notes: svn path=/head/; revision=146691
* Fix problem with session termination. bthidd(8) maintains two L2CAPMaksim Yevmenkin2005-05-182-3/+4
| | | | | | | | | | | | | | | | | | | connections to Bluetooth HID device. As soon as Bluetooth HID device is powered off (or goes out of RF range) the stack will terminate both connections. File descriptors for both connections will become active on next select(2) call. Because bthidd(8) processes file descriptors in order, it will detect descriptor for one of the closed connections first and kill the session. However, there is still a second (active) descriptor that used to point to the same session. bthidd(8) used to assert() if it cant find session by file descriptor, which was wrong. While I'm here fix a couple of typos in parser.y Reported by: Eric Anderson anderson AT centtech DOT com MFC after: 3 days Notes: svn path=/head/; revision=146357
* Let bsd.prog.mk set SRCS and MAN to their default values.Ruslan Ermilov2005-01-284-4/+0
| | | | Notes: svn path=/head/; revision=140941
* Sort sections.Ruslan Ermilov2005-01-188-26/+26
| | | | Notes: svn path=/head/; revision=140442