This function is for compatibility with older versions. Do not use unless there is a special reason.

This function disables access point mode.

Syntax

signed char DisableAp(void);

Parameters

None

Return value

The following values will be returned.
ValueDescription
M2M_SUCCESS Succeeded
M2M_ERR_SLEEP_FAIL Initialize with SysWLANInit function.
Other than the above Failed

Remarks

This function can be used when SYS_WLAN_POWER_MANUAL is set by the SysSetWLANPower function.

Requirements

Header file:
lib.h
Library file:
libSTARTUPOPH5000.a

Last updated: 2020/11/23