Reports the current strength of the wifi signal that the ESP is connected to.
More...
#include <sensesp/sensors/system_info.h>
|
| | WiFiSignal () |
| virtual | ~WiFiSignal () |
| String | get_value_name () |
| | ValueProducer () |
| | ValueProducer (const int &initial_value) |
| virtual const int & | get () const |
| std::enable_if< std::is_base_of< ValueConsumer< typenameVConsumer::input_type >, VConsumer >::value &&std::is_convertible< int, typenameVConsumer::input_type >::value, std::shared_ptr< VConsumer > >::type | connect_to (std::shared_ptr< VConsumer > consumer) |
| | Connect a producer to a transform with a different input type.
|
| std::enable_if< std::is_base_of< ValueConsumer< typenameVConsumer::input_type >, VConsumer >::value &&std::is_convertible< int, typenameVConsumer::input_type >::value, VConsumer * >::type | connect_to (VConsumer *consumer) |
| std::enable_if< std::is_base_of< ValueConsumer< typenameVConsumer::input_type >, VConsumer >::value &&std::is_convertible< int, typenameVConsumer::input_type >::value, VConsumer * >::type | connect_to (VConsumer &consumer) |
| void | emit (const int &new_value) |
| | Observable () |
| | Observable (Observable &&other) |
| | Move constructor.
|
| void | notify () |
| int | attach (std::function< void()> observer) |
| | Attach an observer callback.
|
| void | detach (int id) |
| | Remove a previously attached observer by its ID.
|
Reports the current strength of the wifi signal that the ESP is connected to.
Nothing about it is configurable, except whether or not it appears in your project's output. That is configured with SensESPAppBuilder.
Definition at line 149 of file system_info.h.
◆ WiFiSignal()
| sensesp::WiFiSignal::WiFiSignal |
( |
| ) |
|
|
inline |
◆ ~WiFiSignal()
| virtual sensesp::WiFiSignal::~WiFiSignal |
( |
| ) |
|
|
inlinevirtual |
◆ get_value_name()
| String sensesp::WiFiSignal::get_value_name |
( |
| ) |
|
|
inline |
◆ update()
| void sensesp::WiFiSignal::update |
( |
| ) |
|
|
protected |
◆ repeat_event_
| reactesp::RepeatEvent* sensesp::WiFiSignal::repeat_event_ = nullptr |
|
protected |
The documentation for this class was generated from the following files: