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 );
WIFI_Scan
WIFIReturnCode_t WIFI_Scan(WIFIScanResult_t *pxBuffer, uint8_t ucNumNetworks)
Perform a Wi-Fi network Scan.
WIFIScanResult_t
Wi-Fi scan results.
Definition: iot_wifi.h:131
WIFIReturnCode_t
WIFIReturnCode_t
Return code denoting API status.
Definition: iot_wifi.h:50