[GH-ISSUE #32] refactor: abstract ap scanning #27

Open
opened 2026-02-28 01:22:57 +03:00 by kerem · 3 comments
Owner

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

Abstract wifi scanning out of handleWifi so it can be called on its own.

Probably need to abstract most of the html outputters so they can be called internally or used to callout to server->sendContent(item); externally.

make the code more portable

Originally created by @tablatronix on GitHub (Dec 23, 2015). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/32 Abstract wifi scanning out of `handleWifi` so it can be called on its own. Probably need to abstract most of the html outputters so they can be called internally or used to callout to `server->sendContent(item);` externally. make the code more portable
Author
Owner

@tzapu commented on GitHub (Mar 8, 2016):

well, do you think there would still be a need for this?
there isn t much you can do realy with scanning...
also, most users of this lib, i don t think would mess about with html through abstractors, etc

currently to me it just seems a lot of effort with little to no payback

<!-- gh-comment-id:193619419 --> @tzapu commented on GitHub (Mar 8, 2016): well, do you think there would still be a need for this? there isn t much you can do realy with scanning... also, most users of this lib, i don t think would mess about with html through abstractors, etc currently to me it just seems a lot of effort with little to no payback
Author
Owner

@tablatronix commented on GitHub (Mar 8, 2016):

I thought you had plans to add templating

<!-- gh-comment-id:193777601 --> @tablatronix commented on GitHub (Mar 8, 2016): I thought you had plans to add templating
Author
Owner

@tablatronix commented on GitHub (Aug 28, 2017):

abstracting scanning needs to be done to allow live ajax scanning updating and prescan so the config page does not have to wait on it

<!-- gh-comment-id:325379717 --> @tablatronix commented on GitHub (Aug 28, 2017): abstracting scanning needs to be done to allow live ajax scanning updating and prescan so the config page does not have to wait on it
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#27
No description provided.