linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arun Kumar <arunkat@gmail.com>
To: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: Mumia W <mumia.w.18.spam@earthlink.net>, linux-bluetooth@vger.kernel.org
Subject: Re: Need complete docs on PAN and DUN with bluez 4.66
Date: Tue, 21 Sep 2010 23:46:10 +0530	[thread overview]
Message-ID: <AANLkTimf-VQuF3DuGxA8TmEVDE27nyXSQoHTGU0cGxTO@mail.gmail.com> (raw)
In-Reply-To: <AANLkTikwvCiCLj4Hvr=zSQHOm33e059z2W6MA0T5C2ZO@mail.gmail.com>

Hi,

> Hi,
>
> On Tue, Sep 21, 2010 at 6:56 AM, Arun Kumar <arunkat@gmail.com> wrote:
>> 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 ...
>
> I wouldn't suggest using pand nor dund because they are deprecated.

I understand that dun and its apis are deprecated from bluez but not
sure on pan. I guess its api's are still exported on dbus as network
api's- unless there are plans to deprecate it too in near future...

> PAN is really dead simple, Network.Connect() returns the network
> interface in case of success

isnt it what Network.Connect() is supposed to return?

>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.

Well its entirely upto to the use-case & sub-system above d-bus on how
to use network api's and implement pan. In case of Meego and ui based
PAN use case, it may be true, but there are still platforms and
subsystems that use vanilla pand to setup pan as GN/nap etc via a
daemon process.

> 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.

True. Alternatively if the use case is to simply set up the device in
nap role with bluez, for instance,
pand -s -r NAP  -M -n could well be used. It would set up the device
in NAP role after auto registering same with SDP.


> Luiz Augusto von Dentz
> Computer Engineer
>

Best Regards,
Arun Kumar Singh
www.crazydaks.com

  reply	other threads:[~2010-09-21 18:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-21  0:50 Need complete docs on PAN and DUN with bluez 4.66 Mumia W
     [not found] ` <AANLkTi=hD_U-19oPnQzQemt5wBgAqip3h7esJZpgkr4e@mail.gmail.com>
2010-09-21  3:56   ` Arun Kumar
2010-09-21 11:06     ` Luiz Augusto von Dentz
2010-09-21 18:16       ` Arun Kumar [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-09-21 20:21 Mumia W
2010-09-21 20:16 Mumia W
2010-09-19 21:49 Mumia W

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTimf-VQuF3DuGxA8TmEVDE27nyXSQoHTGU0cGxTO@mail.gmail.com \
    --to=arunkat@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=luiz.dentz@gmail.com \
    --cc=mumia.w.18.spam@earthlink.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).