Asychronous wi-fi hotspot enabling function.
The WILC supports AP mode operation with the following limitations:
Functions | |
NMI_API sint8 | m2m_wifi_enable_ap (CONST tstrM2MAPConfig *pstrM2MAPConfig) |
NMI_API sint8 m2m_wifi_enable_ap | ( | CONST tstrM2MAPConfig * | pstrM2MAPConfig | ) |
[in] | pstrM2MAPConfig | A structure holding the AP configurations. |
The code snippet demonstrates how the AP mode is enabled after the driver is initialized in the application's main function
References tuniM2MWifiAuth::au8PMK, hif_send(), m2m_memcpy(), M2M_REQ_GRP_WIFI, m2m_strlen(), M2M_SUCCESS, M2M_WIFI_REQ_ENABLE_AP, M2M_WIFI_SEC_WPA_PSK, NULL, pbkdf2_sha1(), tstrM2MAPConfig::u8IsPMKUsed, and tstrM2MAPConfig::uniAuth.
Referenced by m2m_wifi_enable_ap_ex(), and os_m2m_wifi_enable_ap_imp().