2005-01-20 04:29:15

by Pering, Trevor

[permalink] [raw]
Subject: [Bluez-users] PAN and DUN

I'm confused by the how-to at
http://www.cs.ucla.edu/~cclljj/interest/notes/bluez/pand_dund.html --
which is linked from the BlueZ how-to page.
=20
It does a fair bit of setup, and then has the instructions:

13. on master side:=20
sdpd
pand --listen --master --service --sdp --role NAP
dund --listen --sdp

14. on slave side=20
sdpd
pand --connect <bt_addr> --sdp
dund --connect <bt_addr> --sdp

Which, is far as I can tell, is setting up both a dun and pan connection
between the two devices -- which seems very redundant to me. The DUN
link will set up an IP link over RFCOMM using PPP, while PAN will set up
a direct IP link.

Is this correct? Wouldn't it be sufficient to either dun or pan, but
not both?

Thanks,
Trevor


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


2005-01-20 12:55:06

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] PAN and DUN

Hi Trevor,

> I'm confused by the how-to at
> http://www.cs.ucla.edu/~cclljj/interest/notes/bluez/pand_dund.html --
> which is linked from the BlueZ how-to page.
>
> It does a fair bit of setup, and then has the instructions:
>
> 13. on master side:
> sdpd
> pand --listen --master --service --sdp --role NAP
> dund --listen --sdp
>
> 14. on slave side
> sdpd
> pand --connect <bt_addr> --sdp
> dund --connect <bt_addr> --sdp
>
> Which, is far as I can tell, is setting up both a dun and pan connection
> between the two devices -- which seems very redundant to me. The DUN
> link will set up an IP link over RFCOMM using PPP, while PAN will set up
> a direct IP link.
>
> Is this correct? Wouldn't it be sufficient to either dun or pan, but
> not both?

this depends on your setup. For the master it makes sense to have both
daemons running (like some access points), but for the slave side you
should choose one and you should prefer pand. However it seems that this
howto is also a little bit out of date, because the --sdp doesn't exists
anymore.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users