From: "Andrea Galbusera" <gizero@gmail.com>
To: Bluez-users@lists.sourceforge.net
Subject: [Bluez-users] concurrent calls to RFCOMM connect()
Date: Wed, 17 Oct 2007 09:33:14 +0200 [thread overview]
Message-ID: <f8e53fb0710170033u2b451d7ft34cad156e0828a49@mail.gmail.com> (raw)
Hi all,
I'm planning to write an application handling communication with four
bluetooth devices, each with its own BT address. I was thinking to
design it with four parallel threads and use rfcomm sockets API.
The common thread function will start connecting to the appropriate
remote device by allocating a socket and calling connect(). Do I have
to consider any particular syncronization issue between the threads?
Is this approach reasonable or not?
I found posts in the archives about connect() returning EBUSY. This
has to be an error code specific to RFCOMM sockets. When is it
supposed to be raised? Is it something I have to take into account in
my scenario?
TIA
Andrea
-------------------------------------------------------------------------
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
next reply other threads:[~2007-10-17 7:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-17 7:33 Andrea Galbusera [this message]
2007-10-17 14:20 ` [Bluez-users] concurrent calls to RFCOMM connect() Marcel Holtmann
2007-10-18 6:39 ` Andrea Galbusera
2007-11-25 15:54 ` Andrea Galbusera
2007-11-26 5:36 ` Marcel Holtmann
2007-11-27 8:03 ` Andrea Galbusera
2007-11-27 8:29 ` Marcel Holtmann
2007-11-27 8:37 ` Marco Pracucci
2007-11-27 8:43 ` Marcel Holtmann
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=f8e53fb0710170033u2b451d7ft34cad156e0828a49@mail.gmail.com \
--to=gizero@gmail.com \
--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