5.2 Wi-Fi Scan
A Wi-Fi scan operation can be initiated by calling the
m2m_wifi_request_scan
API. The scan can be performed on all 2.4GHz
Wi-Fi channels or on a specific requested channel.
The scan response time depends on the scan options which can be set by
calling m2m_wifi_set_scan_options(tstrM2MScanOption*
ptstrM2MScanOption)
. For instance, if the host MCU
application requests to scan all channels, the scan time is equal to
NoOfChannels (13) *
ptstrM2MScanOption->u8NumOfSlot
*
ptstrM2MScanOption->u8SlotTime
.