mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #130] Add password to AP with generated name #98
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#98
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 @javl on GitHub (Mar 20, 2016).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/130
I tried to expand the code so you could have the ESP generate its own AP name, but also have it use a provided password. I tried doing this by adding a
wifiManager.ssidToName()function that returned the generated AP name, which you could then use as the first argument ofautoConnect(). But something goes wrong when passing it toautoConnect(). I thought it worked in my pull request #128 but it showed up as a bunch of weird characters in the Wifi menu on my computer.Any idea if this would be easy to implement?
Using this, you could easily set up a large amount of devices (because of their unique AP names) but still have them somewhat protected while you work your way through setting them all up.
@tzapu commented on GitHub (Mar 21, 2016):
hi, auto generation is already in, without password though.
i ll see about adding auto generated name, and password, need to rework some of that as well
@javl commented on GitHub (Mar 21, 2016):
I saw the autogenerate was already there, but I tried to add a password to it. But I wasn't sure how to pass the generated AP name to the autoConnect() function (it seems to expects a pointer as the apName argument?)
@ozayturay commented on GitHub (Aug 20, 2016):
works but
does not work. Somehow the .c_str() suffix needs to be inside the autoConnect parameters not outside.
Maybe this helps to add this feature but it is not very much needed as it just adds one more line to user code.