pw_rpc2: Use protocol error codes in error packets Replace the 32-bit pw::Status in error packets with 16-bit ServerError and ClientError codes, which identify the condition that ended a call. ToStatus() maps each code to a pw::Status for public APIs. Change-Id: Ib1b1529f7e6cc0d44cb8911c430348a7968de514 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/484570
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/.