IBM IoT Client WiFi example using Murata Type-YD WiFi module
Dependencies: C12832_fix LM75B MMA7660 MQTT PowerControl SNICInterface mbed-rtos mbed
Fork of IBMIoTClientEthernetExample by
Diff: WiFi_Config.h
- Revision:
- 17:e921a54608ad
- Child:
- 18:ff8b191de621
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/WiFi_Config.h Wed Mar 25 10:35:23 2015 +0000 @@ -0,0 +1,33 @@ + +#if !defined(WIFI_CONFIG_H) +#define WIFI_CONFIG_H + +#include "mbed.h" + +#define DEMO_AP_SSID "toyowata-nad11" +#define DEMO_AP_SECURITY_TYPE e_SEC_WPA2_AES +#define DEMO_AP_SECUTIRY_KEY "mbed.org" + +#if defined(TARGET_ARCH_PRO) || defined(TARGET_RZ_A1H) +// for mbed Application Shield +#define WIFI_TX D1 +#define WIFI_RX D0 +#define WIFI_CTS NC +#define WIFI_RTS NC +#define WIFI_RESET D3 +#define WIFI_ALARM NC + +#elif defined(TARGET_LPC1768) +// for mbed Application board +#define WIFI_TX p9 +#define WIFI_RX p10 +#define WIFI_CTS NC +#define WIFI_RTS NC +#define WIFI_RESET p30 +#define WIFI_ALARM NC + +#endif + +#define WIFI_BAUD 115200 + +#endif