tcp client for cc3000, using mbed socket interface
Dependencies: NVIC_set_all_priorities cc3000_hostdriver_mbedsocket mbed
Revision 5:fbcd3cb3c81c, committed 2013-11-07
- Comitter:
- Kojto
- Date:
- Thu Nov 07 18:43:03 2013 +0000
- Parent:
- 4:51ad2e8bedb9
- Child:
- 6:5fbda2ed5f0f
- Commit message:
- - update to nvic set all priorities rev 3
Changed in this revision
NVIC_set_all_priorities.lib | Show annotated file Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/NVIC_set_all_priorities.lib Thu Nov 07 18:39:21 2013 +0000 +++ b/NVIC_set_all_priorities.lib Thu Nov 07 18:43:03 2013 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/frankvnk/code/NVIC_set_all_priorities/#676bbfffe9f6 +http://mbed.org/users/frankvnk/code/NVIC_set_all_priorities/#01504ecd2025
--- a/main.cpp Thu Nov 07 18:39:21 2013 +0000 +++ b/main.cpp Thu Nov 07 18:43:03 2013 +0000 @@ -22,8 +22,6 @@ using namespace mbed_cc3000; -using namespace mbed_cc3000; - /* cc3000 module declaration specific for user's board. Check also init() */ #if (MY_BOARD == WIGO) cc3000 wifi(PTA16, PTA13, PTD0, SPI(PTD2, PTD3, PTC5), "ssid", "key", WPA2, false); @@ -47,7 +45,7 @@ init(); /* board dependent init */ pc.baud(115200); - printf("CC3000 tcp client demo. \r\n"); + printf("cc3000 tcp client demo. \r\n"); wifi.init(); if (wifi.connect() == -1) { printf("Failed to connect. Please verify connection details and try again. \r\n"); @@ -75,5 +73,4 @@ socket.close(); printf("Completed. \r\n"); wifi.disconnect(); - }