Sam Chu / Mbed 2 deprecated IBMIoTClientWifiExample

Dependencies:   C12832_fix LM75B MMA7660 MQTT PowerControl SNICInterface mbed-rtos mbed

Fork of IBMIoTClientWifiExample by Toyomasa Watarai

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers WiFi_Config.h Source File

WiFi_Config.h

00001 
00002 #if !defined(WIFI_CONFIG_H)
00003 #define WIFI_CONFIG_H
00004 
00005 #include "mbed.h"
00006 
00007 #define DEMO_AP_SSID                  "SSID"
00008 #define DEMO_AP_SECURITY_TYPE         e_SEC_WPA2_AES
00009 #define DEMO_AP_SECUTIRY_KEY          "PASSWORD"
00010 
00011 #if defined(TARGET_ARCH_PRO) || defined(TARGET_RZ_A1H) || defined(TARGET_K64F)
00012 // for mbed Application Shield
00013 #define WIFI_TX    D1
00014 #define WIFI_RX    D0
00015 #define WIFI_CTS   NC
00016 #define WIFI_RTS   NC
00017 #define WIFI_RESET D3
00018 #define WIFI_ALARM NC
00019 
00020 #elif defined(TARGET_LPC1768)
00021 // for mbed Application board
00022 #define WIFI_TX    p9
00023 #define WIFI_RX    p10
00024 #define WIFI_CTS   NC
00025 #define WIFI_RTS   NC
00026 #define WIFI_RESET p30
00027 #define WIFI_ALARM NC
00028 
00029 #endif
00030 
00031 #define WIFI_BAUD  115200
00032 
00033 #endif