An example program that uses a Wifly module to send messages over web sockets
Dependencies: WebSocketClient WiflyInterface mbed LM75B MMA7660
Fork of Websocket_Wifly_HelloWorld by
Diff: main.cpp
- Revision:
- 5:ab84dbbe7366
- Parent:
- 4:79f9caf3d109
- Child:
- 6:b420491ecd8d
--- a/main.cpp Fri Feb 08 12:09:33 2013 +0000 +++ b/main.cpp Fri Feb 08 12:17:45 2013 +0000 @@ -32,7 +32,7 @@ printf("IP Address is %s\n\r", wifly.getIPAddress()); // See the output on http://sockets.mbed.org/app-board/viewer - Websocket ws("ws://sockets.mbed.org:443/ws/sensors/wo"); + Websocket ws("ws://sockets.mbed.org:443/ws/app-board/wo"); // connect WS server while (!ws.connect());