Commit Graph

4 Commits

Author SHA1 Message Date
Alexei Frolov
d3e5cb710d s/pw_hdlc_lite/pw_hdlc/g
This renames the hdlc_lite module to just HDLC to accommodate for future
development.

Change-Id: Ic96502a9f41d3a10179435347d4e8615bc3ae844
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/29042
Reviewed-by: Keir Mierle <keir@google.com>
Reviewed-by: Wyatt Hepler <hepler@google.com>
2021-01-11 21:16:53 +00:00
Alexei Frolov
eb94e96186 pw_rpc: Move system_server backends into targets
Backends for the pw_rpc/system_server facade were defined in the pw_rpc
module, preventing targets from customizing their server configurations
and channels. This change moves the backends into the respective target
directories. Additionally, pw_unit_test's RPC main is updated to use the
system server.

Change-Id: I670e13dd178ab8a7fc8dfa8fade3f82a46d5208c
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/28500
Reviewed-by: Wyatt Hepler <hepler@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
Commit-Queue: Alexei Frolov <frolv@google.com>
2021-01-06 17:42:18 +00:00
Alexei Frolov
6053c31821 pw_hdlc_lite: Switch to U-frames for unreliable transmission
This adds functions to write unnumbered information frames to the C++
and Python HDLC encoders, and switches over the RPC channel and host
client to send them instead of I-frames.

Change-Id: I845d7b8746a5f910fd390ed1d4f4ea33426235eb
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/27220
Reviewed-by: Wyatt Hepler <hepler@google.com>
2020-12-21 19:09:41 +00:00
Alexei Frolov
80246796fe pw_unit_test: Add RPC service
This implements an RPC service that streams pw_unit_test events, as well
as a unit test main that initializes a server with the test service
registered and an HDLC serial channel.

Change-Id: I6c66f2216c54d82aa70c351d7d3d99d9a5c173de
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/23901
Commit-Queue: Alexei Frolov <frolv@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
2020-11-18 17:55:18 +00:00