Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: EthernetInterface mbed-rpc mbed-rtos mbed
Diff: RPCCommand.h
- Revision:
- 4:624527ebc0fa
- Parent:
- 3:fb0a778f2480
- Child:
- 5:8ab27ca793cd
diff -r fb0a778f2480 -r 624527ebc0fa RPCCommand.h
--- a/RPCCommand.h Wed Jul 17 11:07:06 2013 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-#ifndef RPCCOMMAND
-#define RPCCOMMAND
-
-#include <list>
-#include "mbed_rpc.h"
-
-enum RPC_COMMAND_TYPE { INVALID, CREATE, DELETE, FUNCTION_CALL };
-
-struct rpc_arg
-{
- char *name;
- char *val;
-};
-
-class RPCCommand
-{
- public :
-
- RPCCommand();
-
- bool decode(char *buffer);
-
- char* get_cmd() const;
- RPC_COMMAND_TYPE get_type() const;
- char* get_obj_name() const;
- char* get_func_name() const;
-
- private :
-
- char cmd[RPC_MAX_STRING];
- char* obj_name;
- char* func_name;
-};
-
-#endif
-