How to call Set & Get RPC request from Mdash to mOS in C

Looks at the RPC user guide, it shows you how to define a custom RPC handler that you can call like any of the built-in RPC methods from mDash.

There is some relevant RPC info in this post which explains how to call from mDash