public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Help needed for setting up multiple connection	using single bluetooth adapter
Date: Mon, 19 Feb 2007 11:45:36 +0100	[thread overview]
Message-ID: <1171881936.26567.14.camel@violet> (raw)
In-Reply-To: <57c68ddc0702190128n149fa456if5bc854aca1574a0@mail.gmail.com>

Hi Siddhant,

>    I have already posted few mails regarding before ,also tried
> different things at my end  , but things didnt went anywhere. Now
> setting up and using this feature has become a necessity for my
> project so i would be making more effort from now on. 
> 
> The first question that i have is  ---- What is the procedure for
> doing such a thing , till now what i have tried can be summarized as
> below :- 
> 
> i) Fork two different processes. 
> 
> ii) For each process establish RFCOMM connection via socket call.
> 
> iii) For each RFCOMM port perform OBEX_PUSH by registering a custom
> protocol.
> 
> The above method works fine for single process but when in multiply
> process mode few unexpected things happen which are :- 
> 
> i) Sometimes one process waits for the other to get completed.
> ii) One of the processes errors out.

first of all run "hcidump -X -V" to see what actually happens with the
Bluetooth adapter and second, you have to get the forking and process
handling right. Otherwise you better use an event loop.

Regards

Marcel



-------------------------------------------------------------------------
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-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

      reply	other threads:[~2007-02-19 10:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-19  9:28 [Bluez-users] Help needed for setting up multiple connection using single bluetooth adapter siddhant tewari
2007-02-19 10:45 ` Marcel Holtmann [this message]

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=1171881936.26567.14.camel@violet \
    --to=marcel@holtmann.org \
    --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