View Source VintageNetWiFi.BSSIDRequester (vintage_net_wifi v0.10.8)
Request access point information asynchronously
Getting access point information is important, but it's easy to fall behind and start blocking more important requests. This GenServer handles this separate from the main WPASupplicant GenServer.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Don't bother looking up AP info
Request information on a BSSID or an access point index
Get info on all known access points
Start a GenServer
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Specs
forget_access_point_info( GenServer.server(), String.t() | non_neg_integer(), any() ) :: :ok
Don't bother looking up AP info
This request doesn't do anything but send back a message to remove an access point.
It's needed for flushing out data returned asynchronously from get_access_point_info/2
calls
Specs
get_access_point_info(GenServer.server(), String.t() | non_neg_integer(), any()) :: :ok
Request information on a BSSID or an access point index
The response comes back to the process that started this GenServer with the details.
Specs
get_all_access_points(GenServer.server(), any()) :: :ok
Get info on all known access points
This is the get everything all at once call. Everything is sent back. If it's not known, then it's not known.
Specs
start_link(keyword()) :: GenServer.on_start()
Start a GenServer
Arguments:
:ll
- the WPASupplicantLL GenServer pid:notification_pid
- where to send response messages