Date: Wed, 08 Oct 2008 19:00:34 +0400 From: Vladimir Grebenschikov <vova@fbsd.ru> To: Maksim Yevmenkin <maksim.yevmenkin@gmail.com> Cc: freebsd-bluetooth@freebsd.org Subject: Re: Bluetooth audio (once again) Message-ID: <1223478034.1864.65.camel@localhost> In-Reply-To: <bb4a86c70810070913g177edac5n14aab1b62cc61f86@mail.gmail.com> References: <3a386af20809261420j535680e8pf44453dbf6f84b20@mail.gmail.com> <bb4a86c70809261504v45ffe1a8oaf26670a1032e86c@mail.gmail.com> <1223034512.1842.111.camel@localhost> <bb4a86c70810030945g3d870a1eqacc85233d9698a66@mail.gmail.com> <1223106788.4832.25.camel@localhost> <bb4a86c70810070913g177edac5n14aab1b62cc61f86@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2008-10-07 at 09:13 -0700, Maksim Yevmenkin wrote: > > > ok.be warned, you will need to write some code for that. its > > > relatively simple. basically open an rfcomm socket and then open a sco > > > socket. i can provide examples if you want me to. > > > > Please, send me an example if you have. > > attached Thank you, I've played a bit with it. So far I was able to establish connection to channel 1 or 2 of my headset (Headset and advanced audio). Both connections (rfcomm and sco) are opened, headset sends zeros through sco connection and does some AT-chat on rfcomm. Looks like I need to implement chat to make headset to work. Then I dig a bit into bluez sources, and found two things - first, looks like we will need to use/re-implement big part of bluez/audio sub-directory to get full-functional audio to work under freebsd. Second, I've found that bluez uses almost same structures and calls to interact with kernel. Probably it worth to try port bluez (or part of bluez related to sound) to freebsd instead of re-writing whole beast ? What do you think ? PS. I spend only about half an our to make whole bluez to compile under freebsd (except network bridging and alsa). but not even tried to start it, though. > thanks, > max -- Vladimir B. Grebenschikov vova@fbsd.ru
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1223478034.1864.65.camel>