posted to this is not a weblog
on sep 27th, 2006

tagged bluetooth, nerd, openbsd, ruby
and commented on once

share this page

netbsd got a new bluetooth framework a few months ago that i've been working on porting to openbsd. it seems to be fairly complete with support for keyboards, mice, ppp over rfcomm, etc. it even has support for audio to/from bluetooth headsets. best of all, it isn't polluted with netgraph crap from freebsd so the porting is not very complicated (at least it hasn't been so far). if anyone knows of any existing porting efforts that i'm not aware of, please let me know.

there are the usual netbsd-to-openbsd changes like converting callout's to timeout's, adjusting #includes and adding some macros to various header files that openbsd doesn't have, like sys/mbuf.h. i'm not really sure why there was the need to create a whole new set of queue macros just for the development of this bluetooth stack. i've been making all of the new kernel files compile one by one so i'm not sure if any of it even works yet since the kernel hasn't made it all the way through. once all of that works i'll do the few userland utilities for pin management and scanning.

i've also been working on porting pingar to ruby and expanding it quite a bit. i added service monitoring to its perl version a while back and the code was getting out of hand and was ripe for moving into an object-oriented language, so i scrapped it and started the ruby version.

i probably should not be spending so much time on these projects but hey, business is slow.

one comment

Forth (authentic) on september 29th, 2006 at 03:22:33:

Great !
Does this mean we would be able to use eg bluetooth headset with Asterisk ?


leave your comment or contact me

if you want to be able to mark your comment as authentic or delete it later, include your e-mail address (it won't be shown on the site). you'll be e-mailed instructions with a copy of your comment.

basic html allowed; be nice
required


optional


optional