Commit Graph

2 Commits

Author SHA1 Message Date
Alexei Frolov
9a4d6bf6d9 pw_rpc: Expose Service class
This change moves the base Service class to pw_rpc's public API and adds
a source_set that provides service.h separately to the rest of RPC. This
is done to allow creating APIs to globally register services without
having to pull in the entirety of pw_rpc (and potentially creating
dependency cycles).

Change-Id: I80eb34ed35b74caffb71444a59ee05eff5bc8fba
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/15360
Commit-Queue: Alexei Frolov <frolv@google.com>
Reviewed-by: Wyatt Hepler <hepler@google.com>
2020-08-04 21:50:45 +00:00
Alexei Frolov
a8d5f60e5a pw_rpc: Nanopb RPC protoc plugin
This change adds a protoc plugin which generates service code for pw_rpc
using nanopb as the protobuf implementation. Only the plugin code is
added here; it is not yet integrated into the build system.

Change-Id: Ia24bb5d130bf54c7afb41af2bca7f346e14bed9b
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/12941
Commit-Queue: Alexei Frolov <frolv@google.com>
Reviewed-by: Wyatt Hepler <hepler@google.com>
2020-06-29 20:55:51 +00:00