Return-Path: Message-ID: From: "Sowmya Gattupalli" To: bluez-devel@lists.sourceforge.net Subject: Re: Re: [Bluez-devel] SCO transparent transmission In-Reply-To: <9ec07a230604060110s7fa9c5fax46562d4fb0397543@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3817_27209309.1144328087584" References: <9ec07a230604060110s7fa9c5fax46562d4fb0397543@mail.gmail.com> Sender: bluez-devel-admin@lists.sourceforge.net Errors-To: bluez-devel-admin@lists.sourceforge.net Reply-To: bluez-devel@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ development List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu, 6 Apr 2006 18:24:47 +0530 ------=_Part_3817_27209309.1144328087584 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline HI.... How do i change it to PCM using hciconfig ?? I think as you said the defaul= t is CVSD... how can I change the voice setting from CVSD to PCM?? regards Soumya On 4/6/06, Israel Gu=EDo wrote: > > Hi Sowmya. > > I don't use /dev/dsp to get audio samples. I use ALSA project library and > it works (I suggest you should look for code samples about it, specially > those regarding to headsets). > > CVSD is the default on-the-air coding for SCO packets but you can change > it by means of "hciconfig". > > For SCO transmission, just open a socket as in scotest.c(bluez-utils/test= ) and use write and read on it. > > There is no documentation about BlueZ and, if you want to use it, you mus= t > read and undestand the code. > > Bye! > > > > >Hey Israel, > >How did u use CVSD when transmitting over sco?? U mean u used some sort > of > >function to convert the voice you input from /dev/dsp into CVSD codec?? > >Can u also throw some light on CVSD and SCO... I mean how are u > transmittin=3D > >g > > >the packets over SCO?? > > >Soumya > ------=_Part_3817_27209309.1144328087584 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline HI....
How do i change it to PCM using hciconfig ?? I think as you said= the default is CVSD... how can I change the voice setting from CVSD to PCM= ??

regards
Soumya

On 4/6= /06,=20 Israel Gu=EDo <israzar@gmail.com> wrote:
Hi Sowmya.
 
I don't use /dev/dsp to get audio samples. I use ALSA project library = and it works (I suggest you should look for code samples about it, speciall= y those regarding to headsets).
 
CVSD is the default on-the-air coding for SCO packets but you can chan= ge it by means of "hciconfig".
 
For SCO transmission, just open a socket as in scotest.c (bluez-utils/= test) and use write and read on it.
 
There is no documentation about BlueZ and, if you want to use it, you = must read and undestand the code.
 
Bye!
 
 
 
>Hey Israel,=
>How did u use CVSD when transmitting over sco?? U mean u used some = sort of
>function to convert the voice you input from /dev/dsp into C= VSD codec??
>Can u also throw some l= ight on CVSD and SCO... I mean how are u transmittin=3D
>g

>the= packets over SCO??

>Soumya

------=_Part_3817_27209309.1144328087584-- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel