From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: Florian Philipp <lists@binarywings.net>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: PAN with bluez-utils-3
Date: Tue, 31 Mar 2009 10:44:33 -0300 [thread overview]
Message-ID: <2d5a2c100903310644od9cbf69ma2c28c83b7e51@mail.gmail.com> (raw)
In-Reply-To: <49D1FE96.1090200@binarywings.net>
Hi Florian,
On Tue, Mar 31, 2009 at 8:29 AM, Florian Philipp <lists@binarywings.net> wrote:
> So my question is: Does anyone have a working set of configuration files
> for newer bluez-utils? Preferably something related to the roles GN or NAP.
Check the documentation under doc/network-api.txt, it should be very
simple to detect if the remote device supports PAN it will export
org.bluez.Network on its dbus object. Now if your application doesn't
support introspection you can detect it by using the UUIDs property
exported in the very same dbus object I had mentioned.
For actually connecting to the device you will only need to call
org.bluez.Network.Connect({"panu","gn","nap"...}) , you can tell
bluetoothd to run a script of your choice when the connection is
activated by editing network.conf. Note that some daemons like
NetworkManager and connman should not require any script.
To act like a server you don't need to do anything for panu, for gn we
normally create a bridge called pan0 where all client are added, nap
is especial because of the routing stuff so you/your system need to
configure a bridge properly and make network.conf to use it (by
default this should be pan1).
Now if you got any problem you could please provide a more detailed
info of it, if it is a bug we will be happy to fix it.
Thanks,
--
Luiz Augusto von Dentz
Engenheiro de Computação
next prev parent reply other threads:[~2009-03-31 13:44 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-31 11:29 PAN with bluez-utils-3 Florian Philipp
2009-03-31 13:44 ` Luiz Augusto von Dentz [this message]
2009-04-01 6:55 ` Florian Philipp
2009-04-02 6:02 ` Florian Philipp
2009-04-02 17:28 ` Luiz Augusto von Dentz
2009-04-15 14:44 ` Florian Philipp
2009-04-16 8:49 ` CreatDevice signal should be emitted at function create_stored_device_from_profiles() in src/adapter.c Xu, Martin
2009-04-16 13:31 ` [connman] " Luiz Augusto von Dentz
2009-04-17 0:43 ` Xu, Martin
2009-04-17 1:47 ` Xu, Martin
2009-04-17 12:46 ` Luiz Augusto von Dentz
2009-04-17 13:04 ` Bastien Nocera
2009-04-17 13:08 ` Johan Hedberg
2009-04-20 0:57 ` Xu, Martin
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=2d5a2c100903310644od9cbf69ma2c28c83b7e51@mail.gmail.com \
--to=luiz.dentz@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=lists@binarywings.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