SPSP
Simple publish-subscribe protocol. Connects low power IoT clients to MQTT.
All Classes Files Functions Variables Typedefs Enumerations
Public Attributes | List of all members
SPSP::WiFi::StationConfig Struct Reference

WiFi station configuration. More...

#include <wifi_station.hpp>

Public Attributes

std::string ssid
 SSID.
 
std::string password
 Password.
 
bool lockBssid = false
 Whether to use only AP with MAC address bssid
 
uint8_t bssid [6]
 MAC address of AP.
 
bool enableWPAEnterprise = false
 
bool enableWPA3EAP192bit = false
 Unavailable on some chips.
 
std::string eapIdentity
 
std::string eapCACrt
 Certificate content, not filename.
 
std::string eapCrt
 Certificate content, not filename.
 
std::string eapCrtKey
 Certificate content, not filename.
 
std::string eapUsername
 
std::string eapPassword
 
std::string hostnamePrefix = "spsp-"
 Hostname prefix (followed by MAC address)
 
std::string sntpServer = "pool.ntp.org"
 SNTP server address.
 
bool enableIPv6 = false
 Whether to enable IPv6 addressing (waits for either IPv4 or global IPv6 address)
 
int maxTxPower = TX_POWER_DEFAULT
 Maximum transmit power (in dBm)
 
std::chrono::milliseconds initTimeout = std::chrono::seconds(20)
 Timeout for connecting to AP.
 
std::chrono::milliseconds sntpTimeout = std::chrono::seconds(20)
 Timeout for initial time synchronization using SNTP server.
 

Detailed Description

WiFi station configuration.

Definition at line 30 of file wifi_station.hpp.


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