22 lines
467 B
C
22 lines
467 B
C
#ifndef WINDENTELEMETRY_WEBINTERFACE_H
|
|
#define WINDENTELEMETRY_WEBINTERFACE_H
|
|
|
|
#include <Arduino.h>
|
|
|
|
struct TelemetrySettings
|
|
{
|
|
String callsign;
|
|
String access_point_name;
|
|
String access_point_password;
|
|
int min_speed;
|
|
int max_speed;
|
|
unsigned int active_time_seconds;
|
|
};
|
|
|
|
String firmware_version_string(void);
|
|
bool webinterface_begin(TelemetrySettings &settings);
|
|
void webinterface_handle(void);
|
|
const TelemetrySettings &webinterface_settings(void);
|
|
|
|
#endif
|