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

Go to the source code of this file.

Macros

#define strncpy_P   strncpy
 

Functions

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)
 

Variables

bool led_state = 0
 

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 94 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.