Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MMA8451Q NVIC_set_all_priorities TSI cc3000_hostdriver_mbedsocket mbed
Fork of AxedaGo-Freescale 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();
}
