Simple Demo that gets a webpage
Dependencies: HTTPClient cc3000_hostdriver_mbedsocket mbed
Fork of EECS149_email_notifier by
Diff: main.cpp
- Revision:
- 2:bc6c789cac58
- Parent:
- 1:58cd57bddd3a
- Child:
- 3:ec0169cbc94d
--- a/main.cpp Mon Oct 07 17:23:47 2013 +0200 +++ b/main.cpp Mon Oct 07 17:34:45 2013 +0200 @@ -107,7 +107,7 @@ } /** - * \brief Websocket demo + * \brief HTTP client demo * \param none * \return int */ @@ -116,7 +116,7 @@ pc.baud(115200); wifi.start(0); - printf("cc3000 Websocket demo. \r\n"); + printf("cc3000 HTTP client demo. \r\n"); print_cc3000_info(); printf("Attempting SSID Connection. \r\n"); @@ -212,4 +212,5 @@ } printf("Demo completed. \r\n"); + wifi.disconnect(); }