wifinora
2.1.0.0
|
WiFi NORA Click Example. More...
Macros | |
#define | MESSAGE_CONTENT "WiFi NORA Click board - demo example." |
#define | REMOTE_IP "77.46.162.162" |
#define | REMOTE_PORT "51111" |
#define | WIFI_SSID "MikroE Public" |
#define | WIFI_PWD "mikroe.guest" |
#define | APP_BUFFER_SIZE 200 |
#define | PROCESS_BUFFER_SIZE 200 |
#define | WLAN_HANDLE "0" |
#define | WPA_THRESHILD "0" |
#define | CONNECTED "+UENEU" |
#define | TCP_CLIENT "0" |
#define | UDP_CLIENT "1" |
#define | READ_LEN "255" |
#define | TCP_PROTOCOL "6" |
#define | UDP_PROTOCOL "17" |
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
WiFi NORA Click Example.
This example demonstrates the use of WiFi NORA Click board by processing the incoming data and displaying them on the USB UART.
The demo application is composed of two sections :
Initializes the driver, tests the communication, and after that restarts the device, and performs example configuration.
It creates a connection to the TCP-UDP echo server, sends a message to it reads it back, displaces it on the UART terminal, and then closes the connection.
#define APP_BUFFER_SIZE 200 |
#define CONNECTED "+UENEU" |
#define MESSAGE_CONTENT "WiFi NORA Click board - demo example." |
#define PROCESS_BUFFER_SIZE 200 |
#define READ_LEN "255" |
#define REMOTE_IP "77.46.162.162" |
#define REMOTE_PORT "51111" |
#define TCP_CLIENT "0" |
#define TCP_PROTOCOL "6" |
#define UDP_CLIENT "1" |
#define UDP_PROTOCOL "17" |
#define WIFI_PWD "mikroe.guest" |
#define WIFI_SSID "MikroE Public" |
#define WLAN_HANDLE "0" |
#define WPA_THRESHILD "0" |
void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |