Leave the current WiFi network. This applicable for a created or joined network.
Usages
net_wifi_leave [-i interface_nbr]
Arguments
-i [Interface number], Specified on which interface to use.
Output
If the WiFi module has successfully leaved the network, this command return to the terminal :
Completed Successfully
Otherwise, this command will return information about the error to the terminal.
Required Configuration
NET_IF_CFG_WIFI_EN must be enabled.
Notes/Warnings
None.