ME507 Airheads Project v1.1.0
Flight Stabilization for Glider
Loading...
Searching...
No Matches
network.h File Reference

This header file contains the functions that main.cpp will need in order to create a web page. This. More...

#include "shares.h"
#include "taskshare.h"

Go to the source code of this file.

Functions

void setup_wifi (void)
 Function used to setup the wifi on the ESP32. More...
 
void task_webserver (void *p_params)
 The webpage task that runs the webpage on the ESP32. More...
 

Detailed Description

This header file contains the functions that main.cpp will need in order to create a web page. This.

Author
Damond Li
Date
2022-Nov-28 Original file

Function Documentation

◆ setup_wifi()

void setup_wifi ( void  )

Function used to setup the wifi on the ESP32.

Function used to setup the wifi on the ESP32.

◆ task_webserver()

void task_webserver ( void *  p_params)

The webpage task that runs the webpage on the ESP32.

The webpage task that runs the webpage on the ESP32.

After setup, function handleClient() must be run periodically to check for page requests from web clients. One could run this task as the lowest priority task with a short or no delay, as there generally isn't much rush in replying to web queries.

Parameters
p_paramsPointer to unused parameters