From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: References: <490FCEFE.50302@slackdot.org> <20081104132403.GA22659@localhost> <49107496.9030409@slackdot.org> <4910B2CE.5000500@slackdot.org> Date: Fri, 7 Nov 2008 09:36:12 -0800 (PST) From: Ramesh Jayapal To: BlueZ development MIME-Version: 1.0 Message-ID: <364707.91691.qm@web45014.mail.sp1.yahoo.com> Subject: [Bluez-devel] Need Help. Plz reply. Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============8863027628318325424==" Errors-To: bluez-devel-bounces@lists.sourceforge.net --===============8863027628318325424== Content-Type: multipart/alternative; boundary="0-1274515234-1226079372=:91691" --0-1274515234-1226079372=:91691 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi All,=0A=0A Sorry for interrupting in this mail list.=0A=0A = But i am really tired on searching the answer for my questions.=0A=0A = I am trying to develop new applications in Bluetooth (in Bluez).=0A=0A = i couldn't find any materials how to start it. (i didn't mean how to = write the program ans new concepts)=0A=0A i need the initial configu= ration to been done before writing the application.=0A=0A 1. Need to= know which are the packages need to install.=0A 2. how to access th= e inbuild api's. (need to clarify i can use the installed stack api's (run = time libraries) or to include the source code api's and compile the source = while compiling my application code).=0A 3. is there any Environment= variables need to be set.=0A 4. How to compile is there any runtime= libraries need to be included?=0A=0A If i get any documents / source co= de (say for SDP only) and how to compile and test is is very useful for me.= =0A=0Aawaiting for the response.=0A=0AThanks in advance,=0Amerameshj=0A=0A= =0A Yahoo! Toolbar is now powered with Search Assist.Download it now!= =0Ahttp://sg.toolbar.yahoo.com/ --0-1274515234-1226079372=:91691 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hi All,

        Sorry for= interrupting in this mail list.

      &nbs= p; But i am really tired on searching the answer for my questions.

&= nbsp;       I am trying to develop new application= s in Bluetooth (in Bluez).

        i c= ouldn't find any materials how to start it. (i didn't mean how to write the= program ans new concepts)

        i n= eed the initial configuration to been done before writing the application.<= br>
      &n= bsp; 1. Need to know which are the packages need to install.
  &nb= sp;     2. how to access the inbuild api's. (need to clarify i = can use the installed stack api's (run time libraries) or to include the so= urce code api's and compile the source while compiling my application code)= ..
        3. is there any Environment variable= s need to be set.
        4. How to compile is= there any runtime libraries need to be included?

    If = i get any documents / source code (say for SDP only) and how to compile and= test is is very useful for me.

= awaiting for the response.

Thanks in advance,
merameshj


=0A
Get your new Email address!
=0AGrab the Email name you've al= ways wanted before someone else does! --0-1274515234-1226079372=:91691-- --===============8863027628318325424== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ --===============8863027628318325424== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel --===============8863027628318325424==-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <4910B2CE.5000500@slackdot.org> Date: Tue, 04 Nov 2008 15:38:38 -0500 From: deker MIME-Version: 1.0 To: BlueZ development References: <490FCEFE.50302@slackdot.org> <20081104132403.GA22659@localhost> <49107496.9030409@slackdot.org> In-Reply-To: <49107496.9030409@slackdot.org> Subject: Re: [Bluez-devel] Multiple simultaneous audio streams? Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Errors-To: bluez-devel-bounces@lists.sourceforge.net Oops. I forgot to mention that this is with BlueZ 4.13. -d deker wrote: > I've changed the MaxConnections setting and now I'm seeing something > different (this must mean I'm getting closer :) > > I'm using the following config/comandline to play audio: > > audio.conf: > [General] > SCORouting=PCM > [Headset] > HFP=False > MaxConnections=2 > > ~/.asoundrc: > > pcm.bluetooth { > type bluetooth > device 00:0B:2E:D5:27:DA > profile auto > } > pcm.bluetooth2 { > type bluetooth > device 00:0B:2E:D4:EC:31 > profile auto > } > > mplayer command lines: > > mplayer -ao alsa:device=bluetooth test.wav > mplayer -ao alsa:device=bluetooth2 test.wav > > Either execution of mplayer works properly as long as the other isn't > streaming to the device. If one is already running, mplayer reports the > following: > > [AO_ALSA] alsa-lib: pcm_bluetooth.c:464:(bluetooth_hsp_hw_params) > BT_SETCONFIGURATION failed : Input/output error(5) > [AO_ALSA] Unable to set hw-parameters: Input/output error > Could not open/initialize audio device -> no sound. > Audio: no sound > Video: no video > > > Exiting... (End of file) > > Also, it seems that I'm losing the beginning of the sample in playback. > I assume this is due to the delay of setting up the connection to the > headset, but I was wondering if there was a way to avoid this. > > Thanks, > > -d > > > > > Johan Hedberg wrote: > >> On Mon, Nov 03, 2008, deker wrote: >> >> >>> I am working on a project where it would be desirable to have audio >>> streams going to more than one SCO audio device at a time. My quick test >>> today of playing a WAV file with mplayer to two different devices didn't >>> work and bluetoothd was reporting "connection refused" when I tried to >>> get the second stream going. Once the first playback finished, I was >>> able to then play to the second device. >>> >>> So, I suppose m question is if BlueZ supports audio to multiple SCO >>> devices at the same time? If not, what might be involved in making it work? >>> >>> >> If you're using BlueZ 4.17 or later you'll need to add something like >> MaxConnections=2 >> to the [Headset] section in /etc/bluetooth/audio.conf to be able to >> create a service level connection to more than 1 device. >> >> Johan >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Bluez-devel mailing list >> Bluez-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/bluez-devel >> >> > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Bluez-devel mailing list > Bluez-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bluez-devel > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <49107496.9030409@slackdot.org> Date: Tue, 04 Nov 2008 11:13:10 -0500 From: deker MIME-Version: 1.0 To: BlueZ development References: <490FCEFE.50302@slackdot.org> <20081104132403.GA22659@localhost> In-Reply-To: <20081104132403.GA22659@localhost> Subject: Re: [Bluez-devel] Multiple simultaneous audio streams? Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Errors-To: bluez-devel-bounces@lists.sourceforge.net I've changed the MaxConnections setting and now I'm seeing something different (this must mean I'm getting closer :) I'm using the following config/comandline to play audio: audio.conf: [General] SCORouting=PCM [Headset] HFP=False MaxConnections=2 ~/.asoundrc: pcm.bluetooth { type bluetooth device 00:0B:2E:D5:27:DA profile auto } pcm.bluetooth2 { type bluetooth device 00:0B:2E:D4:EC:31 profile auto } mplayer command lines: mplayer -ao alsa:device=bluetooth test.wav mplayer -ao alsa:device=bluetooth2 test.wav Either execution of mplayer works properly as long as the other isn't streaming to the device. If one is already running, mplayer reports the following: [AO_ALSA] alsa-lib: pcm_bluetooth.c:464:(bluetooth_hsp_hw_params) BT_SETCONFIGURATION failed : Input/output error(5) [AO_ALSA] Unable to set hw-parameters: Input/output error Could not open/initialize audio device -> no sound. Audio: no sound Video: no video Exiting... (End of file) Also, it seems that I'm losing the beginning of the sample in playback. I assume this is due to the delay of setting up the connection to the headset, but I was wondering if there was a way to avoid this. Thanks, -d Johan Hedberg wrote: > On Mon, Nov 03, 2008, deker wrote: > >> I am working on a project where it would be desirable to have audio >> streams going to more than one SCO audio device at a time. My quick test >> today of playing a WAV file with mplayer to two different devices didn't >> work and bluetoothd was reporting "connection refused" when I tried to >> get the second stream going. Once the first playback finished, I was >> able to then play to the second device. >> >> So, I suppose m question is if BlueZ supports audio to multiple SCO >> devices at the same time? If not, what might be involved in making it work? >> > > If you're using BlueZ 4.17 or later you'll need to add something like > MaxConnections=2 > to the [Headset] section in /etc/bluetooth/audio.conf to be able to > create a service level connection to more than 1 device. > > Johan > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Bluez-devel mailing list > Bluez-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bluez-devel > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 4 Nov 2008 15:24:03 +0200 From: Johan Hedberg To: BlueZ development Message-ID: <20081104132403.GA22659@localhost> References: <490FCEFE.50302@slackdot.org> MIME-Version: 1.0 In-Reply-To: <490FCEFE.50302@slackdot.org> Subject: Re: [Bluez-devel] Multiple simultaneous audio streams? Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Errors-To: bluez-devel-bounces@lists.sourceforge.net On Mon, Nov 03, 2008, deker wrote: > I am working on a project where it would be desirable to have audio > streams going to more than one SCO audio device at a time. My quick test > today of playing a WAV file with mplayer to two different devices didn't > work and bluetoothd was reporting "connection refused" when I tried to > get the second stream going. Once the first playback finished, I was > able to then play to the second device. > > So, I suppose m question is if BlueZ supports audio to multiple SCO > devices at the same time? If not, what might be involved in making it work? If you're using BlueZ 4.17 or later you'll need to add something like MaxConnections=2 to the [Headset] section in /etc/bluetooth/audio.conf to be able to create a service level connection to more than 1 device. Johan ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <49104A5D.1030105@slackdot.org> Date: Tue, 04 Nov 2008 08:13:01 -0500 From: deker MIME-Version: 1.0 To: BlueZ development References: <490FCEFE.50302@slackdot.org> <36FF1F3A-27F8-4681-B70A-7CB81A295D86@holtmann.org> In-Reply-To: <36FF1F3A-27F8-4681-B70A-7CB81A295D86@holtmann.org> Subject: Re: [Bluez-devel] Multiple simultaneous audio streams? Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Errors-To: bluez-devel-bounces@lists.sourceforge.net Speech quality is all we need. If I can get 2 8Khz output streams going to 2 devices and 1 8Khz input stream from one device I'll be happy. If somebody can point me in the right direction I'd really appreciate it. Thanks, -d Marcel Holtmann wrote: > Hi, > > >> I am working on a project where it would be desirable to have audio >> streams going to more than one SCO audio device at a time. My quick >> test >> today of playing a WAV file with mplayer to two different devices >> didn't >> work and bluetoothd was reporting "connection refused" when I tried to >> get the second stream going. Once the first playback finished, I was >> able to then play to the second device. >> >> So, I suppose m question is if BlueZ supports audio to multiple SCO >> devices at the same time? If not, what might be involved in making >> it work? >> > > do you wanna do speech quality or CD quality audio streaming? > > And yes, BlueZ does support it, but there are limitations from the > Bluetooth radio. So you really need to know what you wanna do. > > Regards > > Marcel > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Bluez-devel mailing list > Bluez-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bluez-devel > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-Id: <36FF1F3A-27F8-4681-B70A-7CB81A295D86@holtmann.org> From: Marcel Holtmann To: BlueZ development In-Reply-To: <490FCEFE.50302@slackdot.org> Mime-Version: 1.0 (Apple Message framework v929.2) Date: Tue, 4 Nov 2008 06:12:23 +0100 References: <490FCEFE.50302@slackdot.org> Subject: Re: [Bluez-devel] Multiple simultaneous audio streams? Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Errors-To: bluez-devel-bounces@lists.sourceforge.net Hi, > I am working on a project where it would be desirable to have audio > streams going to more than one SCO audio device at a time. My quick > test > today of playing a WAV file with mplayer to two different devices > didn't > work and bluetoothd was reporting "connection refused" when I tried to > get the second stream going. Once the first playback finished, I was > able to then play to the second device. > > So, I suppose m question is if BlueZ supports audio to multiple SCO > devices at the same time? If not, what might be involved in making > it work? do you wanna do speech quality or CD quality audio streaming? And yes, BlueZ does support it, but there are limitations from the Bluetooth radio. So you really need to know what you wanna do. Regards Marcel ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <490FCEFE.50302@slackdot.org> Date: Mon, 03 Nov 2008 23:26:38 -0500 From: deker MIME-Version: 1.0 To: BlueZ development Subject: [Bluez-devel] Multiple simultaneous audio streams? Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Errors-To: bluez-devel-bounces@lists.sourceforge.net Hi, I am working on a project where it would be desirable to have audio streams going to more than one SCO audio device at a time. My quick test today of playing a WAV file with mplayer to two different devices didn't work and bluetoothd was reporting "connection refused" when I tried to get the second stream going. Once the first playback finished, I was able to then play to the second device. So, I suppose m question is if BlueZ supports audio to multiple SCO devices at the same time? If not, what might be involved in making it work? Thanks, -d ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel