Updated: October 28, 2024 |
Update the profile settings for the access point in use
#include <qwf/qwf_wifi.h>
qwf_wifi_Results_e qwf_wifi_UpdateAccessPoint(qwf_Context_t *pCtx, qwf_wifi_Ssid_t *pSsid, qwf_wifi_SecurityProtocol_e authProtocol, uint16_t maxClients, qwf_wifi_Standard_e standard, qwf_wifi_FrequencyBand_e band, bool privacy, uint16_t dhcpLeaseTime, char *pGatewayIpAddress, char *pGatewaySubnet)
This function updates the profile settings for the access point in use by the Wi-Fi Manager service for remote client connections.
You can further configure the access point by specifying optional hostapd parameters with qwf_wifi_SetHostapdOptions().
WIFI_OK Successful result
WIFI_ERR_INACTIVE The QWF Wi-Fi Manager service is inactive or not ready
WIFI_ERR_INT The QWF Wi-Fi Manager service couldn't issue the request
WIFI_ERR_NOT_EXISTS The access point doesn't exist
WIFI_ERR_PARAM A pointer argument is NULL, authProtocol is out of the qwf_wifi_SecurityProtocol_e range, or the QWF Wi-Fi Manager context can't be retrieved