Commit 32ede649cf8ac136cffc79954bcbf4fbef7db2e3

Authored by Maria Jorba Brosa
1 parent 61f0fb49

mas main.c

Project/applications/smartcities/main.c
@@ -22,6 +22,10 @@ int main(void) @@ -22,6 +22,10 @@ int main(void)
22 initLibwismart(); 22 initLibwismart();
23 libwismart_PowerSave_Enable(); 23 libwismart_PowerSave_Enable();
24 libwismart_PowerSave_HigherProfile(TRUE); 24 libwismart_PowerSave_HigherProfile(TRUE);
  25 + libwismart_WiFiInit();
  26 + libwismart_WiFiConnect(NETWORK_SSID, NETWORK_KEY , clientMode_wifiConnectedCb);
  27 +
  28 + tcpClient_init();
25 29
26 printf("Hello, World!\n"); 30 printf("Hello, World!\n");
27 31