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

This function sets the power saving operation of wireless LAN.
Specify before InitializeWlan function.

Syntax

int SetPowerSaveModeWlan(
  unsigned char sleepMode
);

Parameters

sleepMode
[in] Specify the sleep mode.
ValueDescription
WLAN_PS_DISABLE Disable power save mode.
WLAN_PS_ENABLE Enable power save mode.

Return value

The following values will be returned.
ValueDescription
Integer greater than 0 Set value
-1 Failed

Remarks

Sets the power saving operation of wireless LAN.

Requirements

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

Last updated: 2020/11/23