Skip to content

jfjlaros/cpp-simple-rpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arduino simpleRPC API client library for C++

This library provides a simple way to interface to Arduino functions exported with the simpleRPC protocol. The exported method definitions are communicated to the host, which is then able to generate an API interface using this library.

Features:

  • User friendly API library.
  • Function signatures are defined on the Arduino.

Please see ReadTheDocs_ for the latest documentation.

Quick start

Installation

Fetch the source and compile the library.

git clone https://github.com/jfjlaros/cpp-simple-rpc.git
cd cpp-simple-rpc/src
make

This will create the library libsimpleRPC.a.

Usage

You can find an example project in examples/demo. This demonstration should work when the Arduino device name is /dev/ttyACM0 and the simpleRPC demo project is loaded.

To modify this example:

  • Edit demo.cc, replace all call invocations by ones that match your project.
  • Recompile your project.
make

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published