FreeRTOS: Wi-Fi Management Library
Return to main page ↑
WIFI_Scan

Perform a Wi-Fi network Scan.

uint8_t ucNumNetworks );
Parameters
[in]pxBuffer- Buffer for scan results.
[in]ucNumNetworks- Number of networks to retrieve in scan result.
Returns
eWiFiSuccess if the Wi-Fi network scan was successful, failure code otherwise.
Note
The input buffer will have the results of the scan.

Example

const uint8_t ucNumNetworks = 10; //Get 10 scan results
WIFIScanResult_t xScanResults[ ucNumNetworks ];
WIFI_Scan( xScanResults, ucNumNetworks );