public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Irakli Tsagareli <itsagareli@yandex.ru>
To: bluez-users@lists.sourceforge.net
Subject: [Bluez-users] simultaneous read/write on SCO channel
Date: Thu, 26 Jul 2007 16:40:10 +0400	[thread overview]
Message-ID: <46A8962A.2010207@yandex.ru> (raw)

Hi all,

I'm writing a small code to test HandsFree capabilities between my phone 
and PC. everything works fine for audio playback (on the PC, I can hear 
sound file played on the phone and in case of incoming call, I can hear 
a voice of remote subscriber) but when I try at the same time to send 
some audio data to the handset via same socket, send() function returns 
"Invalid argument" error. I tried to create new socket for writing (same 
way I created listening socket), creation succeeds, but connect fails 
with "Device or resource busy". can anybody be so kind and explain, how 
can I read and write data through SCO channel simultaneously ?

thank you and best regards,
kern.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

                 reply	other threads:[~2007-07-26 12:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=46A8962A.2010207@yandex.ru \
    --to=itsagareli@yandex.ru \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox