Re: [Bluez-devel] Questions about Role Changing during PAN setup

James Cameron
2004-07-08T05:54:23Z

On Thu, Jul 08, 2004 at 01:41:19PM +0800, h0016530@hkusua.hku.hk wrote:
> server(PC):
> #modprobe l2cap
> #modprobe bnep
> #sdpd
> #hcid
> #hciconfig hci0 up
> #pand --listen --role NAP --service --sdp --master
> #pand --connect 00:02:C7:18:25:A0
> #ifconfig bnep0 10.0.0.1
>
> client(iPAQ, familiar linux):
> #pand --listen --role PANU
> #ifconfig bnep0 10.0.0.2

Slightly different. On my server (PC) I run:
# pand --listen --role NAP

And on client (laptop) I run:
# pand --nodetach --role PANU --search

ifconfig is handled automatically by hotplug on both systems, but
essentially it happens shortly after connection is made.

Since you are making PANU connection from server to iPAQ, it is not
wrong for "pand --show" to show PANU connection.