Work with nodejs server: https://github.com/bjo3rn/idd-examples/tree/ben-node-demo/web/nodeServerHTTPSocket

Dependencies:   HTTPClient WebSocketClient cc3000_hostdriver_mbedsocket mbed

Fork of CC3000_demo by Ben Zhang

Revision:
3:ec0169cbc94d
Parent:
2:bc6c789cac58
Child:
4:b61a6b6190be
--- a/main.cpp	Mon Oct 07 17:34:45 2013 +0200
+++ b/main.cpp	Tue Oct 08 14:54:06 2013 +0000
@@ -72,7 +72,7 @@
 void connect_to_ssid(char *ssid, char *key, unsigned char sec_mode) {
     printf("Connecting to SSID: %s. Timeout is 10s. \r\n",ssid);
     if (wifi.connect_to_AP((uint8_t *)ssid, (uint8_t *)key, sec_mode) == true) {
-        printf(" Connected \r\n");
+        printf(" Connected. \r\n");
     } else {
         printf(" Connection timed-out (error). Please restart. \r\n");
         while(1);