RF24Ethernet - TCP/IP over RF24Network v1.6.15
TMRh20 - Pushing the practical limits of RF24 modules
No Matches
Macros | Functions | Variables
HTML.h File Reference

Go to the source code of this file.


#define strncpy_P   strncpy


void sendPage (EthernetClient &_client, const char *_pointer, size_t size)
void main_page (EthernetClient &_client)
void credits_page (EthernetClient &_client)
void stats_page (EthernetClient &_client)


bool led_state = 0

Detailed Description

This file is used for html code in the InteractiveServer_Mesh_ESPWifi example

Definition in file HTML.h.

Macro Definition Documentation

◆ strncpy_P

#define strncpy_P   strncpy

Definition at line 7 of file HTML.h.

Function Documentation

◆ sendPage()

void sendPage ( EthernetClient & _client,
const char * _pointer,
size_t size )

This function reads from a specified program memory buffer, and sends the data to the client in chunks equal to the max output buffer size or less This allows the HTML code to be modified as desired, with no need to change any other code

Definition at line 95 of file HTML.h.

◆ main_page()

void main_page ( EthernetClient & _client)

Definition at line 104 of file HTML.h.

References led_state, OUTPUT_BUFFER_SIZE, and sendPage().

◆ credits_page()

void credits_page ( EthernetClient & _client)

Definition at line 138 of file HTML.h.

References sendPage().

◆ stats_page()

void stats_page ( EthernetClient & _client)

Definition at line 151 of file HTML.h.

References OUTPUT_BUFFER_SIZE, and strncpy_P.

Variable Documentation

◆ led_state

bool led_state = 0

Definition at line 10 of file HTML.h.