* [Bluez-devel] problems with connect()
@ 2004-01-08 16:16 Christian Hennrich
2004-01-08 17:35 ` Marcel Holtmann
0 siblings, 1 reply; 4+ messages in thread
From: Christian Hennrich @ 2004-01-08 16:16 UTC (permalink / raw)
To: bluez-devel
Hi,
I'm working on a programm which uses sdp to connect only to PANU,
creating l2cap and bnep connections. First i start the master, that
inquires and then connects to the discovered devices (using sdp), that
are started as slaves. 2 slaves are connected(with one L2cap and one
Bnep for each slave). this works very fine. then i want to connect the
third and so on... but there is the problem: the third one can't connect
with sdp on or off. the connect(socket) command fails with the error:
Connect failed. Function not implemented(38).
on the slave machine is only one program started. i tried around with
different dongles, but they are not the problem. what is wrong? has
anybody some idea? i don't use fork. the sockets that are created(have
all different numbers(increasing)). is there any limitation of creating
sockets or something like this.
i think the problem is the master, because on the clients there are only
2 sockets created. i only have one dongle per pc.
regards Christian
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bluez-devel] problems with connect()
2004-01-08 16:16 [Bluez-devel] problems with connect() Christian Hennrich
@ 2004-01-08 17:35 ` Marcel Holtmann
2004-01-09 14:04 ` Christian Hennrich
0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2004-01-08 17:35 UTC (permalink / raw)
To: Christian Hennrich; +Cc: BlueZ Mailing List
Hi Christian,
> I'm working on a programm which uses sdp to connect only to PANU,
> creating l2cap and bnep connections. First i start the master, that
> inquires and then connects to the discovered devices (using sdp), that
> are started as slaves. 2 slaves are connected(with one L2cap and one
> Bnep for each slave). this works very fine. then i want to connect the
> third and so on... but there is the problem: the third one can't connect
> with sdp on or off. the connect(socket) command fails with the error:
>
> Connect failed. Function not implemented(38).
>
> on the slave machine is only one program started. i tried around with
> different dongles, but they are not the problem. what is wrong? has
> anybody some idea? i don't use fork. the sockets that are created(have
> all different numbers(increasing)). is there any limitation of creating
> sockets or something like this.
>
> i think the problem is the master, because on the clients there are only
> 2 sockets created. i only have one dongle per pc.
I don't even understand what your setup is, but have you checked that
role switch is allowed? Check the connection establishment with hcidump.
Regards
Marcel
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bluez-devel] problems with connect()
2004-01-08 17:35 ` Marcel Holtmann
@ 2004-01-09 14:04 ` Christian Hennrich
2004-01-09 14:10 ` Marcel Holtmann
0 siblings, 1 reply; 4+ messages in thread
From: Christian Hennrich @ 2004-01-09 14:04 UTC (permalink / raw)
To: bluez-devel
Hi,
today i tried to connect more than 2 slaves with pand -c "Addresse of
master" to one master that is started with pand -s -r GN. the same
problem occurs, i can't connect more than 2 slaves to one master, the
third one makes no connection.
is the configuration of pand wrong?
regards christian
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bluez-devel] problems with connect()
2004-01-09 14:04 ` Christian Hennrich
@ 2004-01-09 14:10 ` Marcel Holtmann
0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2004-01-09 14:10 UTC (permalink / raw)
To: Christian Hennrich; +Cc: BlueZ Mailing List
Hi Christian,
> today i tried to connect more than 2 slaves with pand -c "Addresse of
> master" to one master that is started with pand -s -r GN. the same
> problem occurs, i can't connect more than 2 slaves to one master, the
> third one makes no connection.
you are connecting two master ;) Think again about the master/slave
roles of a Bluetooth device. You must use the role switch. What do
"hciconfig -a" say?
Regards
Marcel
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-01-09 14:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-08 16:16 [Bluez-devel] problems with connect() Christian Hennrich
2004-01-08 17:35 ` Marcel Holtmann
2004-01-09 14:04 ` Christian Hennrich
2004-01-09 14:10 ` Marcel Holtmann
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.