RPC hello world using the Wifly Interface
Dependencies: MbedJSONRpc MbedJSONValue WebSocketClient WiflyInterface mbed
Revision 4:fa9af2789476, committed 2012-08-24
- Comitter:
- samux
- Date:
- Fri Aug 24 14:34:54 2012 +0000
- Parent:
- 3:d2f4dc85eb08
- Commit message:
- fixed typo
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r d2f4dc85eb08 -r fa9af2789476 main.cpp --- a/main.cpp Fri Aug 24 14:12:36 2012 +0000 +++ b/main.cpp Fri Aug 24 14:34:54 2012 +0000 @@ -45,7 +45,7 @@ RPC_TYPE t; - //------------register getAcc---------------// + //------------register led---------------// if((t = rpc.registerMethod("led", &test, &Test::led)) == REGISTER_OK) printf("led is registered\r\n"); else