From cef7ba6f7024a2c3a53760be8c5fc4f937e8efb5 Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Thu, 25 Feb 2016 17:27:33 -0500 Subject: RPC over loopback socket, just to work out the mechanics for serialization and dispatch. --- tests/test-rpc_server.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tests/test-rpc_server.c (limited to 'tests/test-rpc_server.c') diff --git a/tests/test-rpc_server.c b/tests/test-rpc_server.c new file mode 100644 index 0000000..6eff755 --- /dev/null +++ b/tests/test-rpc_server.c @@ -0,0 +1,16 @@ +#include +#include +#include +#include + +#include +#include + +int main (int argc, char *argv[]) +{ + if (rpc_server_init() != HAL_OK) + return 1; + + rpc_server_main(); + return 0; +} -- cgit v1.2.3