SensESP 3.0.1
Universal Signal K sensor toolkit ESP32
Loading...
Searching...
No Matches
sensesp::ClientSSIDConfig Class Reference

Storage object for WiFi client settings. More...

#include <sensesp/net/networking.h>

Public Member Functions

 ClientSSIDConfig (String ssid="", String password="", bool use_dhcp=true, IPAddress ip=IPAddress(169, 254, 0, 1), IPAddress netmask=IPAddress(255, 255, 255, 0), IPAddress gateway=IPAddress(192, 168, 0, 1), IPAddress dns_server=IPAddress(8, 8, 8, 8))
 
void as_json (JsonObject &doc)
 

Static Public Member Functions

static ClientSSIDConfig from_json (const JsonObject &json)
 

Public Attributes

String ssid_
 
String password_
 
bool use_dhcp_
 
IPAddress ip_
 
IPAddress netmask_
 
IPAddress gateway_
 
IPAddress dns_server_
 

Detailed Description

Storage object for WiFi client settings.

Definition at line 163 of file networking.h.

Constructor & Destructor Documentation

◆ ClientSSIDConfig()

sensesp::ClientSSIDConfig::ClientSSIDConfig ( String ssid = "",
String password = "",
bool use_dhcp = true,
IPAddress ip = IPAddress(169, 254, 0, 1),
IPAddress netmask = IPAddress(255, 255, 255, 0),
IPAddress gateway = IPAddress(192, 168, 0, 1),
IPAddress dns_server = IPAddress(8, 8, 8, 8) )
inline

Definition at line 165 of file networking.h.

Member Function Documentation

◆ as_json()

void sensesp::ClientSSIDConfig::as_json ( JsonObject & doc)
inline

Definition at line 198 of file networking.h.

◆ from_json()

static ClientSSIDConfig sensesp::ClientSSIDConfig::from_json ( const JsonObject & json)
inlinestatic

Definition at line 186 of file networking.h.

Here is the caller graph for this function:

Member Data Documentation

◆ dns_server_

IPAddress sensesp::ClientSSIDConfig::dns_server_

Definition at line 184 of file networking.h.

◆ gateway_

IPAddress sensesp::ClientSSIDConfig::gateway_

Definition at line 183 of file networking.h.

◆ ip_

IPAddress sensesp::ClientSSIDConfig::ip_

Definition at line 181 of file networking.h.

◆ netmask_

IPAddress sensesp::ClientSSIDConfig::netmask_

Definition at line 182 of file networking.h.

◆ password_

String sensesp::ClientSSIDConfig::password_

Definition at line 179 of file networking.h.

◆ ssid_

String sensesp::ClientSSIDConfig::ssid_

Definition at line 178 of file networking.h.

◆ use_dhcp_

bool sensesp::ClientSSIDConfig::use_dhcp_

Definition at line 180 of file networking.h.


The documentation for this class was generated from the following file: