Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
co2ampel
ampel-firmware
Commits
f8b87cdb
Commit
f8b87cdb
authored
Feb 07, 2022
by
Eric Duminil
Browse files
Web server h -> cpp
parent
b0ab62b0
Pipeline
#5741
canceled with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ampel-firmware/web_server.cpp
View file @
f8b87cdb
#include
"web_server.h"
#if defined(ESP8266)
# include <ESP8266WebServer.h>
#elif defined(ESP32)
# include <WebServer.h>
#endif
#include
"config.h"
#include
"util.h"
#include
"wifi_util.h"
#include
"co2_sensor.h"
#include
"sensor_console.h"
#ifdef AMPEL_CSV
# include "csv_writer.h"
#endif
#ifdef AMPEL_MQTT
# include "mqtt.h"
#endif
#ifdef AMPEL_LORAWAN
# include "lorawan.h"
#endif
namespace
config
{
// Values should be defined in config.h
#ifdef HTTP_USER
...
...
ampel-firmware/web_server.h
View file @
f8b87cdb
#ifndef WEB_SERVER_H_
#define WEB_SERVER_H_
#if defined(ESP8266)
# include <ESP8266WebServer.h>
#elif defined(ESP32)
# include <WebServer.h>
#endif
#include
"config.h"
#include
"util.h"
#include
"wifi_util.h"
#include
"co2_sensor.h"
#include
"sensor_console.h"
#ifdef AMPEL_CSV
# include "csv_writer.h"
#endif
#ifdef AMPEL_MQTT
# include "mqtt.h"
#endif
#ifdef AMPEL_LORAWAN
# include "lorawan.h"
#endif
namespace
web_server
{
void
initialize
();
void
update
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment