63 debugD(
"Got system status: %d", (
int)input);
66 debugW(
"Unable to connect to wifi for too long; restarting.");
67 ReactESP::app->onDelay(1000, []() {
ESP.restart(); });
Manages the ESP's connection to the Wifi network.
SensESPApp()
SensESPApp constructor.
static SensESPApp * get()
Get the singleton instance of the SensESPApp.
SKDeltaQueue * sk_delta_queue_
void setup()
Perform initialization of SensESPApp once builder configuration is done.
String sk_server_address_
HTTPServer * http_server_
const char * ota_password_
SystemStatusLed * system_status_led_
SystemStatusController system_status_controller_
ObservableValue< String > * get_hostname_observable()
ButtonHandler * button_handler_
const char * wifi_manager_password_
MDNSDiscovery * mdns_discovery_
ObservableValue< String > * hostname_
static SensESPBaseApp * instance_
static String get_hostname()
Get the current hostname.
virtual void setup()
Perform initialization of SensESPBaseApp once builder configuration is done.
Consumes the networking and websocket states and delta counts and updates the device LED accordingly....
void connect_to(ValueConsumer< T > *consumer, uint8_t input_channel=0)
The websocket connection to the Signal K server.
ValueProducer< int > & get_delta_count_producer()
static WiFiStateProducer * get_singleton()
Get the singleton instance of the WiFiStateProducer.