Great, I am happy this is of some value.
I should point out that the flowchart covers logic related to the checking and selecting of the saved APs. It does not cover the need to configure a new AP (unsaved location). While LuCi can configure a new AP, the wifiMgr needs to support this. The issue that I had was the BSSID, which I deleted during the STA change. It appears that you are including BSSID in your field set, but I do not see it in the config file. I do not expect you are planning an alternative tool to Luci, but the current approach is cumbersome at best. At worst one can end up with a STA and no Client (or access).
I did not call out the PingSleep in the flowchart, and I see you have something called ## TEST IF NETWORK IS UP ##. Is this the gray box at the top of the flowchart? I put "2" as the value to repeat this check. Not sure how it works, if this is a good value or needed. Set as you see fit.
I see a function ## SORT SCANNED NETWORKS AND CREATE A TABLE... ##. What options are there for sorting? Is there such a thing as signal strength? Otherwise I am inclined to use natural order.
Do you see this being something that will be deployed with OPKG INSTALL ...?
It may be worth changing the name slightly to differentiate your effort from the original product. I'll leave it up to you.
Some alternatives: wifimgr2, wifimanager, connectionmanager, wwanmanager
I'm not sure what effort you are willing to put here, please let me know if this is pushing. As this is mostly designed for travel routers, it would be helpful if there was an alternative (Web) GUI for mobile (ie no PC). Luci is not mobile friendly. I know GLI has a GUI on top of OpenWRT. I'm not sure how feasible this is or if it's even the same tool set. I though that I would put this on the table now in case it has any design impact. Call it phase II
I think we can assume the user would only need to use this to connect to a "new" location, so...
1 - check credentials
2 - perform a scan
3 - select result
4 - confirm connection
5 - option to save location
I do not see a need to for this do any thing else. Not looking for this to config the app or the router. Just make a new connection with the least amount of key strokes.