pw_rpc: Add packet processors to pwpb testing context This CL adds an ability to customize packet processing in pwpb ClientServerTestingContext (and its threaded variant). This can be useful when the project has its own packet processing (e.g. one that offloads all rpc handling to a custom thread pool) and wants to simulate this behavior in tests as well. Change-Id: I7c4347e5946e28bec11674918f2dfc175fa6a42a Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/117091 Pigweed-Auto-Submit: Dennis Kormalev <denk@google.com> Reviewed-by: Taylor Cramer <cramertj@google.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.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/.