You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
538 B
31 lines
538 B
#include <Arduino.h> |
|
#include <WiFi.h> |
|
#include <WebServer.h> |
|
#include <ESPmDNS.h> |
|
#include <Update.h> |
|
#include <BG_RF95.h> |
|
|
|
#ifndef TASK_WEBSERVER |
|
#define TASK_WEBSERVER |
|
|
|
extern BG_RF95 rf95; |
|
#ifdef KISS_PROTOCOL |
|
extern WiFiServer tncServer; |
|
#endif |
|
extern WiFiServer gpsServer; |
|
typedef struct { |
|
String callsign; |
|
} tWebServerCfg; |
|
|
|
typedef struct { |
|
struct tm rxTime; |
|
String *packet; |
|
int RSSI; |
|
int SNR; |
|
} tReceivedPacketData; |
|
|
|
|
|
extern QueueHandle_t webListReceivedQueue; |
|
|
|
[[noreturn]] void taskWebServer(void *parameter); |
|
#endif |