[GH-ISSUE #24] ap scan speed #20

Closed
opened 2026-02-28 01:22:54 +03:00 by kerem · 8 comments
Owner

Originally created by @tablatronix on GitHub (Dec 21, 2015).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/24

I am at a location where I have maybe 25 AP in range with the same name.

Sometimes the list dumps out immediately, and the page pops up.
Sometimes each one ticks by 1 every 10 seconds, and it takes forever, and the page times out.

I know i can skip scans, but why do you think this is? Maybe i can fix it since I can reproduce easily.

Originally created by @tablatronix on GitHub (Dec 21, 2015). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/24 I am at a location where I have maybe 25 AP in range with the same name. Sometimes the list dumps out immediately, and the page pops up. Sometimes each one ticks by 1 every 10 seconds, and it takes forever, and the page times out. I know i can skip scans, but why do you think this is? Maybe i can fix it since I can reproduce easily.
kerem closed this issue 2026-02-28 01:22:55 +03:00
Author
Owner

@tablatronix commented on GitHub (Dec 21, 2015):

I didn't realize there was a yield in there, maybe its something in my code.

<!-- gh-comment-id:166401622 --> @tablatronix commented on GitHub (Dec 21, 2015): I didn't realize there was a `yield` in there, maybe its something in my code.
Author
Owner

@tzapu commented on GitHub (Dec 22, 2015):

you may wanna try with delay(0) in the library instead of yield... there s been some discussions i ve seen some time ago that it improved things in some library ...

if you see them loading slowly on your screen, it i think it means the data is being sent very slowly. are you far from the esp? Does your firmware have some other loops/timers in parallel ?

cheers

<!-- gh-comment-id:166519244 --> @tzapu commented on GitHub (Dec 22, 2015): you may wanna try with delay(0) in the library instead of yield... there s been some discussions i ve seen some time ago that it improved things in some library ... if you see them loading slowly on your screen, it i think it means the data is being sent very slowly. are you far from the esp? Does your firmware have some other loops/timers in parallel ? cheers
Author
Owner

@tablatronix commented on GitHub (Dec 22, 2015):

Im sure its another delay blocking. I have a button library scanning for button presses I recently added.
Works fast when I commented out the yield.

( hehe, I think the scheduler library still says beta.)

<!-- gh-comment-id:166729723 --> @tablatronix commented on GitHub (Dec 22, 2015): Im sure its another delay blocking. I have a button library scanning for button presses I recently added. Works fast when I commented out the yield. ( hehe, I think the scheduler library still says beta.)
Author
Owner

@tzapu commented on GitHub (Dec 23, 2015):

does it work any better with delay(0) instead of the yield()?

<!-- gh-comment-id:166815674 --> @tzapu commented on GitHub (Dec 23, 2015): does it work any better with delay(0) instead of the yield()?
Author
Owner

@tablatronix commented on GitHub (Dec 23, 2015):

It sees to have resolved itself, if it comes up again I will check.
Not sure what changed.

<!-- gh-comment-id:166974570 --> @tablatronix commented on GitHub (Dec 23, 2015): It sees to have resolved itself, if it comes up again I will check. Not sure what changed.
Author
Owner

@tzapu commented on GitHub (Dec 27, 2015):

could you tell me if you were connecting to the esp from a mobile device or a computer/laptop?

<!-- gh-comment-id:167396315 --> @tzapu commented on GitHub (Dec 27, 2015): could you tell me if you were connecting to the esp from a mobile device or a computer/laptop?
Author
Owner

@tablatronix commented on GitHub (Dec 27, 2015):

IPHONE with serial monitor running on pc

I do not recall if I started using the esp8266 git version before or after, so that might have fixed it.

<!-- gh-comment-id:167418719 --> @tablatronix commented on GitHub (Dec 27, 2015): IPHONE with serial monitor running on pc I do not recall if I started using the esp8266 git version before or after, so that might have fixed it.
Author
Owner

@tzapu commented on GitHub (Jan 4, 2016):

i ll close this. feel free to reopen it if you run into that again
thanks

<!-- gh-comment-id:168672565 --> @tzapu commented on GitHub (Jan 4, 2016): i ll close this. feel free to reopen it if you run into that again thanks
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#20
No description provided.