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: ADT7410 MQTToveCC3000 MbedJSONValue NVIC_set_all_priorities cc3000_hostdriver_mbedsocket2 mbed
Fork of cc3000_simple_socket_demo by
Diff: main.h
- Revision:
- 16:45572def5fb2
- Parent:
- 14:5f84f9ae168e
diff -r af967b9898f8 -r 45572def5fb2 main.h --- a/main.h Tue Jun 03 08:31:20 2014 +0000 +++ b/main.h Tue Jan 20 04:44:00 2015 +0000 @@ -21,7 +21,7 @@ #define MBED_BOARD_EXAMPLE 3 #define UNDEFINED 4 -#define MY_BOARD WIGO +#define MY_BOARD MBED_BOARD_EXAMPLE // use this defines in AP_SECURITY #define NONE 0 @@ -33,9 +33,9 @@ #define USE_SMART_CONFIG 0 // Default SSID Settings -#define AP_KEY "test" +#define AP_KEY "Testbed-0" #define AP_SECURITY WPA2 // WPA2 must be enabled for use with iPhone or Android phone hotspot! -#define SSID "test" +#define SSID "Testbed-0" #define USE_DHCP 1 #define USE_STATIC_IP 2 @@ -44,13 +44,15 @@ #define IP_ALLOC_METHOD USE_DHCP // for DHCP assigned IP address //#define IP_ALLOC_METHOD USE_STATIC_IP // for static IP address -#define STATIC_IP_OCT1 192 -#define STATIC_IP_OCT2 168 +#define STATIC_IP_OCT1 10 +#define STATIC_IP_OCT2 10 #define STATIC_IP_OCT3 0 -#define STATIC_IP_OCT4 103 +#define STATIC_IP_OCT4 100 -#define STATIC_GW_OCT4 1 // Static Gateway address = STATIC_IP_OCT1.STATIC_IP_OCT2.STATIC_IP_OCT3.STATIC_GW_OCT4 - +#define STATIC_GW_OCT1 10 +#define STATIC_GW_OCT2 10 +#define STATIC_GW_OCT3 0 +#define STATIC_GW_OCT4 254 void init();
