public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Receiving multiple (>2) incoming rfcomm connections?
Date: Mon, 17 Jan 2005 12:23:14 +0100	[thread overview]
Message-ID: <1105960994.8080.32.camel@pegasus> (raw)
In-Reply-To: <41EB8C5C.2090708@cc.hut.fi>

Hi Hege,

> I'm trying to create a simple application that receives incoming rfcomm 
> connections from Nokia Series60 phones and listens for incoming data.
> 
> This is how I'm doing it currently:
> 
> for (i = 1...n) {
>    Listen on channel 1, rfcomm port i (rfcomm listen i)
>    Wait until incoming connection received
>    Start a new thread that handles incoming data on /dev/rfcomm<i>
> }
> 
> 
> For one or two connections, it works ok. However, when I try to connect 
> a third device, nothing happens. Nothing shows up even on hcidump when I 
> try to connect the third phone. On the phone I receive error 
> EPageTimedOut(-6004), which according to my friend means that the phone 
> could not get any kind of connection.

your device must become master of the piconet and the phones should
support the role switch.

> -Conceptronic USB BT (CSR)

What does "hciconfig -a" say?

> -Various Nokia phones (6630, 6600, Ngage, 3650)

Check "hcitool info ..." for these phones.

Regards

Marcel




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2005-01-17 11:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-17  9:58 [Bluez-users] Receiving multiple (>2) incoming rfcomm connections? Heikki Vuolteenaho
2005-01-17 11:23 ` Marcel Holtmann [this message]
2005-01-18  9:26   ` Heikki Vuolteenaho
2005-01-19  9:06     ` Heikki Vuolteenaho

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=1105960994.8080.32.camel@pegasus \
    --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