qwf_wifi_DeleteSavedNetwork()

Updated: April 19, 2023

Delete a Saved Network profile

Synopsis:

#include <qwf/qwf_wifi.h>
qwf_wifi_Results_e qwf_wifi_DeleteSavedNetwork(qwf_Context_t *pCtx,
                                               uint16_t networkId)

Arguments:

pCtx
A pointer to the QWF service context
networkId
The network profile ID given by qwf_wifi_CreateSavedNetwork(); this ID can be obtained through qwf_wifi_GetSavedNetworks()

Library:

qwf_interface

Description:

This function deletes the specified Saved Network profile from persistent memory.

Returns:

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_PARAM pCtx is NULL, networkId is 0 (which is invalid), or the QWF Wi-Fi Manager context can't be retrieved