mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 09:05:56 +03:00
[GH-ISSUE #605] Not success to store config.json in SPIFFS in example: AutoConnectWithFSParameters #505
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#505
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 @swortain on GitHub (May 5, 2018).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/605
Hi,
When I run example of AutoConnectWithFSParameters. It doesn't create a file named Config.json. I'm not sure if it is because ESP8266 will store the SSID and psd and it will connect to the WiFi. So it has connected to WiFi before WiFiManager begin....
This is shown in the Serial Monitor
SDK:2.2.1(cfd48f3)/Core:2.4.1/lwIP:2.0.3(STABLE-2_0_3_RELEASE/glue:arduino-2.4.1)
mounting FS...
SPIFFSImpl: allocating 512+240+1400=2152 bytes
SPIFFSImpl: mounting fs @10wifi evt: 2
0000, size=2fb000, block=2000, page=100
SPIFFSImpl: mount rc=0
mounted file system
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 2
cnt
*WM: Added Parameter: server
*WM: Added Parameter: port
*WM: Added Parameter: blynk
*WM: AutoConnect
*WM: Connecting as wifi client...
*WM: Custom STA IP/GW/Subnet
STUB: dhcp_stop
*WM: STA IP set: 10.0.1.99
st
connected with ASUS, channel 2
ip:10.0.1.99,mask:255.255.255.0,gw:10.0.1.1
ip:10.0.1.99,mask:255.255.255.0,gw:10.0.1.1
wifi evt: 0
wifi evt: 3
ate: 5 -> 0 (0)
rm 0
*WM: Connecting to saved AP: ASUS
*WM: connectTimeout not set, ESP waitForConnectResult...
wifi evt: 1
STA disconnect: 8
wifi evt: 8
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 2
cnt
connected with ASUS, channel 2
ip:10.0.1.99,mask:255.255.255.0,gw:10.0.1.1
ip:10.0.1.99,mask:255.255.255.0,gw:10.0.1.1
wifi evt: 0
wifi evt: 3
*WM: Connection result: WL_CONNECTED
*WM: AutoConnect: SUCCESS
*WM: STA IP Address: 10.0.1.99
connected...yeey :)
local ip
10.0.1.99
pm open,type:2 0