From: Marcel Holtmann <marcel@holtmann.org>
To: "Liu, Raymond" <raymond.liu@intel.com>
Cc: "linux-bluetooth@vger.kernel.org" <linux-bluetooth@vger.kernel.org>
Subject: Re: Can we change org.openobex.Client's dbus node path?
Date: Mon, 24 Nov 2008 03:41:13 +0100 [thread overview]
Message-ID: <CD8AC205-7C97-4078-A211-871D62407247@holtmann.org> (raw)
In-Reply-To: <0463F45F3606F4428ED35AC8C709F92E0217A981@pdsmsx502.ccr.corp.intel.com>
Hi Raymond,
> I notice that, in obex-client, we create the org.openobex.Client
> interface under path "/".
> It's the same as org.openobex.manager in obexd.
>
> While, when create new session for say FTP, Obexd put Session
> interface under path "/session*" , and obex client put the Session
> interface under path "/org/openobex/Session*"
>
> And this will make the introspect function on client: dbus-send --
> print-reply --dest=org.openobex.client /
> org.freedesktop.DBus.Introspectable.Introspect fail to show the node
> for /org/openobex/Session* (but dbus-send --print-reply --
> dest=org.openobex.client /org
> org.freedesktop.DBus.Introspectable.Introspect will work)
> While for obexd: dbus-send --print-reply --dest=org.openobex /
> org.freedesktop.DBus.Introspectable.Introspect can show the node
> for /Session*.
>
> So, can we change the path for org.openobex.Client and register it
> under path "/org/openobex/Client"? Or we register session, FTP
> interfaces under root path like that in the obexd? Either way can
> solve the introspect problem.
we can put the object path wherever we want. That is the whole point
of having a manager interface to discover/create them. The API
specification mentions "variable prefix" for a really good reason. So
whatever is broken here, the fix is not to change the object path. We
have to fix the broken introspection.
Also I don't see your issue here. So you are saying that within obex-
client when you introspect / that you are not getting /org in the list
of paths.
Regards
Marcel
next prev parent reply other threads:[~2008-11-24 2:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-24 2:01 Can we change org.openobex.Client's dbus node path? Liu, Raymond
2008-11-24 2:41 ` Marcel Holtmann [this message]
2008-11-24 3:24 ` Liu, Raymond
2008-11-24 3:30 ` Marcel Holtmann
2008-11-24 5:39 ` Liu, Raymond
2008-11-24 5:48 ` Liu, Raymond
2008-11-24 8:29 ` Marcel Holtmann
2008-11-24 10:11 ` Liu, Raymond
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=CD8AC205-7C97-4078-A211-871D62407247@holtmann.org \
--to=marcel@holtmann.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=raymond.liu@intel.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