Get the Wi-Fi scan results.
WIFI_API wifi_result_t wifi_get_scan_results(wifi_scan_results_t **scan_results, wifi_scan_report_t *report_type, int *num_scan_entries)
Pointer that will be set to the scan result list.
The report type for these results.
The number of list entries.
Library:libwifi (For the qcc command, use the -l wifi option to link against this library)
This function queries the latest available scan results list as well as the size of the list. It should be called after a scan result event notification is received to retrieve the scan result list. The wifi_free_scan_results() function must be called to free the scan results when scan results processing is complete.
The scan result entries can be decoded by looping from 1 to num_scan_entries and calling one of the functions prefixed with wifi_get_scan_result_ to extract the details of each scan result entry.
A return code from wifi_result_t.
Last modified: 2014-05-14