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
4
#include "
sensesp/system/startable.h
"
5
6
namespace
sensesp
{
7
8
class
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
sensesp::LambdaTransform
Construct a new transform based on a single function.
Definition
lambda_transform.h:71
sensesp::OTA
Definition
ota.h:8
sensesp::OTA::start
virtual void start() override
Definition
ota.cpp:10
sensesp::OTA::OTA
OTA(const char *password)
Construct a new OTA (Over-the-air update) object.
Definition
ota.h:15
sensesp::Startable
Automatic calling of the start() method at startup.
Definition
startable.h:20
sensesp
Definition
sensesp.h:22
startable.h
src
sensesp
net
ota.h
Generated by
1.9.8