initial commit

This commit is contained in:
Dan Priece
2026-05-19 09:15:34 -04:00
commit f4201b974b
21 changed files with 2130 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
#ifndef ChronoWebServer_H
#define ChronoWebServer_H
#include <Arduino.h>
#include <WiFi.h>
#include <NetworkClient.h>
#include <ESPmDNS.h>
#include <Update.h>
#include <ChronoBLE.h>
#include <GunProfile.h>
class ChronoWebServer {
public:
// Constructor: Called when a ChronoWebServer object is created
ChronoWebServer();
void init();
void process();
void setTestModeCallback(void (*pFunc)());
private:
static void _handleRoot();
static void _handleGunProfile();
static void _handleProjectileProfile();
static void _handleAddProjectileProfile();
static void _handleSetProjectileProfile();
static void _handleRemoveProjectileProfile();
static void _handleAddGunProfile();
static void _handleSetGunProfile();
static void _handleRemoveGunProfile();
static void _handleExport();
static void _handleReset();
static void _handleFormat();
static void _handleTestMode();
};
#endif