RPC interface
#include <simpleRPC.h>
See the Usage section for a full description of the RPC interface.
Functions
-
template<class ...Ts>
void interface(Stream &io, Ts... args) RPC interface.
The
argsparameter pack is a list of pairs (function pointer, documentation). The documentation string can be of typechar const*, or the PROGMEMF()macro can be used to reduce memory footprint.- Template Parameters:
Ts... – Parameter pairs types.
- Parameters:
io – Stream.
args – Parameter pairs (function pointer, documentation).
-
template<class ...Ts, class ...Us>
void interface(Tuple<Ts...> t, Us... args) Multiple RPC interfaces.
Similar to the standard interface , but with support for multiple I/O interfaces, passed as Tuple
t.See also
- Parameters:
t – Tuple of streams.
args – Parameter pairs (function pointer, documentation).