commit | e4ce994be88911bfac16c688e8fd000e2f5a695f | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Wed Feb 02 09:16:20 2022 -0800 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Feb 04 20:28:51 2022 +0000 |
tree | 7795022e9b52b8020f3ae4392b2abe67352bfc5e | |
parent | 25d3b8f577876767b563f0137ffcd9cb51b64ae1 [diff] |
pw_rpc: Move active() checks to SendPacket - Consolidate active() checks to the SendPacket() function. Reorder SendPacket() calls so the call object is active when it is used. - Expose the CloseClientStream() function on Nanopb client calls. - Expand tests for default constructed and closed RPC calls. - Clear the channel ID when closing a call. Change-Id: I71b346ffc7c953042a5e3b8fddf6fb2774e5bfea Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/82822 Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Reviewed-by: Erik Gilling <konkers@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/