RPC interface

#include <simpleRPC.h>

See the Usage section for a full description of the RPC interface.

Functions

template <class… Args>
void interface(Stream &io, Args... args)

RPC interface.

The args parameter pack is a list of pairs (function pointer, documentation). The documentation string can be of type char const*, or the PROGMEM F() macro can be used to reduce memory footprint.

Parameters
  • io -

    Input / output object.

  • args -

    Parameter pairs (function pointer, documentation).

template <class… Membs, class… Args>
void interface(Tuple<Membs...> t, Args... args)

Multiple RPC interfaces.

Similar to the standard interface , but with support for multiple I/O interfaces, passed as Tuple t.

See
interface(Stream&, Args…)
Parameters
  • t -

    Tuple of input / output objects.

  • args -

    Parameter pairs (function pointer, documentation).