commit | acbafa15675776b501a299f820d4428c9ddd1f42 | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Thu Feb 10 15:13:51 2022 -0800 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Feb 11 21:42:29 2022 +0000 |
tree | 1658e077c599c037f4d1dc3eb6fd1a2d505006b1 | |
parent | 0df11c1a0f6036323bc27afdf0cd5230c3a6c38d [diff] |
pw_rpc: Optional response callback in client.py Add an optional callback to the Python client that is called for each RPC response, before the response is processed. This could be used, for example, for additional logging or metrics. Change-Id: I01ebfe3e1706fd31e53a8ce9000cd0ac443d3e8e Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/84021 Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Reviewed-by: Alexei Frolov <frolv@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/