NetBurner 3.1

Functions

NMI_API sint8 m2m_wifi_disconnect (void)
 

Detailed Description

Synchronous wi-fi disconnection function, requesting a Wi-Fi disconnect from the currently connected AP.

Function Documentation

◆ m2m_wifi_disconnect()

NMI_API sint8 m2m_wifi_disconnect ( void  )
Precondition
Disconnection must be made to a successfully connected AP. If the WILC is not in the connected state, a call to this function will hold insignificant.
Warning
This function must be called in station mode only.
See also
m2m_wifi_connect m2m_wifi_default_connect
Returns

The function returns M2M_SUCCESS for successful operations and a negative value otherwise.