SensESP 2.7.2
Universal Signal K sensor toolkit ESP32
|
Provide information about the current WiFi state. More...
#include <sensesp/net/networking.h>
Static Public Member Functions | |
static WiFiStateProducer * | get_singleton () |
Get the singleton instance of the WiFiStateProducer. | |
Static Public Member Functions inherited from sensesp::Startable | |
static void | start_all () |
Protected Member Functions | |
WiFiStateProducer () | |
void | setup_wifi_callbacks () |
void | wifi_station_connected () |
void | wifi_ap_enabled () |
void | wifi_disconnected () |
Static Protected Attributes | |
static WiFiStateProducer * | instance_ = nullptr |
Additional Inherited Members | |
Protected Attributes inherited from sensesp::ValueProducer< WiFiState > | |
WiFiState | output |
Provide information about the current WiFi state.
WiFiStateProducer reads the current network state using Arduino Core callbacks. It is a replacement for the Networking class ValueProducer output and effectively decouples the Networkig class from the rest of the system. This allows for replacing the Networking class with a different implementation.
Definition at line 28 of file networking.h.
|
delete |
Singletons should not be cloneable
|
inlineprotected |
|
static |
Get the singleton instance of the WiFiStateProducer.
Definition at line 282 of file networking.cpp.
|
delete |
Singletons should not be assignable
|
inlineprotected |
Definition at line 54 of file networking.h.
Called during the initialization process. Override this method to add runtime initialization code to your class
Reimplemented from sensesp::Startable.
Definition at line 45 of file networking.h.
|
inlineprotected |
Definition at line 80 of file networking.h.
|
inlineprotected |
Definition at line 91 of file networking.h.
|
inlineprotected |
Definition at line 71 of file networking.h.
|
staticprotected |
Definition at line 96 of file networking.h.