commit | 05acd6452b65a630e14d240f072f4daeaaa9699c | [log] [tgz] |
---|---|---|
author | Erik Staats <estaats@google.com> | Wed Sep 13 16:50:31 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Sep 13 16:50:31 2023 +0000 |
tree | b9e1ee9d155e10b5ff77191b5d38797e12a18b7d | |
parent | eb7ded3f1a7c9574f0ff22a98cc21a9d597e55ad [diff] |
pw_rpc: Support custom response messages in SynchronousCall This enables the use of custom reponse message classes that set field callbacks in their constructor for use with SynchronousCall and pwpb_rpc with variable-length response fields. Bug: 299920227 Test: Verified unit tests pass. Test: See details in testing done comment in the code review. Change-Id: I43a52e74e9b2ab35ed0f6c3e221d2b7859e65f9a Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/170041 Reviewed-by: Keir Mierle <keir@google.com> Commit-Queue: Erik Staats <estaats@google.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Alexei Frolov <frolv@google.com> Reviewed-by: Scott James Remnant <keybuk@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/.