ESPHome
2025.12.0-dev
Loading...
Searching...
No Matches
esphome
components
improv_base
improv_base.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
#include "
esphome/core/defines.h
"
5
6
namespace
esphome
{
7
namespace
improv_base {
8
9
class
ImprovBase
{
10
public
:
11
#if defined(USE_ESP32_IMPROV_NEXT_URL) || defined(USE_IMPROV_SERIAL_NEXT_URL)
12
void
set_next_url
(
const
std::string &next_url) { this->
next_url_
= next_url; }
13
#endif
14
15
protected
:
16
#if defined(USE_ESP32_IMPROV_NEXT_URL) || defined(USE_IMPROV_SERIAL_NEXT_URL)
17
std::string
get_formatted_next_url_
();
18
std::string
next_url_
;
19
#endif
20
};
21
22
}
// namespace improv_base
23
}
// namespace esphome
esphome::improv_base::ImprovBase
Definition
improv_base.h:9
esphome::improv_base::ImprovBase::next_url_
std::string next_url_
Definition
improv_base.h:18
esphome::improv_base::ImprovBase::get_formatted_next_url_
std::string get_formatted_next_url_()
Definition
improv_base.cpp:26
esphome::improv_base::ImprovBase::set_next_url
void set_next_url(const std::string &next_url)
Definition
improv_base.h:12
defines.h
esphome
Providing packet encoding functions for exchanging data with a remote host.
Definition
a01nyub.cpp:7
Generated by
1.12.0