-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Qifan Lu edited this page Sep 19, 2017
·
10 revisions
Welcome to the u-RPC wiki home!
u-RPC is a remote procedure call (RPC) framework that enables communication between embedded devices and computers.
-
Server: The server side of the framework is implemented as a Python package. To install it, go to
python
directory and run./setup.py install
there. -
Client: There are two ways to use the client side code.
- Using the built library
You can build the u-RPC static library by runningmake static
or the dynamic library by runningmake dynamic
inside thec
directory. To build your own program, remember to add thec
directory to the include and library directories. Here is a simple command line example:
cc -I/path/to/urpc/c -o example example.c -L/path/to/urpc/c -lurpc
- Using the source code directly
Alternatively you can directly use the u-RPC source code from thec
directory. You can omitc/wio-shim.c
by providing your own WIO API implementation.
- Using the built library
To run the test go to python
directory and run ./setup.py test
there. Currently the test only covers server side code, and we plan to add client side test code in the future.
The API descriptions are written in Javadoc-like format and the documentation is generated with Doxygen.
The project is licensed under BSD 2-Clause License.