aa

Dependencies:   GMMP NTPClient SNICInterface mbed-rtos mbed

Committer:
LouisAn
Date:
Sat Aug 15 04:44:16 2015 +0000
Revision:
1:c748f775c707
Parent:
0:80d2967895da
a

Who changed what in which revision?

UserRevisionLine numberNew contents of line
LouisAn 0:80d2967895da 1 #ifndef CONFIG_H_
LouisAn 0:80d2967895da 2 #define CONFIG_H_
LouisAn 0:80d2967895da 3
LouisAn 0:80d2967895da 4 /*
LouisAn 0:80d2967895da 5 * Communication Module configuration starts here
LouisAn 0:80d2967895da 6 */
LouisAn 0:80d2967895da 7 #define USE_SNIC_WIFI //Murata Type YD Wi-Fi
LouisAn 0:80d2967895da 8 //#define USE_WIZNET_W5500 //WIZnet W5500 Ethernet
LouisAn 0:80d2967895da 9
LouisAn 0:80d2967895da 10
LouisAn 0:80d2967895da 11 /*
LouisAn 0:80d2967895da 12 * SNIC configuration starts here
LouisAn 0:80d2967895da 13 */
LouisAn 0:80d2967895da 14 #ifdef USE_SNIC_WIFI
LouisAn 0:80d2967895da 15
LouisAn 0:80d2967895da 16 #define MBED_AP_SSID "Sugar&Salt"//"TIDE867"//"tide855"
LouisAn 0:80d2967895da 17 /** Securiry Options
LouisAn 0:80d2967895da 18 e_SEC_OPEN = 0x00, //Open
LouisAn 0:80d2967895da 19 e_SEC_WEP = 0x01, // WEP
LouisAn 0:80d2967895da 20 e_SEC_WPA_TKIP = 0x02, // WPA-PSK(TKIP)
LouisAn 0:80d2967895da 21 e_SEC_WPA2_AES = 0x04, // WPA2-PSK(AES)
LouisAn 0:80d2967895da 22 e_SEC_WPA2_MIXED = 0x06, // WPA2-PSK(TKIP/AES)
LouisAn 0:80d2967895da 23 e_SEC_WPA_AES = 0x07 // WPA-PSK(AES) **/
LouisAn 0:80d2967895da 24 #define MBED_AP_SECURITY_TYPE e_SEC_WPA2_AES//e_SEC_WPA2_AES//e_SEC_OPEN
LouisAn 0:80d2967895da 25 #define MBED_AP_SECUTIRY_KEY "1234qwer"//"tidetide"
LouisAn 0:80d2967895da 26
LouisAn 0:80d2967895da 27 #endif//USE_SNIC_WIFI
LouisAn 0:80d2967895da 28
LouisAn 0:80d2967895da 29 // Some Ethernet Shields (ex.W5500) do NOT have MAC address. use your cell phone number instead.
LouisAn 0:80d2967895da 30 // 010-1234-5678 -> {0x00, 0x10, 0x12, 0x34, 0x56, 0x78};
LouisAn 0:80d2967895da 31 #define DEFAULT_MAC_ADDR {0x00, 0x02, 0xF7, 0x00, 0x00} //MAC Address
LouisAn 0:80d2967895da 32
LouisAn 0:80d2967895da 33 /*
LouisAn 0:80d2967895da 34 * GMMP configuration starts here
LouisAn 0:80d2967895da 35 */
LouisAn 0:80d2967895da 36 #define THINGPLUG_GMMP_IP_ADDR {61, 250, 21, 211} //ThingPlug GMMP 서버 IP주소
LouisAn 0:80d2967895da 37 #define THINGPLUG_GMMP_PORT_NUM 31002 //마이페이지 > 서비스 정보 수정 > 서비스 기본 정보 > TCP Listen Port
LouisAn 0:80d2967895da 38 #define THINGPLUG_GMMP_SERVICE_NAME "ThingPlug" //마이페이지 > 서비스 정보 수정 > 서비스 기본 정보 > 서비스 아이디
LouisAn 0:80d2967895da 39 #define THINGPLUG_GMMP_SERVICE_ID "0002f7f00000"
LouisAn 0:80d2967895da 40 /*
LouisAn 0:80d2967895da 41 * Gateway/Device configuration starts here
LouisAn 0:80d2967895da 42 */
LouisAn 0:80d2967895da 43 #define THINGPLUG_GMMP_DEVICE_SERIAL_NUM "01012345678"
LouisAn 0:80d2967895da 44 #define THINGPLUG_GMMP_DEVICE_MANUFACTURER_ID "STMicro"
LouisAn 0:80d2967895da 45 #define THINGPLUG_GMMP_SUB_DEVICE_MANUFACTURER_ID "STM32"
LouisAn 0:80d2967895da 46
LouisAn 0:80d2967895da 47 #endif /* CONFIG_H_ */