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
Revision 2:bc6c789cac58, committed 2013-10-07
- Comitter:
- Kojto
- Date:
- Mon Oct 07 17:34:45 2013 +0200
- Parent:
- 1:58cd57bddd3a
- Child:
- 3:ec0169cbc94d
- Commit message:
- HTTP comments, disconnect wifi after the completition
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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();
}
