ESPHome 2026.11.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.
 
 ESPHOME_LOG_TAG (TAG, "host")
 
HostPreferences * get_preferences ()
 
 ESPHOME_LOG_TAG (TAG, "preferences")
 
void setup_preferences ()
 

Variables

HostPreferences * host_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.

◆ ESPHOME_LOG_TAG() [1/2]

esphome::host::ESPHOME_LOG_TAG ( TAG ,
"host"  )

◆ ESPHOME_LOG_TAG() [2/2]

esphome::host::ESPHOME_LOG_TAG ( TAG ,
"preferences"  )

◆ 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 93 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 95 of file preferences.cpp.

Variable Documentation

◆ host_preferences

HostPreferences * esphome::host::host_preferences

Definition at line 108 of file preferences.cpp.