info:mbed_rpc_library_notes
This is an old revision of the document!
RPC programming
Communication from the mbed to a web page is achieved with RPC, Remote Procedure Calls. JavaScript running in the webpage will either call an RPC function to perform an mbed process or will access an RPCVariable in order to read a variable resident on the mbed.
In my case I included the RPCInterface library. This library has the following API's:
- RPCFunction to access mbed functions
- RPCVariable to read and set an attached variable using the RPC
- SerialRPCInterface to send and receive serial messages
Using the RPC class
- Import the RPCInterface library
- Put an include to RPCInterface.h
- declare
info/mbed_rpc_library_notes.1298386891.txt.gz · Last modified: 2011/02/22 10:01 by tomgee