ESPHome  2022.9.3
Public Member Functions | Protected Attributes
esphome::wifi::WiFiAP Class Reference

#include <wifi_component.h>

Public Member Functions

void set_ssid (const std::string &ssid)
 
void set_bssid (bssid_t bssid)
 
void set_bssid (optional< bssid_t > bssid)
 
void set_password (const std::string &password)
 
void set_eap (optional< EAPAuth > eap_auth)
 
void set_channel (optional< uint8_t > channel)
 
void set_priority (float priority)
 
void set_manual_ip (optional< ManualIP > manual_ip)
 
void set_hidden (bool hidden)
 
const std::string & get_ssid () const
 
const optional< bssid_t > & get_bssid () const
 
const std::string & get_password () const
 
const optional< EAPAuth > & get_eap () const
 
const optional< uint8_t > & get_channel () const
 
float get_priority () const
 
const optional< ManualIP > & get_manual_ip () const
 
bool get_hidden () const
 

Protected Attributes

std::string ssid_
 
optional< bssid_tbssid_
 
std::string password_
 
optional< EAPAutheap_
 
optional< uint8_t > channel_
 
float priority_ {0}
 
optional< ManualIPmanual_ip_
 
bool hidden_ {false}
 

Detailed Description

Definition at line 87 of file wifi_component.h.

Member Function Documentation

◆ get_bssid()

const optional< bssid_t > & esphome::wifi::WiFiAP::get_bssid ( ) const

Definition at line 646 of file wifi_component.cpp.

◆ get_channel()

const optional< uint8_t > & esphome::wifi::WiFiAP::get_channel ( ) const

Definition at line 651 of file wifi_component.cpp.

◆ get_eap()

const optional< EAPAuth > & esphome::wifi::WiFiAP::get_eap ( ) const

Definition at line 649 of file wifi_component.cpp.

◆ get_hidden()

bool esphome::wifi::WiFiAP::get_hidden ( ) const

Definition at line 653 of file wifi_component.cpp.

◆ get_manual_ip()

const optional< ManualIP > & esphome::wifi::WiFiAP::get_manual_ip ( ) const

Definition at line 652 of file wifi_component.cpp.

◆ get_password()

const std::string & esphome::wifi::WiFiAP::get_password ( ) const

Definition at line 647 of file wifi_component.cpp.

◆ get_priority()

float esphome::wifi::WiFiAP::get_priority ( ) const
inline

Definition at line 107 of file wifi_component.h.

◆ get_ssid()

const std::string & esphome::wifi::WiFiAP::get_ssid ( ) const

Definition at line 645 of file wifi_component.cpp.

◆ set_bssid() [1/2]

void esphome::wifi::WiFiAP::set_bssid ( bssid_t  bssid)

Definition at line 636 of file wifi_component.cpp.

◆ set_bssid() [2/2]

void esphome::wifi::WiFiAP::set_bssid ( optional< bssid_t bssid)

Definition at line 637 of file wifi_component.cpp.

◆ set_channel()

void esphome::wifi::WiFiAP::set_channel ( optional< uint8_t >  channel)

Definition at line 642 of file wifi_component.cpp.

◆ set_eap()

void esphome::wifi::WiFiAP::set_eap ( optional< EAPAuth eap_auth)

Definition at line 640 of file wifi_component.cpp.

◆ set_hidden()

void esphome::wifi::WiFiAP::set_hidden ( bool  hidden)

Definition at line 644 of file wifi_component.cpp.

◆ set_manual_ip()

void esphome::wifi::WiFiAP::set_manual_ip ( optional< ManualIP manual_ip)

Definition at line 643 of file wifi_component.cpp.

◆ set_password()

void esphome::wifi::WiFiAP::set_password ( const std::string &  password)

Definition at line 638 of file wifi_component.cpp.

◆ set_priority()

void esphome::wifi::WiFiAP::set_priority ( float  priority)
inline

Definition at line 97 of file wifi_component.h.

◆ set_ssid()

void esphome::wifi::WiFiAP::set_ssid ( const std::string &  ssid)

Definition at line 635 of file wifi_component.cpp.

Field Documentation

◆ bssid_

optional<bssid_t> esphome::wifi::WiFiAP::bssid_
protected

Definition at line 113 of file wifi_component.h.

◆ channel_

optional<uint8_t> esphome::wifi::WiFiAP::channel_
protected

Definition at line 118 of file wifi_component.h.

◆ eap_

optional<EAPAuth> esphome::wifi::WiFiAP::eap_
protected

Definition at line 116 of file wifi_component.h.

◆ hidden_

bool esphome::wifi::WiFiAP::hidden_ {false}
protected

Definition at line 121 of file wifi_component.h.

◆ manual_ip_

optional<ManualIP> esphome::wifi::WiFiAP::manual_ip_
protected

Definition at line 120 of file wifi_component.h.

◆ password_

std::string esphome::wifi::WiFiAP::password_
protected

Definition at line 114 of file wifi_component.h.

◆ priority_

float esphome::wifi::WiFiAP::priority_ {0}
protected

Definition at line 119 of file wifi_component.h.

◆ ssid_

std::string esphome::wifi::WiFiAP::ssid_
protected

Definition at line 112 of file wifi_component.h.


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