[GH-ISSUE #1359] Version 2.0.7-alpha breaks arduino build #1163

Closed
opened 2026-02-28 01:28:48 +03:00 by kerem · 1 comment
Owner

Originally created by @Jueff on GitHub (Feb 15, 2022).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1359

Basic Infos

WiFimanager 2.0.7-alpha
compiledwith Arduino IDE for Esp32, core Version 1.0.4

Description

ESP core 1.0.4 doesn't implement the member function WiFiClass::softAPSSID.
as 2.0.7-alpha uses this method the build fails.

C:\Users\USER\DOCUME~1\Arduino\LIBRAR~1\WiFiManager\WiFiManager.cpp: In member function 'String WiFiManager::getInfoData(String)':
C:\Users\USER\DOCUME~1\Arduino\LIBRAR~1\WiFiManager\WiFiManager.cpp:2097:44: error: 'class WiFiClass' has no member named 'softAPSSID'
     p.replace(FPSTR(T_1),htmlEntities(WiFi.softAPSSID()));
                                            ^
C:\Users\USER\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\WiFi

Caused by other issues I currently can't update to a newer core version.

Originally created by @Jueff on GitHub (Feb 15, 2022). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1359 ### Basic Infos WiFimanager 2.0.7-alpha compiledwith Arduino IDE for Esp32, core Version 1.0.4 ### Description ESP core 1.0.4 doesn't implement the member function WiFiClass::softAPSSID. as 2.0.7-alpha uses this method the build fails. ``` C:\Users\USER\DOCUME~1\Arduino\LIBRAR~1\WiFiManager\WiFiManager.cpp: In member function 'String WiFiManager::getInfoData(String)': C:\Users\USER\DOCUME~1\Arduino\LIBRAR~1\WiFiManager\WiFiManager.cpp:2097:44: error: 'class WiFiClass' has no member named 'softAPSSID' p.replace(FPSTR(T_1),htmlEntities(WiFi.softAPSSID())); ^ C:\Users\USER\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\WiFi ``` Caused by other issues I currently can't update to a newer core version.
kerem 2026-02-28 01:28:48 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@tablatronix commented on GitHub (Feb 15, 2022):

oops I fixed this assuming this check would fail..

#ifndef WM_NOSOFTAPSSID

= ESP_ARDUINO_VERSION_VAL(2, 0, 0)

<!-- gh-comment-id:1040326320 --> @tablatronix commented on GitHub (Feb 15, 2022): oops I fixed this assuming this check would fail.. #ifndef WM_NOSOFTAPSSID >= ESP_ARDUINO_VERSION_VAL(2, 0, 0)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#1163
No description provided.