@@ -176,9 +176,6 @@ namespace Mycila {
176
176
// Returns the signal quality (percentage from 0 to 100) of the current WiFi, or -1 if not available
177
177
int8_t getWiFiSignalQuality () const ;
178
178
179
- // the hostname passed from begin()
180
- const ESPCONNECT_STRING& getHostname () const { return _config.hostname ; }
181
-
182
179
// SSID name used for the captive portal or in AP mode
183
180
const ESPCONNECT_STRING& getAccessPointSSID () const { return _apSSID; }
184
181
// Password used for the captive portal or in AP mode
@@ -190,22 +187,6 @@ namespace Mycila {
190
187
Config& getConfig () { return _config; }
191
188
// Set the current configuration
192
189
void setConfig (const Config& config) { _config = config; }
193
-
194
- // BSSID name to connect to, loaded from config or set from begin(), or from the captive portal
195
- const ESPCONNECT_STRING& getConfiguredWiFiBSSID () const { return _config.wifiBSSID ; }
196
- // SSID name to connect to, loaded from config or set from begin(), or from the captive portal
197
- const ESPCONNECT_STRING& getConfiguredWiFiSSID () const { return _config.wifiSSID ; }
198
- // Password for the WiFi to connect to, loaded from config or set from begin(), or from the captive portal
199
- const ESPCONNECT_STRING& getConfiguredWiFiPassword () const { return _config.wifiPassword ; }
200
- // whether we need to set the ESP to stay in AP mode or not, loaded from config, begin(), or from captive portal
201
- bool hasConfiguredAPMode () const { return _config.apMode ; }
202
-
203
- // IP configuration used for WiFi or ETH
204
- const IPConfig& getIPConfig () const { return _config.ipConfig ; }
205
- // Static IP configuration: by default, DHCP is used
206
- // The static IP configuration applies to the WiFi STA connection, except if ETH is used for ETH board, then it applies only to the Ethernet connection.
207
- void setIPConfig (const IPConfig& ipConfig) { _config.ipConfig = ipConfig; }
208
-
209
190
// Maximum duration that the captive portal will be active before closing
210
191
uint32_t getCaptivePortalTimeout () const { return _portalTimeout; }
211
192
// Maximum duration that the captive portal will be active before closing
0 commit comments