commit | 6d7317260b3bc088860290d5611558d1e74d7af6 | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Thu Sep 02 15:31:27 2021 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Sep 09 03:55:23 2021 +0000 |
tree | 2afbf8ae5a6a2bcef3c4bbcfc7fc13b06eb2e398 | |
parent | 478d3f2aa08f6d4c1b7167d1e949c58b64317166 [diff] |
pw_rpc: Support listening to responses in Python client Add an open() call to the Python RPC client alongside invoke(). Open ignores errors when sending the initial RPC request. This can be used to listen for responses from an RPC that was not explicitly requested. This is helpful when an RPC server cannot be immediately reached (e.g. the device isn't plugged in yet). Change-Id: Id96c840a033b814750fced8c784ea078d8f30aa8 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/59640 Reviewed-by: Carlos Chinchilla <cachinchilla@google.com> Reviewed-by: Alexei Frolov <frolv@google.com> Commit-Queue: Wyatt Hepler <hepler@google.com>
See our website: http://pigweed.dev