1#ifndef _sensesp_base_app_H_
2#define _sensesp_base_app_H_
5#define USE_LIB_WEBSOCKET true
7#ifndef SENSESP_BUTTON_PIN
9#define SENSESP_BUTTON_PIN 0
Initialize logging/debug output.
The base class for SensESP applications.
static SensESPBaseApp * get()
Get the singleton instance of the SensESPBaseApp.
virtual void reset()
Reset the device to factory defaults.
ObservableValue< String > * hostname_
const SensESPBaseApp * set_hostname(String hostname)
DebugOutput * debug_output_
static SensESPBaseApp * instance_
static String get_hostname()
Get the current hostname.
virtual void start()
Start the app (activate all the subcomponents)
SensESPBaseApp()
Construct a new SensESP Base App object.
virtual void setup()
Perform initialization of SensESPBaseApp once builder configuration is done.
ObservableValue< String > * get_hostname_observable()
Get the hostname observable object.
constexpr auto kDefaultHostname
void SetupSerialDebug(uint32_t baudrate)