From: Marcel Holtmann <marcel@holtmann.org>
To: David Stockwell <dstockwell@frequency-one.com>
Cc: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] Issues with BlueZ v3.31 Object Path Naming
Date: Thu, 22 May 2008 09:54:02 +0200 [thread overview]
Message-ID: <71A309EC-AAA0-42AF-994D-E5E9CF553682@holtmann.org> (raw)
In-Reply-To: <015401c8bbb3$4de51ce0$6701a8c0@freqonedev>
Hi David,
> Thanks for the quick response; I do appreciate it and the effort all
> of you have expended in marshaling this migration to DBus. I
> fully appreciate the benefits!
>
> I also appreciate that prepending every path with "/org/bluez" was
> more than a little redundant...
> So, under 4.X: the Manager's path is "/";
> the Adapter's path is "/hci<n>";
> the device's path is "/hci<n>/dev_<remote address>"
that is correct.
> Still, the audio device paths will be /org/bluez/device<n>,
> correct? Or will it just be /device<n>, or perhaps /hci<n>/device<n>?
We are going to re-design that part of the API during the next week.
Once that is done, they will also be deprecated. The idea here is that
we have a generic remote device object path now and we will use it for
every service instead of having every service to do this all over again.
> Also, the old paths are documented in doc/xxx-api.txt. I will be
> happy to provide updates.
I that is so, then that is a bug on my side. It shouldn't be. At least
not intentionally :)
> I will also proceed to dig through the code to straighten out the
> naming per the new names (assuming "experimental" is set).
>
> One more issue: in manager.c and adapter.c, the _init functions
> enable the new Methods and Signals if experimental is set, then
> enables the old Methods and Signals (even if they have the same
> names) after that.
>
> If experimental is set, should we not turn off the old methods and
> signals? If you refer to my previous posts, you will find that
> when Discovery is completed, signals are returned against the old
> and new paths/signals simultaneously; very confusing, but now that
> I see how things work, I understand why it has been happening.
We can't break the old API during the 3.x releases. So the new one can
be enabled for testing. Disabling the old one at the same time will
break to many applications.
Regards
Marcel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
prev parent reply other threads:[~2008-05-22 7:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-21 23:23 Issues with BlueZ v3.31 Object Path Naming David Stockwell
2008-05-21 23:41 ` [Bluez-devel] " Marcel Holtmann
2008-05-22 2:26 ` David Stockwell
2008-05-22 7:54 ` Marcel Holtmann [this message]
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=71A309EC-AAA0-42AF-994D-E5E9CF553682@holtmann.org \
--to=marcel@holtmann.org \
--cc=bluez-devel@lists.sourceforge.net \
--cc=dstockwell@frequency-one.com \
/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