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: GMMP_mbed NTPClient SNICInterface mbed-rtos mbed
Fork of ThingPlug_WiFi_Example2 by
Diff: config.h
- Revision:
- 1:468ac9167975
- Parent:
- 0:fdbd2c6947ea
- Child:
- 4:2dffc85d2fd0
--- a/config.h Sun Aug 09 14:24:15 2015 +0000
+++ b/config.h Sun Aug 09 15:02:40 2015 +0000
@@ -4,8 +4,8 @@
/*
* Communication Module configuration starts here
*/
-#define USE_SNIC_WIFI //Murata Type YD Wi-Fi
-//#define USE_WIZNET_W5500
+//#define USE_SNIC_WIFI //Murata Type YD Wi-Fi
+#define USE_WIZNET_W5500 //WIZnet W5500 Ethernet
/*
@@ -13,7 +13,7 @@
*/
#ifdef USE_SNIC_WIFI
- #define MBED_AP_SSID "FON"//"TIDE867"//"tide855"
+ #define MBED_AP_SSID "TIDE867"//"tide855"
/** Securiry Options
e_SEC_OPEN = 0x00, //Open
e_SEC_WEP = 0x01, // WEP
@@ -21,9 +21,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//e_SEC_WPA2_AES//e_SEC_OPEN
- #define MBED_AP_SECUTIRY_KEY ""//"tidetide"
- //unsigned char g_mac[] = {0x98, 0xF1, 0x70, 0x67, 0x4D, 0xC3}; //MURATA WIFI
+ #define MBED_AP_SECURITY_TYPE e_SEC_WPA2_AES//e_SEC_OPEN
+ #define MBED_AP_SECUTIRY_KEY "tidetide"
#endif//USE_SNIC_WIFI
@@ -37,15 +36,12 @@
#define THINGPLUG_GMMP_IP_ADDR {61, 250, 21, 211} //ThingPlug GMMP 서버 IP주소
#define THINGPLUG_GMMP_PORT_NUM 31002 //마이페이지 > 서비스 정보 수정 > 서비스 기본 정보 > TCP Listen Port
#define THINGPLUG_GMMP_SERVICE_NAME "ThingPlug" //마이페이지 > 서비스 정보 수정 > 서비스 기본 정보 > 서비스 아이디
-//unsigned char serverIp[] = {61, 250, 21, 211};
-//const int nServerPort = 31002;
-//const char* pszDomainCode = "ThingPlug";
/*
* Gateway/Device configuration starts here
*/
-#define THINGPLUG_GMMP_DEVICE_SERIAL_NUM "01234567890"//"0002f7f1ce5a"
-#define THINGPLUG_GMMP_DEVICE_MANUFACTURER_ID "STMicro"//"DEV_lesmin"
+#define THINGPLUG_GMMP_DEVICE_SERIAL_NUM "01012345678"
+#define THINGPLUG_GMMP_DEVICE_MANUFACTURER_ID "STMicro"
#define THINGPLUG_GMMP_SUB_DEVICE_MANUFACTURER_ID "STM32"
#endif /* CONFIG_H_ */
