This function is for compatibility with older versions. Do not use unless there is a special reason.
This function requests the access point to disconnect.
Syntax
char DisconnectWlan(void);
Parameters
None
Return value
The following values will be returned.Value | Description |
---|---|
M2M_SUCCESS | Succeeded |
M2M_ERR_SLEEP_FAIL | Initialize with SysWLANInit function. |
Other than the above | Failed |
Remarks
Request the access point to disconnect.This function can be used when SYS_WLAN_POWER_MANUAL is set by the SysSetWLANPower function.
(Note)
The disconnect result of the access point must be judged by the callback function specified by the InitializeWlan function.Requirements
Header file:
lib.hLibrary file:
libSTARTUPOPH5000.a
Last updated: 2020/11/23