FreeRTOS: Wi-Fi Management Library
Return to main page ↑
WIFI_NetworkDelete

Delete a Wi-Fi Network profile.

Deletes the Wi-Fi network profile from the network profile list at given index in non-volatile memory

Parameters
[in]usIndex- Index of the network profile, must be between 0 to wificonfigMAX_NETWORK_PROFILES.

If wificonfigMAX_NETWORK_PROFILES is the index, then all network profiles will be deleted.

Returns
eWiFiSuccess if successful, failure code otherwise. If successful, the interface IP address is copied into the IP address buffer.

Example

uint16_t usIndex = 2; //Delete profile at index 2
WIFI_NetworkDelete( usIndex );
WIFI_NetworkDelete
WIFIReturnCode_t WIFI_NetworkDelete(uint16_t usIndex)
Delete a Wi-Fi Network profile.
WIFIReturnCode_t
WIFIReturnCode_t
Return code denoting API status.
Definition: iot_wifi.h:50