WINC1500 IoT Software APIs: m2m_wifi_disconnect

WINC1500 IoT Software API

WINC1500 IoT Software APIs  19.5.2
WINC Software API Reference Manual
m2m_wifi_disconnect

Functions

NMI_API sint8 m2m_wifi_disconnect (void)
 

Detailed Description

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

Function Documentation

◆ m2m_wifi_disconnect()

NMI_API sint8 m2m_wifi_disconnect ( void  )

Request a Wi-Fi disconnect from the currently connected AP. After the Disconnect is complete the driver should recieve a response of M2M_WIFI_RESP_CON_STATE_CHANGED based on the states defined in tenuM2mConnState, successful disconnection is defined by M2M_WIFI_DISCONNECTED .

Precondition
Disconnection request must be made to a successfully connected AP. If the WINC 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.
Generated on Thu Jan 26 2017 22:15:21 for WINC1500 IoT Software APIs by   doxygen 1.8.13