VintageNetWiFi.quick_scan

You're seeing just the function quick_scan, go back to VintageNetWiFi module for more information.
Link to this function

quick_scan(wait_time_ms \\ 2000)

View Source

Specs

Convenience function to scan for access points

This function initiates a scan, waits, and then returns all of the discovered access points. It's intended for quickly seeing what's around.

If you'd like to use this in a program, but want to display access point options as they're found, here's how to do it:

VintageNet.subscribe(["interface", "wlan0", "wifi", "access_points"])
VintageNet.scan("wlan0")

Then wait for messages. They'll be of the form:

{VintageNet, ["interface", "wlan0", "wifi", "access_points"], old_value, new_value, meta}

Both old_value and new_value will be lists of access points. You'll need call VintageNet.scan/1 every 30 seconds or so to repeat the scan across all WiFi channels.