From 5fc47ae35e76ab563df60cfd906f2e7d7923af4a Mon Sep 17 00:00:00 2001 From: Imanol-Mikel Barba Sabariego Date: Tue, 25 Mar 2014 11:30:19 +0000 Subject: [PATCH] --- Project/applications/smartcities/main.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/Project/applications/smartcities/main.c b/Project/applications/smartcities/main.c index da1de87..9e81069 100644 --- a/Project/applications/smartcities/main.c +++ b/Project/applications/smartcities/main.c @@ -3,12 +3,13 @@ #include "lwip/inet.h" //#include "tcpClient.h" -#define WIFI_MODE WIFI_MODE_CLIENT - -#define NETWORK_SSID "linksys" -#define NETWORK_KEY "" -#define SERVER_IP "10.0.60.241" -#define SERVER_PORT (55000) +#define WIFI_MODE WIFI_MODE_CLIENT +#define NETWORK_SSID "linksys" +#define NETWORK_KEY "" +#define SERVER_IP "10.0.60.241" +#define SERVER_PORT (55000) +#define WPA_USER "smartcities" +#define WPA_PASS "superpass" void initLibwismart(void) { @@ -35,8 +36,8 @@ int main(void) { struct wpa_param wpa; wpa.eap_method = WISMART_EAP_METHOD_TTLS; - wpa.u.ttls.identity="smarcities"; - wpa.u.ttls.password="superpass"; + wpa.u.ttls.identity=WPA_USER; + wpa.u.ttls.password=WPA_PASS; initLibwismart(); -- libgit2 0.22.2