RPC hello world using the Wifly Interface
Dependencies: MbedJSONRpc MbedJSONValue WebSocketClient WiflyInterface mbed
Diff: main.cpp
- Revision:
- 3:d2f4dc85eb08
- Parent:
- 2:ed304e8b2f0c
- Child:
- 4:fa9af2789476
--- a/main.cpp Fri Aug 24 14:11:58 2012 +0000 +++ b/main.cpp Fri Aug 24 14:12:36 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_led +//websocket: configuration with sub-network = demo and mbed_id = mbed_led Websocket ws("ws://sockets.mbed.org/rpc/demo/mbed_led"); //RPC object attached to the websocket server