SensESP 3.0.0-beta.6
Universal Signal K sensor toolkit ESP32
Loading...
Searching...
No Matches
sensesp::AccessPointSettings Class Reference

Storage object for WiFi access point settings. More...

#include <sensesp/net/networking.h>

Public Member Functions

 AccessPointSettings (bool enabled=true, String ssid="", String password="", int channel=9, bool hidden=false, bool captive_portal_enabled=true)
 
void as_json (JsonObject &doc)
 

Static Public Member Functions

static AccessPointSettings from_json (const JsonObject &json)
 

Public Attributes

bool enabled_
 
String ssid_
 
String password_
 
int channel_
 
bool hidden_
 
bool captive_portal_enabled_ = true
 

Detailed Description

Storage object for WiFi access point settings.

Definition at line 114 of file networking.h.

Constructor & Destructor Documentation

◆ AccessPointSettings()

sensesp::AccessPointSettings::AccessPointSettings ( bool enabled = true,
String ssid = "",
String password = "",
int channel = 9,
bool hidden = false,
bool captive_portal_enabled = true )
inline

Definition at line 116 of file networking.h.

Here is the call graph for this function:

Member Function Documentation

◆ as_json()

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

Definition at line 149 of file networking.h.

Here is the caller graph for this function:

◆ from_json()

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

Definition at line 138 of file networking.h.

Here is the caller graph for this function:

Member Data Documentation

◆ captive_portal_enabled_

bool sensesp::AccessPointSettings::captive_portal_enabled_ = true

Definition at line 136 of file networking.h.

◆ channel_

int sensesp::AccessPointSettings::channel_

Definition at line 134 of file networking.h.

◆ enabled_

bool sensesp::AccessPointSettings::enabled_

Definition at line 131 of file networking.h.

◆ hidden_

bool sensesp::AccessPointSettings::hidden_

Definition at line 135 of file networking.h.

◆ password_

String sensesp::AccessPointSettings::password_

Definition at line 133 of file networking.h.

◆ ssid_

String sensesp::AccessPointSettings::ssid_

Definition at line 132 of file networking.h.


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