Commit 61f0fb499d20b181b443edca409017f8b7ead5a8
1 parent
fe508431
modificacion main.c
Showing
1 changed file
with
9 additions
and
0 deletions
Project/applications/smartcities/main.c
@@ -2,6 +2,15 @@ | @@ -2,6 +2,15 @@ | ||
2 | #include "libwismart_irqs.h" /* implement irq handlers */ | 2 | #include "libwismart_irqs.h" /* implement irq handlers */ |
3 | #include "lwip/inet.h" | 3 | #include "lwip/inet.h" |
4 | 4 | ||
5 | +#include "networkCallbacks.h" | ||
6 | +#include "tcpClient.h" | ||
7 | + | ||
8 | +#define WIFI_MODE WIFI_MODE_CLIENT | ||
9 | + | ||
10 | +#define NETWORK_SSID "eConais" | ||
11 | +#define NETWORK_KEY "!oTp0wer" | ||
12 | + | ||
13 | + | ||
5 | void initLibwismart() | 14 | void initLibwismart() |
6 | { | 15 | { |
7 | wismart_hwif_t hwif = libwismart_GetDefaultHWIF(); | 16 | wismart_hwif_t hwif = libwismart_GetDefaultHWIF(); |