main/task_http.h

Sat, 18 May 2019 11:34:51 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Sat, 18 May 2019 11:34:51 +0200
changeset 49
4ec04c6f1551
parent 0
b74b0e4902c3
permissions
-rw-r--r--

SNTP uses a callback function to mark the system time is valid. SNTP is started after we received a DHCP ip address. Added an config option to set a preffered NTP server name, most likely on your most used LAN. It will always fal back to pool.ntp.org.

/**
 * @file task_http.h
 * @brief HTTP and Websocket server functions.
 */

#ifndef	_TASK_HTTP_H
#define	_TASK_HTTP_H


/**
 * @brief Start the HTTP/Websocket server.
 */
void start_http_websocket(void);

#endif

mercurial