cc3000 websocket demo for cc3000
Dependencies: NVIC_set_all_priorities WebSocketClient cc3000_hostdriver_mbedsocket mbed
Diff: main.cpp
- Revision:
- 7:a671c9a84867
- Parent:
- 6:62b6aa700f85
- Child:
- 9:822a9333d544
--- 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");