Listens for AP state updates and prints each update that is received.
Issues a connect call to the client policy layer and waits for the connection process to
complete.
Issues a call to the client policy layer to get saved networks and prints all saved network
configurations.
Listens for client state updates and prints each update that is received. Updates are printed
in the following format:
Communicates with the client policy layer to remove a network. This will also get the list of
saved networks before and after to indicate whether anything was removed, since there is no
error if the specified network was never saved.
Communicates with the client policy layer to save a network configuration.
Issues a scan request to the client policy layer.
Asks the policy layer to start an AP with the user’s specified network configuration.
Requests that the policy layer start client connections.
Requests that the policy layer stop all AP interfaces.
Requests that the policy layer stop the AP associated with the given network configuration.
Asks the client policy layer to stop client connections.
Iterates through a vector of network configurations and prints their contents.
Iterates through a vector of scan results and prints each one.
Prints a serialized version of saved networks
Deserializes the output of serialize_saved_networks and saves them