[GH-ISSUE #1208] Some bugs with reportstatus #1029

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

Originally created by @tablatronix on GitHub (Feb 5, 2021).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1208

I need to handle getting proper last result when shutting down sta to start ap if _disableSTA* set, as it will always be WL_DISCONNECTED and we lose the error if there was one.

I added a update every-time at some point to fix something but this was incorrect and defeats the purpose.

I need to perhaps only track lasterror and clear on successes and use that when a connect failed.
As this functionality has been co-opted since it was created and now serves other purposes.

Originally created by @tablatronix on GitHub (Feb 5, 2021). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1208 I need to handle getting proper last result when shutting down sta to start ap if _disableSTA* set, as it will always be WL_DISCONNECTED and we lose the error if there was one. I added a update every-time at some point to fix something but this was incorrect and defeats the purpose. I need to perhaps only track lasterror and clear on successes and use that when a connect failed. As this functionality has been co-opted since it was created and now serves other purposes.
Author
Owner

@tablatronix commented on GitHub (Feb 5, 2021):

unit test

Connect to ap, wrong password
Connect to ap, no ssid avail
Connect to ap, success

variant autoconnect, and ondemand

<!-- gh-comment-id:774302702 --> @tablatronix commented on GitHub (Feb 5, 2021): unit test Connect to ap, wrong password Connect to ap, no ssid avail Connect to ap, success variant autoconnect, and ondemand
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#1029
No description provided.