openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Deng Tyler <tyler.sabdon@gmail.com>
To: "openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>
Subject: bus method call error process
Date: Thu, 22 Jul 2021 20:13:02 +0800	[thread overview]
Message-ID: <1710A383-17B7-4B49-9468-A78B1A3D9C9A@gmail.com> (raw)

Hi all:
    I create my bus service and try to use bus method call to get some property from other bus service. But I encounter a bus call issue that my service suspended if I try to make a method call with a non active service. For example:
…
method = bus.new_method_call(“non-active service”, obj, interface, method);
reply = bus.call(method);
#service suspended here…
if(reply)….
…

Could someone help to give a hint??
Thanks.



                 reply	other threads:[~2021-07-22 12:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1710A383-17B7-4B49-9468-A78B1A3D9C9A@gmail.com \
    --to=tyler.sabdon@gmail.com \
    --cc=openbmc@lists.ozlabs.org \
    /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).