Commit 5fc47ae35e76ab563df60cfd906f2e7d7923af4a

Authored by Imanol-Mikel Barba Sabariego
1 parent b9a83f5d

--no commit message

Project/applications/smartcities/main.c
... ... @@ -3,12 +3,13 @@
3 3 #include "lwip/inet.h"
4 4 //#include "tcpClient.h"
5 5  
6   -#define WIFI_MODE WIFI_MODE_CLIENT
7   -
8   -#define NETWORK_SSID "linksys"
9   -#define NETWORK_KEY ""
10   -#define SERVER_IP "10.0.60.241"
11   -#define SERVER_PORT (55000)
  6 +#define WIFI_MODE WIFI_MODE_CLIENT
  7 +#define NETWORK_SSID "linksys"
  8 +#define NETWORK_KEY ""
  9 +#define SERVER_IP "10.0.60.241"
  10 +#define SERVER_PORT (55000)
  11 +#define WPA_USER "smartcities"
  12 +#define WPA_PASS "superpass"
12 13  
13 14 void initLibwismart(void)
14 15 {
... ... @@ -35,8 +36,8 @@ int main(void)
35 36 {
36 37 struct wpa_param wpa;
37 38 wpa.eap_method = WISMART_EAP_METHOD_TTLS;
38   - wpa.u.ttls.identity="smarcities";
39   - wpa.u.ttls.password="superpass";
  39 + wpa.u.ttls.identity=WPA_USER;
  40 + wpa.u.ttls.password=WPA_PASS;
40 41  
41 42  
42 43 initLibwismart();
... ...