ThingPlug GMMP library for mbed

Dependents:   ThingPlug_WiFi_Example

Revision:
2:873c169fba78
Parent:
1:272f2e355446
Child:
3:e841a647d1df
--- a/GMMP.cpp	Thu Jul 23 14:27:31 2015 +0000
+++ b/GMMP.cpp	Sat Jul 25 02:06:45 2015 +0000
@@ -89,7 +89,7 @@
 	#ifdef USE_SNIC_WIFI
 	C_SNIC_WifiInterface     wifi( D8, D2, NC, NC, D3);
 	
-	#define MBED_AP_SSID                  "T-Smart"
+	#define MBED_AP_SSID                  "tide855" //"tide867"
 	/** Securiry Options
     e_SEC_OPEN       = 0x00, //Open
     e_SEC_WEP        = 0x01, // WEP
@@ -97,8 +97,8 @@
     e_SEC_WPA2_AES   = 0x04, // WPA2-PSK(AES)
     e_SEC_WPA2_MIXED = 0x06, // WPA2-PSK(TKIP/AES)
     e_SEC_WPA_AES    = 0x07  // WPA-PSK(AES) **/
-	#define MBED_AP_SECURITY_TYPE         e_SEC_OPEN
-	#define MBED_AP_SECUTIRY_KEY          ""
+	#define MBED_AP_SECURITY_TYPE         e_SEC_WPA2_AES//e_SEC_OPEN
+	#define MBED_AP_SECUTIRY_KEY          "tidetide"
 	
 	#endif//USE_SNIC_WIFI
 
@@ -183,6 +183,7 @@
 	//if (ntp.setTime("0.pool.ntp.org") == 0)
 //	if (ntp.setTime("time-a.timefreq.bldrdoc.gov") == 0)
 //	if (ntp.setTime("kr.pool.ntp.org") == 0)
+//	if (ntp.setTime("112.220.115.166") == 0)
 	if (ntp.setTime("211.233.40.78") == 0) //MURATA UDP does not support DNS resolver...
 	{
 	  printf("Set time successfully\r\n");