Hi,
I have just connected the CC3200 over the proxy enabled network [HTTP Proxy] in energia But same process can be used in CCS also. I have found energia is much simpler than CCS at high level abstraction. To connect with internet, you just need to follow three steps after connecting network. i.e First connect your AP then try following steps.
1. Declare port and proxy host, mine is following but your can be different
const int httpPort = 8080;
const char* host = "10.3.100.207";
2. Connect Client to internet But first connect with your AP
if (!client.connect(host, httpPort)) { Serial.println("connection failed"); return; }
else
Serial.println("Internet Connection successfully established");
3. Reconnect if disconnected from server
if (WiFi.status() != WL_CONNECTED) { Serial.println("Disconnected... But we are connecting Back"); if (!client.connect(host, httpPort)) { Serial.println("connection failed"); return; } while (WiFi.status() != WL_CONNECTED) { delay(50); Serial.print("..."); } }
That's all what you need to get started.. I have just connected it with HTTP Server Thingspeak... Sometimes it automatic got disconnected but it's also reconnect automatic :P. Happy Discovering!!!