commit | 22e3d03a71c28dd565d503d7257bc241c6ed7353 | [log] [tgz] |
---|---|---|
author | Dennis Kormalev <denk@google.com> | Wed May 31 22:01:09 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed May 31 22:01:09 2023 +0000 |
tree | dcc59c512dd5c2e627fe179c6c4056e2e07f5e8f | |
parent | a1e8808c574a645eeb6800f3858435bc6043d5f7 [diff] |
pw_rpc: Add packet processors to ClientServerTestingContext This CL adds an ability to customize packet processing in 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. This CL is a part of the chain and adds this support only to the basic classes in pw::rpc::internal. It also adds a temporary constructor for the backward compatibility that is removed as the last CL in the chain. Change-Id: I6c422c36b382ac673d337de31a026d8017ffb081 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/117090 Reviewed-by: Taylor Cramer <cramertj@google.com> Pigweed-Auto-Submit: Dennis Kormalev <denk@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/.