I'd like to have a termux-wifi-scan command to actively trigger the OS to start a wifi scan. This would make termux-wifi-scaninfo more powerful, as one could grant that the last scan happened in recent past. Currently, sometimes termux-wifi-scaninfo shows wifis I did not see for several minutes (up to 15 min).
Reference implementation
Have you checked if the feature is accessible through the Android API?
Feature description
I'd like to have a
termux-wifi-scan
command to actively trigger the OS to start a wifi scan. This would maketermux-wifi-scaninfo
more powerful, as one could grant that the last scan happened in recent past. Currently, sometimestermux-wifi-scaninfo
shows wifis I did not see for several minutes (up to 15 min).Reference implementation
Have you checked if the feature is accessible through the Android API?
Do you know of other open-source apps that has a similar feature as the one you want? (Provide links)
Scanner.update()
.I assume it is not very likely to add a feature based on a deprecated API call. Anyway, I think it is worth giving it a try.
Thanks in advance ;)