mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 17:15:53 +03:00
[GH-ISSUE #477] Define SSID at runtime #401
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#401
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @crashtestoz on GitHub (Jan 4, 2018).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/477
Is it possible to define the SSID of the AP Server at runtime?
I tried creating a global const String variable and assigning e.g. String myssid = "MYAP" + String(ESP.getChipId());
but when I use "myssid in: wifiManager.autoConnect(myssid) I get an error.
boolean autoConnect(char const *apName, char const *apPassword = NULL);
@ldab commented on GitHub (Jan 4, 2018):
Sounds like the problem is with the String addition, you need to concatenate or strcat.