Synchronous wi-fi scan region setting function.
This function sets the scan region, which will affect the range of possible scan channels. For 2.5GHz supported in the current release, the requested scanregion can't exceed the maximum number of channels (14).
This function sets the scan list, which will affect the range of possible scan channels. For 2.5GHz supported in the current release, the requested scanregion can't exceed the maximum number of channels (14).
Functions | |
NMI_API sint8 | m2m_wifi_set_scan_list (tstrM2MScanList *pstrScanList) |
NMI_API sint8 | m2m_wifi_set_scan_region (uint8 ScanRegion) |
NMI_API sint8 m2m_wifi_set_scan_list | ( | tstrM2MScanList * | pstrScanList | ) |
[in] | ScanRegion; | pstrScanList |
References hif_send(), M2M_ERR, M2M_ERR_FAIL, m2m_memcpy(), M2M_REQ_GRP_WIFI, M2M_SUCCESS, M2M_WIFI_REQ_SET_SCAN_LIST, and NULL.
Referenced by os_m2m_wifi_set_scan_list_imp().
[in] | ScanRegion; | ASIA = 14 NORTH_AMERICA = 11 |
References hif_send(), M2M_ERR_FAIL, M2M_REQ_GRP_WIFI, M2M_WIFI_REQ_SET_SCAN_REGION, NULL, and tstrM2MScanRegion::u8ScanRegion.
Referenced by os_m2m_wifi_set_scan_region().