2005-09-07 09:57:38

by Esther López Casariego

[permalink] [raw]
Subject: [Bluez-devel] PAN question

Hello you all



I have a question related the PAN profile and the implementation with BlueZ.



To establish a PAN, I just run "pand --listen" or the corresponding "pand
--connect" on different devices. Once I have 7 slaves connected, can I take
one of them into a low-power non active state without having to close the
PAN connection to add one more device to the PAN?



Thanks in advance, I hope you can answer me :-)



Best regards


2005-09-07 13:27:04

by Esther López Casariego

[permalink] [raw]
Subject: RE: [Bluez-devel] PAN question

Really thanks for your help!!

Kind regards

-----Mensaje original-----
De: [email protected]
[mailto:[email protected]] En nombre de Marcel
Holtmann
Enviado el: mi=E9rcoles, 07 de septiembre de 2005 14:13
Para: [email protected]
Asunto: RE: [Bluez-devel] PAN question

Hi Esther,

> One more question. I can have one Bluetooth device on two different
piconet,
> acting as a master in one of them, and as a slave in the other, and
> therefore forming a scatternet. But can this Bluetooth device form one =
PAN
> on each piconet, and be GN on one of them and PANU on the other?

you can and talking about GN and PANU is crap. The specification of PAN
has been written by someone without network knowledge at all. Every BNEP
connection has its own network interface in Linux and after that you can
use Bridging, Routing, NAT etc. to form the needed TCP/IP networks.

Regards

Marcel




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle =
Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & =
QA
Security * Process Improvement & Measurement * =
http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2005-09-07 12:13:06

by Marcel Holtmann

[permalink] [raw]
Subject: RE: [Bluez-devel] PAN question

Hi Esther,

> One more question. I can have one Bluetooth device on two different piconet,
> acting as a master in one of them, and as a slave in the other, and
> therefore forming a scatternet. But can this Bluetooth device form one PAN
> on each piconet, and be GN on one of them and PANU on the other?

you can and talking about GN and PANU is crap. The specification of PAN
has been written by someone without network knowledge at all. Every BNEP
connection has its own network interface in Linux and after that you can
use Bridging, Routing, NAT etc. to form the needed TCP/IP networks.

Regards

Marcel




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2005-09-07 11:13:19

by Esther López Casariego

[permalink] [raw]
Subject: RE: [Bluez-devel] PAN question

Ok, thanks for your help...

One more question. I can have one Bluetooth device on two different =
piconet,
acting as a master in one of them, and as a slave in the other, and
therefore forming a scatternet. But can this Bluetooth device form one =
PAN
on each piconet, and be GN on one of them and PANU on the other?

Regards, and sorry for too much questions

-----Mensaje original-----
De: [email protected]
[mailto:[email protected]] En nombre de Marcel
Holtmann
Enviado el: mi=E9rcoles, 07 de septiembre de 2005 13:03
Para: [email protected]
Asunto: RE: [Bluez-devel] PAN question

Hi Esther,

> Thanks for your answer. So I can't have PAN communication between a =
master
> and 9 slaves, even if two of them are in low-power mode. But can I =
have
> L2CAP connections (L2CAP socket open) between the master and 9 slaves =
and
> let it opened although they are low-powered, or have I got to open it =
each
> time the device is wake up?

this is a chip limitation. On most chips the maximum number of supported
ACL links is seven. On these seven ACL links you can have as much L2CAP
connections as you like.

Regards

Marcel




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle =
Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & =
QA
Security * Process Improvement & Measurement * =
http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2005-09-07 11:02:35

by Marcel Holtmann

[permalink] [raw]
Subject: RE: [Bluez-devel] PAN question

Hi Esther,

> Thanks for your answer. So I can't have PAN communication between a master
> and 9 slaves, even if two of them are in low-power mode. But can I have
> L2CAP connections (L2CAP socket open) between the master and 9 slaves and
> let it opened although they are low-powered, or have I got to open it each
> time the device is wake up?

this is a chip limitation. On most chips the maximum number of supported
ACL links is seven. On these seven ACL links you can have as much L2CAP
connections as you like.

Regards

Marcel




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2005-09-07 10:58:04

by Esther López Casariego

[permalink] [raw]
Subject: RE: [Bluez-devel] PAN question

Hi Marcell

Thanks for your answer. So I can't have PAN communication between a =
master
and 9 slaves, even if two of them are in low-power mode. But can I have
L2CAP connections (L2CAP socket open) between the master and 9 slaves =
and
let it opened although they are low-powered, or have I got to open it =
each
time the device is wake up?

Thanks again

-----Mensaje original-----
De: [email protected]
[mailto:[email protected]] En nombre de Marcel
Holtmann
Enviado el: mi=E9rcoles, 07 de septiembre de 2005 12:19
Para: [email protected]
Asunto: Re: [Bluez-devel] PAN question

Hi Esther,

> I have a question related the PAN profile and the implementation with
> BlueZ.
>=20
> To establish a PAN, I just run =93pand --listen" or the corresponding
> =93pand --connect" on different devices. Once I have 7 slaves =
connected,
> can I take one of them into a low-power non active state without
> having to close the PAN connection to add one more device to the PAN?

if you use a Bluetooth chip that supports more than seven slave
connections then you can do this. However I don't know of any chip that
is really capable of doing this.

Regards

Marcel




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle =
Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & =
QA
Security * Process Improvement & Measurement * =
http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2005-09-07 10:19:25

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] PAN question

Hi Esther,

> I have a question related the PAN profile and the implementation with
> BlueZ.
>=20
> To establish a PAN, I just run =E2=80=9Cpand --listen" or the correspon=
ding
> =E2=80=9Cpand --connect" on different devices. Once I have 7 slaves con=
nected,
> can I take one of them into a low-power non active state without
> having to close the PAN connection to add one more device to the PAN?

if you use a Bluetooth chip that supports more than seven slave
connections then you can do this. However I don't know of any chip that
is really capable of doing this.

Regards

Marcel




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel