SensESP 2.7.2
Universal Signal K sensor toolkit ESP32
Loading...
Searching...
No Matches
ota.h
Go to the documentation of this file.
1#ifndef _ota_H_
2#define _ota_H_
3
5
6namespace sensesp {
7
8class OTA : public Startable {
9 public:
15 OTA(const char* password) : Startable{0}, password_{password} {}
16 virtual void start() override;
17
18 private:
19 const char* password_;
20 static void handle_ota();
21};
22
23} // namespace sensesp
24
25#endif
Construct a new transform based on a single function.
virtual void start() override
Definition ota.cpp:10
OTA(const char *password)
Construct a new OTA (Over-the-air update) object.
Definition ota.h:15
Automatic calling of the start() method at startup.
Definition startable.h:20