Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
m2m_wifi_p2p_disconnect

Disable the NMC1500 device Wi-Fi direct mode (P2P).

Functions

NMI_API sint8 m2m_wifi_p2p_disconnect (void)
 

NMI_API sint8 m2m_wifi_p2p_disconnect ( void  )
Precondition
The p2p mode must have be enabled and active before a disconnect can be called.
See Also
m2m_wifi_p2p
Returns
The function returns M2M_SUCCESS for successful operations and a negative value otherwise.

References hif_send(), M2M_REQ_GROUP_WIFI, M2M_REQ_GRP_WIFI, M2M_SUCCESS, M2M_WIFI_REQ_DISABLE_P2P, and NULL.

Referenced by os_m2m_wifi_p2p_disconnect().