cc3000 websocket demo for cc3000
Dependencies: NVIC_set_all_priorities WebSocketClient cc3000_hostdriver_mbedsocket mbed
Revision 7:a671c9a84867, committed 2013-10-06
- Comitter:
- Kojto
- Date:
- Sun Oct 06 11:56:17 2013 +0200
- Parent:
- 6:62b6aa700f85
- Child:
- 8:0112f326713b
- Commit message:
- Write only access
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Oct 03 17:33:38 2013 +0200 +++ b/main.cpp Sun Oct 06 11:56:17 2013 +0200 @@ -149,7 +149,7 @@ wifi.get_ip_config(&ipinfo2); // data is returned in the ipinfo2 structure printf("DHCP assigned IP Address = %d.%d.%d.%d \r\n", ipinfo2.aucIP[3], ipinfo2.aucIP[2], ipinfo2.aucIP[1], ipinfo2.aucIP[0]); - Websocket ws("ws://sockets.mbed.org/ws/Kojto/rw"); + Websocket ws("ws://sockets.mbed.org/ws/Kojto/wo"); while (!ws.connect()); printf("Connected to websocket server. \r\n");