Skip to contentSkip to conversation

Need complete docs on PAN and DUN with bluez 4.66

DISCUSSION Mumia W 1 participant 1 message Sep 21, 2010 Bluetooth drivers

lore
Share & tools
lore

Mumia W

author
#0 lore raw
Quoted 13 lines

From: Luiz Augusto von Dentz <[email protected]>
Sent: Sep 21, 2010 6:06 AM
To: Arun Kumar <[email protected]>
Cc: Mumia W <[email protected]>, [email protected]
Subject: Re: Need complete docs on PAN and DUN with bluez 4.66

Hi,

Quoted 3 lines · Arun Kumar

Depends on what role you want to use pand for ...pand is launched as a daemon via command line with set of options you may want to use it for your requirements ...

Quoted 7 lines

I wouldn't suggest using pand nor dund because they are deprecated.

PAN is really dead simple, Network.Connect() returns the network interface in case of success and both NetworkManager and connman should be able to use them, in fact I think both already have specif PAN support to connect from their ui.

I'm not using Network manager. How do I enable PAN from the command line? I'm an end-user right now.

Quoted 6 lines

DUN is a bit more complicated, it rely on Serial.Connect("dun") which creates a RFCOMM port to talk to the modem, but there need to be some process that has an AT command engine to handle all the configuration, in NetworkManager case there is ModemManager that is supposed to do that but I have tried not long ago and it failed for me, I think we might want to have ofono to handle this in connman case

What is ofono?

Quoted 8 lines

but so far
there the support for this is not complete (Gustavo Padovan has been working on it).

Both Network and Serial interface are documented in doc/ diretory, there is also test-network and test-serial under test/ that can be used to manually connect to those profiles.

Thank you.