ESPHome 2026.6.0-dev
Loading...
Searching...
No Matches
esphome::host Namespace Reference

Data Structures

class  HostGPIOPin
 
class  HostPreferenceBackend
 
class  HostPreferences
 
class  HostTime
 

Functions

char ** get_argv ()
 argv captured by main(); stable for process lifetime.
 
const std::string & get_exe_path ()
 Absolute path to running exe (resolved at startup); empty on failure.
 
void arm_reexec (const std::string &path)
 Arm an execv on the next arch_restart(). Pass empty to disarm.
 
const char * get_reexec_path ()
 Armed re-exec path, or nullptr.
 
HostPreferencesget_preferences ()
 
void setup_preferences ()
 

Variables

HostPreferenceshost_preferences
 

Function Documentation

◆ arm_reexec()

void esphome::host::arm_reexec ( const std::string & path)

Arm an execv on the next arch_restart(). Pass empty to disarm.

Definition at line 66 of file core.cpp.

◆ get_argv()

char ** esphome::host::get_argv ( )

argv captured by main(); stable for process lifetime.

Definition at line 59 of file core.cpp.

◆ get_exe_path()

const std::string & esphome::host::get_exe_path ( )

Absolute path to running exe (resolved at startup); empty on failure.

Definition at line 61 of file core.cpp.

◆ get_preferences()

HostPreferences * esphome::host::get_preferences ( )

Definition at line 79 of file preferences.cpp.

◆ get_reexec_path()

const char * esphome::host::get_reexec_path ( )

Armed re-exec path, or nullptr.

Definition at line 71 of file core.cpp.

◆ setup_preferences()

void esphome::host::setup_preferences ( )

Definition at line 81 of file preferences.cpp.

Variable Documentation

◆ host_preferences

HostPreferences * esphome::host::host_preferences

Definition at line 92 of file preferences.cpp.