RPC hello world using the Wifly Interface
Dependencies: MbedJSONRpc MbedJSONValue WebSocketClient WiflyInterface mbed
Diff: main.cpp
- Revision:
- 2:ed304e8b2f0c
- Parent:
- 0:935c9e275b45
- Child:
- 3:d2f4dc85eb08
--- a/main.cpp Fri Aug 24 14:11:22 2012 +0000 +++ b/main.cpp Fri Aug 24 14:11:58 2012 +0000 @@ -15,7 +15,7 @@ */ WiflyInterface wifly(p9, p10, p19, p26, "mbed", "password", WPA); -//websocket: configuration with sub-network = samux and mbed_id = mbed_acc +//websocket: configuration with sub-network = samux and mbed_id = mbed_led Websocket ws("ws://sockets.mbed.org/rpc/demo/mbed_led"); //RPC object attached to the websocket server