tree: b06049b770677238df1104346e3ad4770cd2d8a6 [path history] [tgz]
  1. meta/
  2. BUILD.gn
  3. pw_rpc_echo.cc
  4. README.md
examples/pw_rpc/echo/README.md

Pigweed RPC Example

This connects to the server side of Pigweed's local RPC example.

Get the server side built and running.

Make sure you are running your emulator with networking, and find your emulator's IPv6 address with:

ip addr show

Put this address into kEchoHost in pw_rpc_echo.cc.

Build your tree and launch the component with:

ffx component run --recreate --follow-logs /core/ffx-laboratory:hello-world \
  'fuchsia-pkg://fuchsia.com/pw_rpc_echo#meta/pw_rpc_echo.cm'