commit | fba8b1cb4e1fc92730a073a2a5c0c1bc8018e01d | [log] [tgz] |
---|---|---|
author | Alexei Frolov <frolv@pigweed.infra.roller.google.com> | Thu Oct 03 19:21:31 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Oct 03 19:21:31 2024 +0000 |
tree | 3070d3a625278e5ff2c06f6ac29a242bdc93ede8 | |
parent | 8fbcc964a81c34b0b5dc6bc3557284581e5419b3 [diff] |
roll: pigweed pw_rpc: Add callback writes to raw RPC call objects This adds a new API to pw_rpc's RawServerReaderWriter and RawClientReaderWriter which allows users to directly serialize their RPC payloads to the RPC system's encoding buffer instead of a requiring a copy from an externally-managed buffer. This type of direct encoding buffer access is already possible through the pwpb and nanopb RPC APIs through the use of callback members in their generated structs. Enabling it in raw_rpc provides better parity with these other protobuf libraries. Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/239353 Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Original-Revision: 8e2fc6cfe825631416043a972cdd93875562a4fd Rolled-Repo: https://pigweed.googlesource.com/pigweed/pigweed Rolled-Commits: 02a68bb680ebdd..8e2fc6cfe82563 Roller-URL: https://ci.chromium.org/b/8735072216876458369 GitWatcher: ignore CQ-Do-Not-Cancel-Tryjobs: true Change-Id: Idb8650d23fabbfa5f407fcc0a690135ec7afac31 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/showcase/sense/+/239759 Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com> Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com> Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
git clone https://pigweed.googlesource.com/pigweed/showcase/sense
Welcome to Pigweed Sense, a tour of key Pigweed components experienced through an imagined air quality product.
Please visit Sense: An interactive tour through Pigweed to get started.