Closed cedel1 closed 1 year ago
Will have a look if I can do anything about it and make a PR.
Fix is in the process (https://github.com/hardkernel/smartpower3/pull/24)
Fixed in release 2.0 (https://wiki.odroid.com/accessory/power_supply_battery/smartpower3#apr03_v20).
In serial, WiFi command mode, when one selects AP and then enters no or wrong password, a weird behavior happens.
Steps to reproduce:
Expected behavior:
After the first connect fails and command 3 is called again, I would expect one of two things to happen:
a. AP list from the original scan is shown and correct selection is allowed b. a new scan is started (all info from previous scan is discarded) and selection is allowed
Not sure yet which option would be better - saving one scan and possibly having stale scan info (a.) versus scanning every time when user accidentally enters wrong password (b.).
Maybe a combination of both would be best - using original scan (for example) 3 times and after that (and/or after predefined timeout) making a new scan.