wifiesp 2.0.0.0
|
wifiesp Click example More...
#include "board.h"
#include "log.h"
#include "wifiesp.h"
#include "string.h"
#include "conversions.h"
Macros | |
#define | APP_SSID "MikroE Public" |
#define | APP_PASSWORD "mikroe.guest" |
#define | PROCESS_BUFFER_SIZE 610 |
Functions | |
void | wifi_communication_init (void) |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Variables | |
uint8_t | page [] |
uint8_t | page_len [10] = { 0 } |
uint8_t | send_buf [10] = { 0 } |
wifiesp Click example
This example connects to the desired WiFi network and then creates web server on the IP address assigned to the click board. The user can connect to the server via web browser.
The demo application is composed of two sections :
Initializes driver and wifi communication, then connects to the desired WiFi network and creates web server on the IP address assigned to the click board.
Waits for the client request (paste IP address in your web browser and refresh to send a request). The click board will respond by sending a page content to the client.
#define APP_PASSWORD "mikroe.guest" |
#define APP_SSID "MikroE Public" |
#define PROCESS_BUFFER_SIZE 610 |
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |
void wifi_communication_init | ( | void | ) |
uint8_t page[] |
uint8_t page_len[10] = { 0 } |
uint8_t send_buf[10] = { 0 } |