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();