ESPHome 2026.10.0-dev
Loading...
Searching...
No Matches
esphome::improv_base::ImprovBase Class Reference

#include <improv_base.h>

Inheritance diagram for esphome::improv_base::ImprovBase:
esphome::esp32_improv::ESP32ImprovComponent esphome::improv_serial::ImprovSerialComponent

Public Member Functions

void set_next_url (const char *next_url)
 

Protected Member Functions

size_t get_formatted_next_url_ (char *buffer, size_t buffer_size)
 Format next_url_ into buffer, replacing placeholders. Returns length written.
 
void add_next_url_ (improv::RpcResponseBuilder &builder, size_t max_len)
 Append the formatted next_url to the RPC response, warning if it does not fit.
 

Protected Attributes

const char * next_url_ {nullptr}
 

Detailed Description

Definition at line 12 of file improv_base.h.

Member Function Documentation

◆ add_next_url_()

void esphome::improv_base::ImprovBase::add_next_url_ ( improv::RpcResponseBuilder & builder,
size_t max_len )
protected

Append the formatted next_url to the RPC response, warning if it does not fit.

Definition at line 69 of file improv_base.cpp.

◆ get_formatted_next_url_()

size_t esphome::improv_base::ImprovBase::get_formatted_next_url_ ( char * buffer,
size_t buffer_size )
protected

Format next_url_ into buffer, replacing placeholders. Returns length written.

Definition at line 30 of file improv_base.cpp.

◆ set_next_url()

void esphome::improv_base::ImprovBase::set_next_url ( const char * next_url)
inline

Definition at line 15 of file improv_base.h.

Field Documentation

◆ next_url_

const char* esphome::improv_base::ImprovBase::next_url_ {nullptr}
protected

Definition at line 24 of file improv_base.h.


The documentation for this class was generated from the following files: