Initial commit: add stepper controller firmware

This commit is contained in:
toptah
2026-09-14 19:44:52 +02:00
commit f2d60303ee
19 changed files with 794 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#pragma once
#include <Arduino.h>
#include <ESP8266WiFi.h>
#include "config/ConfigManager.h"
class NetworkManager {
public:
bool begin(const WifiConfig& config, const String& hostname);
void update();
void startAccessPoint(const WifiConfig& config, const String& hostname);
bool isAccessPoint() const;
bool isConnected() const;
String modeName() const;
String ipAddress() const;
private:
bool accessPoint_ = false;
unsigned long lastReconnectAttempt_ = 0;
};