From: "David Stockwell" <dstockwell@frequency-one.com>
To: "BlueZ development" <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] Adapter.RegisterAgent
Date: Sat, 5 Jul 2008 18:15:44 -0500 [thread overview]
Message-ID: <098701c8def5$0eebd730$6701a8c0@freqonedev> (raw)
In-Reply-To: 1215277418.4349.1.camel@californication
Hi, Marcel.
> Hi David,
>
>> There may be a valid use-case to allow for the Agent to be a separate
>> process. However, there needs to be a way to designate the BusName
>> of
>> the connection from the other Agent process to the System bus.
>
> I really have no idea what you are talking about. The agent can always
> be a separate process. The agent for CreatePairedDevice must be the
> same
> process as the caller. That is on purpose.
Actually, in RegisterAgent, the agent cannot (now) be a separate
process, because the path name provided is a DBus Object Path only. What
is used is the unique connection name of the process calling
RegisterAgent. Line 4143 of adapter.c:
name = dbus_message_get_sender(msg);
One other point: if the Object Path is not found, no error is thrown.
The syslog indicates that the agent was registered, although it will
never work.
WRT CreatePairedAgent in the same process, fine enough. I can
understand the rationale. Got it.
Best...
>
> Regards
>
> Marcel
>
>
>
>
>
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
prev parent reply other threads:[~2008-07-05 23:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-04 22:50 [Bluez-devel] One more suggestion regarding Agent David Stockwell
2008-07-05 17:03 ` Marcel Holtmann
2008-07-05 23:15 ` David Stockwell [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='098701c8def5$0eebd730$6701a8c0@freqonedev' \
--to=dstockwell@frequency-one.com \
--cc=bluez-devel@lists.sourceforge.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