A class for quickly configuring a SensESP application object before wiring up your sensors.
More...
#include <sensesp_app_builder.h>
A class for quickly configuring a SensESP application object before wiring up your sensors.
Definition at line 21 of file sensesp_app_builder.h.
◆ SensESPAppBuilder()
sensesp::SensESPAppBuilder::SensESPAppBuilder |
( |
| ) |
|
|
inline |
◆ enable_free_mem_sensor()
◆ enable_ip_address_sensor()
Report the IP address of the device.
- Parameters
-
- Returns
- SensESPAppBuilder*
Definition at line 186 of file sensesp_app_builder.h.
◆ enable_ota()
Enable over-the-air updates for the device.
- Parameters
-
password | OTA authentication password. |
- Returns
- SensESPAppBuilder*
Definition at line 245 of file sensesp_app_builder.h.
◆ enable_system_hz_sensor()
Enable the System Hz sensor.
The System Hz sensor is a built-in sensor that measures how many times the system loop is executed per second.
- Parameters
-
- Returns
- SensESPAppBuilder*
Definition at line 138 of file sensesp_app_builder.h.
◆ enable_system_info_sensors()
◆ enable_uptime_sensor()
Report the system uptime in seconds since the last reboot.
- Parameters
-
- Returns
- SensESPAppBuilder*
Definition at line 170 of file sensesp_app_builder.h.
◆ enable_wifi_signal_sensor()
Report the Wi-Fi signal strength.
- Parameters
-
- Returns
- SensESPAppBuilder*
Definition at line 202 of file sensesp_app_builder.h.
◆ enable_wifi_watchdog()
◆ get_app()
std::shared_ptr< SensESPApp > sensesp::SensESPAppBuilder::get_app |
( |
| ) |
|
|
inline |
◆ set_admin_user()
SensESPAppBuilder * sensesp::SensESPAppBuilder::set_admin_user |
( |
const char * | username, |
|
|
const char * | password ) |
|
inline |
◆ set_button_pin()
◆ set_hostname()
|
inlinefinaloverridevirtual |
◆ set_sk_server()
SensESPAppBuilder * sensesp::SensESPAppBuilder::set_sk_server |
( |
String | address, |
|
|
uint16_t | port ) |
|
inline |
Set the Signal K server address and port.
If not set, mDNS is used to discover the Signal K server.
- Parameters
-
- Returns
- SensESPAppBuilder*
Definition at line 89 of file sensesp_app_builder.h.
◆ set_system_status_led()
Set the system status led object.
This allows custom status LED patterns to be used.
- Parameters
-
- Returns
- SensESPAppBuilder*
Definition at line 124 of file sensesp_app_builder.h.
◆ set_wifi()
SensESPAppBuilder * sensesp::SensESPAppBuilder::set_wifi |
( |
String | ssid, |
|
|
String | password ) |
|
inline |
◆ set_wifi_access_point()
SensESPAppBuilder * sensesp::SensESPAppBuilder::set_wifi_access_point |
( |
const String & | ssid, |
|
|
const String & | password ) |
|
inline |
Set the wifi access point object SSID and password.
To disable the SSID, set both to empty strings.
- Parameters
-
- Returns
- SensESPAppBuilder*
Definition at line 73 of file sensesp_app_builder.h.
◆ set_wifi_client()
SensESPAppBuilder * sensesp::SensESPAppBuilder::set_wifi_client |
( |
String | ssid, |
|
|
String | password ) |
|
inline |
Set the Wi-Fi network SSID and password.
If not set, WiFiManager is used to create an access point for configuring the settings.
- Parameters
-
- Returns
- SensESPAppBuilder*
Definition at line 53 of file sensesp_app_builder.h.
◆ set_wifi_manager_password()
SensESPAppBuilder * sensesp::SensESPAppBuilder::set_wifi_manager_password |
( |
const char * | password | ) |
|
|
inline |
Set the wifi manager password.
Set the password for the WiFi configuration access point that is enabled after device reset if no wifi configuration is provided in the application code.
- Parameters
-
- Returns
- SensESPAppBuilder*
Definition at line 261 of file sensesp_app_builder.h.
◆ app_
std::shared_ptr<SensESPApp> sensesp::SensESPAppBuilder::app_ |
|
protected |
The documentation for this class was generated from the following file: