SensESP 3.0.1
Universal Signal K sensor toolkit ESP32
|
Consumes the networking and websocket states and delta counts and updates the device LED accordingly. Inherit this class and override the methods to customize the behavior. More...
#include <sensesp/system/system_status_led.h>
Public Member Functions | |
SystemStatusLed (int pin) | |
ValueConsumer< SystemStatus > & | get_system_status_consumer () |
ValueConsumer< int > & | get_delta_tx_count_consumer () |
Protected Member Functions | |
virtual void | set_wifi_no_ap () |
virtual void | set_wifi_disconnected () |
virtual void | set_wifimanager_activated () |
virtual void | set_ws_disconnected () |
virtual void | set_ws_authorizing () |
virtual void | set_ws_connecting () |
virtual void | set_ws_connected () |
Protected Attributes | |
std::unique_ptr< PatternBlinker > | blinker_ |
LambdaConsumer< SystemStatus > | system_status_consumer_ |
LambdaConsumer< int > | delta_tx_count_consumer_ |
Consumes the networking and websocket states and delta counts and updates the device LED accordingly. Inherit this class and override the methods to customize the behavior.
Definition at line 17 of file system_status_led.h.
sensesp::SystemStatusLed::SystemStatusLed | ( | int | pin | ) |
Definition at line 35 of file system_status_led.cpp.
|
inline |
Definition at line 66 of file system_status_led.h.
|
inline |
Definition at line 63 of file system_status_led.h.
|
protectedvirtual |
Definition at line 40 of file system_status_led.cpp.
|
protectedvirtual |
Definition at line 39 of file system_status_led.cpp.
|
protectedvirtual |
Definition at line 43 of file system_status_led.cpp.
|
protectedvirtual |
Definition at line 49 of file system_status_led.cpp.
|
protectedvirtual |
Definition at line 55 of file system_status_led.cpp.
|
protectedvirtual |
Definition at line 52 of file system_status_led.cpp.
|
protectedvirtual |
Definition at line 46 of file system_status_led.cpp.
|
protected |
Definition at line 19 of file system_status_led.h.
|
protected |
Definition at line 57 of file system_status_led.h.
|
protected |
Definition at line 30 of file system_status_led.h.