Bluetooth Headset or Handsfree profile

Loren M. Lang lorenl at alzatex.com
Fri Jul 29 09:27:04 GMT 2005


Sorry for the delayed reply, this email was temporarily lost in the
shuffle.

On Mon, Jul 18, 2005 at 08:39:31PM -0700, Maksim Yevmenkin wrote:
> Loren,
> 
> >Has any work been done yet on implementing the Bluetooth Headset or
> >Handsfree profiles in FreeBSD?  I'd be quite interesting in helping to
> >develop it.  If I don't get any responces for a week, I might just start
> >working on it from scratch.  I believe the Headset profile is simplier,
> >though it supports less features so I might start with that one.
> 
> i have the sco support code in my local cvs. so far i managed to receive 
> audio data from my plantronics m2500 headset with 3com usb bluetooth 
> dongle. i will give it a little bit more polishing and testing and then 
>  commit it to -current. it probably would not make it to the 6.0 release.

I purchased a motorola hs805 bt headset for use with my nokia 6230 bt
cellphone.  I also have a linksys bt adapter for my fbsd box.

> 
> what exactly are you planning to implement and how exactly would you use 
> headset and handsfree profiles on freebsd?

The most interesting application I can think of it speech reconizition
for a bt headset, similar to what my cellphone already does.  I'd like
to hook sphinz up to it so I can control various external devices though
my computer with my voice.  Listening to mp3's or using it for
voice/video conferencing could be interesting too, though my headset has
limited quality for audio.

Both my cellphone and bt headset support both handsfree and headset so I
have a lot of combinations I can play with.

My understanding of these protocols is that headset/handsfree are a
high-level protocol that work on top of l2cap/sdp/rfcomm/sco and
therefore can be developed in userspace to start with.  The one part
that needs to be developed in the kernel is the sco transport upon which
various audio and video bt protocols like handsfree are built upon.
Once that is finished, the handsfree protocol can then be developed as a
daemon running in userspace.  Without sco, I should still be able to
implement part of the headset/handfree profiles that deal with the
various controls they use like the redial button.  I'm thinking I might
start with this to just get a better understanding of the api neccessary
for using bt in fbsd.

Also, I would be interested in helping with the sco transport layer as
well, though I think that means I'll need to be running -current,
correct?

Is the cvs repository visible on the internet anywhere?

> 
> >Also, I saw a mention that one reason FreeBSD doesn't support bluetooth
> >audio yet is because the USB subsystem can't do isosynchronous transfers
> >yet.  Is this true?
> 
> i never said freebsd can not do it. what i said is that i did not know 
> how to do it. fortunately, i figured it all out. it is not very obvious, 
> but after playing with it for awhile i managed to teach ng_ubt(4) to 
> receive sco frames via isochronous transfers.

Sorry, I mis-read it.

> 
> thanks,
> max
> 

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: CEE1 AAE2 F66C 59B5 34CA  C415 6D35 E847 0118 A3D2
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-bluetooth/attachments/20050729/ce3f386f/attachment.bin


More information about the freebsd-bluetooth mailing list