Remote Procedure Call (RPC) over Websockets (uses MbedJSONValue)
Dependents: RPC_mbed_client RPC_Wifly_HelloWorld RPC_Ethernet_HelloWorld
Diff: MbedJSONRpc.h
- Revision:
- 3:4a3bc3a2314f
- Parent:
- 2:af408b5cae75
- Child:
- 4:2f83c922c234
--- a/MbedJSONRpc.h Thu Sep 22 10:38:50 2011 +0000 +++ b/MbedJSONRpc.h Thu Sep 22 11:02:24 2011 +0000 @@ -104,7 +104,7 @@ * @code * #include "mbed.h" * #include "MbedJSONRpc.h" - * #include "MbedJSONRpcValue.h" + * #include "MbedJSONValue.h" * #include "Websocket.h" * * #define ETHERNET @@ -313,7 +313,7 @@ * @param fn name of the method or procedure to be called * @param dest name of the client where will be executed the method or procedure * @param val Input parameters of the method or procedure "fn" - * @param resp Once the method or procedure executed, the result will be stored in the "resp" variable + * @param resp Once the method or procedure executed, the result will be stored in the "resp" variable. * @return If CALL_OK, the method has been executed and you can access the result with the "resp" variable. * If CLIENT_NOT_CONNECTED, means that the client hasn't answered within 3s. * If SERVER_NOT_CONNECTED, means that the server hasn't answered within 5s. @@ -324,7 +324,7 @@ /** - * Listen for CALL requests + * Listen for CALL requests. * Warning: infinite loop */ void work();