modify
Dependencies: Adafruit_GFX Adafruit_ST7735 GMMP_mbed NTPClient SDFileSystem WIZnet_Library mbed
Fork of ThingPlug_Ethernet_Example_temp_V2 by
config.h@11:f15177f282a6, 2015-08-15 (annotated)
- Committer:
- irinakim
- Date:
- Sat Aug 15 23:33:44 2015 +0000
- Revision:
- 11:f15177f282a6
- Parent:
- 1:468ac9167975
TFT_Ethernet
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
lesmin | 0:fdbd2c6947ea | 1 | #ifndef CONFIG_H_ |
lesmin | 0:fdbd2c6947ea | 2 | #define CONFIG_H_ |
lesmin | 0:fdbd2c6947ea | 3 | |
lesmin | 0:fdbd2c6947ea | 4 | /* |
lesmin | 0:fdbd2c6947ea | 5 | * Communication Module configuration starts here |
lesmin | 0:fdbd2c6947ea | 6 | */ |
lesmin | 1:468ac9167975 | 7 | //#define USE_SNIC_WIFI //Murata Type YD Wi-Fi |
lesmin | 1:468ac9167975 | 8 | #define USE_WIZNET_W5500 //WIZnet W5500 Ethernet |
lesmin | 0:fdbd2c6947ea | 9 | |
lesmin | 0:fdbd2c6947ea | 10 | |
lesmin | 0:fdbd2c6947ea | 11 | /* |
lesmin | 0:fdbd2c6947ea | 12 | * SNIC configuration starts here |
lesmin | 0:fdbd2c6947ea | 13 | */ |
lesmin | 0:fdbd2c6947ea | 14 | #ifdef USE_SNIC_WIFI |
lesmin | 0:fdbd2c6947ea | 15 | |
lesmin | 1:468ac9167975 | 16 | #define MBED_AP_SSID "TIDE867"//"tide855" |
lesmin | 0:fdbd2c6947ea | 17 | /** Securiry Options |
lesmin | 0:fdbd2c6947ea | 18 | e_SEC_OPEN = 0x00, //Open |
lesmin | 0:fdbd2c6947ea | 19 | e_SEC_WEP = 0x01, // WEP |
lesmin | 0:fdbd2c6947ea | 20 | e_SEC_WPA_TKIP = 0x02, // WPA-PSK(TKIP) |
lesmin | 0:fdbd2c6947ea | 21 | e_SEC_WPA2_AES = 0x04, // WPA2-PSK(AES) |
lesmin | 0:fdbd2c6947ea | 22 | e_SEC_WPA2_MIXED = 0x06, // WPA2-PSK(TKIP/AES) |
lesmin | 0:fdbd2c6947ea | 23 | e_SEC_WPA_AES = 0x07 // WPA-PSK(AES) **/ |
lesmin | 1:468ac9167975 | 24 | #define MBED_AP_SECURITY_TYPE e_SEC_WPA2_AES//e_SEC_OPEN |
lesmin | 1:468ac9167975 | 25 | #define MBED_AP_SECUTIRY_KEY "tidetide" |
lesmin | 0:fdbd2c6947ea | 26 | |
lesmin | 0:fdbd2c6947ea | 27 | #endif//USE_SNIC_WIFI |
lesmin | 0:fdbd2c6947ea | 28 | |
lesmin | 0:fdbd2c6947ea | 29 | // Some Ethernet Shields (ex.W5500) do NOT have MAC address. use your cell phone number instead. |
lesmin | 0:fdbd2c6947ea | 30 | // 010-1234-5678 -> {0x00, 0x10, 0x12, 0x34, 0x56, 0x78}; |
lesmin | 0:fdbd2c6947ea | 31 | #define DEFAULT_MAC_ADDR {0x00, 0x10, 0x12, 0x34, 0x56, 0x78} //MAC Address |
lesmin | 0:fdbd2c6947ea | 32 | |
lesmin | 0:fdbd2c6947ea | 33 | /* |
lesmin | 0:fdbd2c6947ea | 34 | * GMMP configuration starts here |
lesmin | 0:fdbd2c6947ea | 35 | */ |
lesmin | 0:fdbd2c6947ea | 36 | #define THINGPLUG_GMMP_IP_ADDR {61, 250, 21, 211} //ThingPlug GMMP 서버 IP주소 |
lesmin | 0:fdbd2c6947ea | 37 | #define THINGPLUG_GMMP_PORT_NUM 31002 //마이페이지 > 서비스 정보 수정 > 서비스 기본 정보 > TCP Listen Port |
lesmin | 0:fdbd2c6947ea | 38 | #define THINGPLUG_GMMP_SERVICE_NAME "ThingPlug" //마이페이지 > 서비스 정보 수정 > 서비스 기본 정보 > 서비스 아이디 |
lesmin | 0:fdbd2c6947ea | 39 | |
lesmin | 0:fdbd2c6947ea | 40 | /* |
lesmin | 0:fdbd2c6947ea | 41 | * Gateway/Device configuration starts here |
lesmin | 0:fdbd2c6947ea | 42 | */ |
lesmin | 1:468ac9167975 | 43 | #define THINGPLUG_GMMP_DEVICE_SERIAL_NUM "01012345678" |
lesmin | 1:468ac9167975 | 44 | #define THINGPLUG_GMMP_DEVICE_MANUFACTURER_ID "STMicro" |
lesmin | 0:fdbd2c6947ea | 45 | #define THINGPLUG_GMMP_SUB_DEVICE_MANUFACTURER_ID "STM32" |
lesmin | 0:fdbd2c6947ea | 46 | |
lesmin | 0:fdbd2c6947ea | 47 | #endif /* CONFIG_H_ */ |