mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #2] You have an error in WifiManager.cpp #2
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#2
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 @myk3y on GitHub (Jun 18, 2015).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/2
Your library is called WiFiManager, your files are called WifiManager.h and WifiManager.cpp and the references in WifiManager.cpp - L12 - are for #include "WiFiManager.cpp"
I can't understand how this tested correctly?
@myk3y commented on GitHub (Jun 18, 2015):
I corrected the error and ran the code as per your instructions - and it doesn't work at all.
Instead of an AP called 'ESP-AP', you end up with one called NoNetESP and nothing sensible on serial.
@tzapu commented on GitHub (Jun 18, 2015):
hello, my bad, updated the lib but not the readme.
the file names weren't a problem, but i've updated those as well in the latest commit for consistency. thanks.
if you can, fetch the latest one and do the following
include
#include <WiFiManager.h>init
WiFiManager wifi(0);setup function
wifi.autoConnect("ESP-AP");that should start the access point mode if it doesn t connect to wifi. you can then connect to it and open 192.168.4.1 in a browser
@myk3y commented on GitHub (Jun 18, 2015):
Cool, thanks.