Return-Path: Message-ID: <455C5F6B.9060700@free.fr> Date: Thu, 16 Nov 2006 13:54:03 +0100 From: Fabien Chevalier MIME-Version: 1.0 To: BlueZ development References: <002601c70966$bc1d4ee0$9d0cc70a@dlh.st.com> <455C44A4.8070604@free.fr> <1163675396.5169.42.camel@localhost> In-Reply-To: <1163675396.5169.42.camel@localhost> Subject: Re: [Bluez-devel] Can I create an eSCO connection using BlueZ? 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" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net Marcel Holtmann wrote: > Hi Fabien, > >>> Is there any method with which I can create an eSCO connection using the BlueZ stack? >>> I mean, if I create a socket in the following manner: >>> int s; >>> s = socket(PF_BLUETOOTH, SOCK_SEQPACKET, BTPROTO_SCO); >>> >>> then the command sent will be "Add Sco Connection". >>> >>> But the problem is that my device (BT2.0)does not support this command as it has been deprecated since v1.2. >>> My device supports only "Setup Synchronous Command". >>> >> Interesting : Could you tell me which is the device in your case that >> does not support the BT 1.2 anymore ? Is it the host controller or the >> headset ? > > it can only be the dongle and the "Add SCO Connection" command has > already been deprecated with the Bluetooth 1.2 specification. However > most dongles still support it for backward compatibility. > Thanks for your answers guys :-) I guess then it's just a matter of checking if this feature is supported in the features bitmask, and send "Setup Synchronous Command" instead of "Add SCO Connection" if this is the case. It shouldn't be too complicated to hack bluez to support this... Cheers, Fabien ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel