cc3000 websocket demo for cc3000

Dependencies:   NVIC_set_all_priorities WebSocketClient cc3000_hostdriver_mbedsocket mbed

Files at this revision

API Documentation at this revision

Comitter:
SolderSplashLabs
Date:
Wed Oct 02 20:23:39 2013 +0000
Parent:
2:398f4fa8fb4a
Child:
4:1b11a6817efd
Commit message:
Reverted to Martins defaults in main.h

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
main.h Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Oct 02 20:19:33 2013 +0000
+++ b/main.cpp	Wed Oct 02 20:23:39 2013 +0000
@@ -29,8 +29,7 @@
 Serial pc(USBTX, USBRX);
 #elif (MY_BOARD == WIFI_DIPCORTEX)
 cc3000 wifi(p28, p27, p30, SPI(p21, p14, p37), PIN_INT0_IRQn);
-//Serial pc(UART_TX, UART_RX);
-Serial pc(p19, p20);
+Serial pc(UART_TX, UART_RX);
 #else
 
 #endif
--- a/main.h	Wed Oct 02 20:19:33 2013 +0000
+++ b/main.h	Wed Oct 02 20:23:39 2013 +0000
@@ -20,7 +20,7 @@
 #define WIFI_DIPCORTEX 2
 #define UNDEFINED      3
 
-#define MY_BOARD WIFI_DIPCORTEX
+#define MY_BOARD WIGO
 
 // use this defines in AP_SECURITY
 #define NONE 0
@@ -32,9 +32,9 @@
 #define USE_SMART_CONFIG 0
 
  // Default SSID Settings
-#define AP_KEY       "yourkey"
+#define AP_KEY       "test"
 #define AP_SECURITY  WPA2            // WPA2 must be enabled for use with iPhone or Android phone hotspot!
-#define SSID         "yourap"
+#define SSID         "test"
 
 void init();