commit | 80fde591d803dd50198ae3c85c3bd2839f79a4eb | [log] [tgz] |
---|---|---|
author | Austin Foxley <afoxley@google.com> | Thu Jul 20 17:49:39 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jul 20 17:49:39 2023 +0000 |
tree | ed5449ba7159397362ae66dfd4030c32004d2e96 | |
parent | de9cf6040d4748f696bdde88a91b2926026d880d [diff] |
pw_rpc: Provide way to populate response callbacks during tests For client server test contexts, this adds a new way to access the response sent and decode it into a user provided response message. This allows the user to handle repeated fields during tests without dropping to raw. Change-Id: I8903f6d634e33524ae5cfec49e886bd5194e621b Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/156670 Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com> Reviewed-by: Scott James Remnant <keybuk@google.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Pigweed-Auto-Submit: Austin Foxley <afoxley@google.com> Reviewed-by: Alexei Frolov <frolv@google.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/.