some big change using state machine

This commit is contained in:
2025-08-28 15:58:50 +02:00
parent 7cdf5d4682
commit 83d589a3ec
9 changed files with 122 additions and 45 deletions

View File

@@ -1,9 +1,9 @@
#pragma once
#include <string>
#include <string_view>
class OTAHandler {
public:
OTAHandler(std::string hostname);
OTAHandler(std::string_view hostname);
void poll();
};