All of lore.kernel.org
 help / color / mirror / Atom feed
From: sjok1 <sjok1@student.cs.ucc.ie>
To: bluez-users@lists.sourceforge.net
Subject: [Bluez-users] SCO Connection
Date: Tue, 16 Mar 2004 17:58:26 +0000	[thread overview]
Message-ID: <40573809@webmail.ucc.ie> (raw)

Hi,

I'm writing an application that emulates a BT Headset and I'm using a Siemens 
S55 and a Sitecom USB BT Adapter.  What I'm doing is the following:
Send a dial command to the phone to dial a number
Send an AT+CKPD=200 to the phone to request an audio link
Create a socket to listen for the SCO conncetion
Accept the connection when it arrives.

My problem is that after I accept the SCO connection no data is transmitted 
along the connection.  The phone recognises that a "headset" is in use, but if 
I try to read from the connection I just get -1 returned as the num of bytes 
read.

I checked my hciconfig revision and it shows that the SCO mapping is set to 
HCI.

Do I need to acknowledge the connection after I accept it?  Is the phone 
waiting for some "ready to receive" message or something?


Thanks.

Steven




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

             reply	other threads:[~2004-03-16 17:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-16 17:58 sjok1 [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-12-29 14:57 [Bluez-users] SCO connection Christian Gebhard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40573809@webmail.ucc.ie \
    --to=sjok1@student.cs.ucc.ie \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.