From: David Rehle <rehle@tfh-berlin.de>
To: bluez-users@lists.sourceforge.net
Subject: [Bluez-users] can't etablish more than two connections
Date: Fri, 21 Sep 2007 10:34:17 +0200 [thread overview]
Message-ID: <46F38209.1050507@tfh-berlin.de> (raw)
Hi all,
depending on my previous post on bluez-devel list, i want to tell same
issue with more informations.
i can not establish more than two clientconnections with my bluetooth
server. I use sockets in C. Server allocates a socket, bind(), listen()
and accepts incomming client-requests in a loop.
I tried both, rfcomm and l2cap. But the third client always gets a "Host
is down" error during connect();
First i used only one rfcomm port 1, where two connections can be
established.
Next i tried to build two sockets with different rfcomm channels, but it
fails with same error.
After that i built two server-apps with different rfcomm channels with
same error.
I do not understand why there can be two connections on only one rfcomm
port (or l2cap psm) established. It is not clear to me, why there can
connect two clients on one rfcomm-channel 1 and not only one client, or
more than two??? (same for l2cap)
I am using bluez-libs and utils version 3.9 on ubuntu linux (feisty fawn).
hciconfing -a tells me the following:
hci0: Type: USB
BD Address: myBDaddress ACL MTU: 384:8 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:1842 acl:55 sco:0 events:103 errors:0
TX bytes:1307 acl:53 sco:0 commands:24 errors:0
Features: 0xff 0xff 0x8f 0xfe 0x9b 0xf9 0x00 0x80
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy:
Link mode: SLAVE ACCEPT
Name: 'myPCname'
Class: 0x000000
Service Classes: Unspecified
Device Class: Miscellaneous,
HCI Ver: 2.0 (0x3) HCI Rev: 0x7a6 LMP Ver: 2.0 (0x3) LMP
Subver: 0x7a6
Manufacturer: Cambridge Silicon Radio (10)
i tried another USB-BT device with samme issue, where hciconfig -a told
me the following:
hci0: Type: USB
BD Address: myBDaddress ACL MTU: 384:8 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:15077 acl:139 sco:0 events:424 errors:0
TX bytes:3337 acl:129 sco:0 commands:120 errors:0
Features: 0xff 0xff 0x9f 0xfe 0x9b 0xf9 0x00 0x80
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'myPCname'
Class: 0x3e0100
Service Classes: Networking, Rendering, Capturing, Object
Transfer, Audio
Device Class: Computer, Uncategorized
HCI Ver: 2.0 (0x3) HCI Rev: 0x976 LMP Ver: 2.0 (0x3) LMP
Subver: 0x976
Manufacturer: Cambridge Silicon Radio (10)
I called the manufacturer to ask him if his hardware supports only two
connections, but he told me that it has to be possible to connect seven
devices, like bluetooth specification says.
Does somebody got same issues?
Has anybody an idea why only two connections can be established?
Thank you for any suggestions.
with kind regards
David
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next reply other threads:[~2007-09-21 8:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-21 8:34 David Rehle [this message]
2007-09-21 17:57 ` [Bluez-users] can't etablish more than two connections Brad Midgley
2007-09-22 0:30 ` Marcel Holtmann
2007-09-23 22:55 ` Brad Midgley
2007-09-24 7:09 ` David Rehle
2007-09-24 7:12 ` Marcel Holtmann
2007-09-24 15:52 ` David Rehle
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=46F38209.1050507@tfh-berlin.de \
--to=rehle@tfh-berlin.de \
--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