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 Samuel Mokrani

Files at this revision

API Documentation at this revision

Comitter:
samux
Date:
Fri Feb 08 12:17:45 2013 +0000
Parent:
4:79f9caf3d109
Child:
6:b420491ecd8d
Commit message:
use app-board channel

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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());