

#include <nitro/wm.h>
WMErrCode WM_SetPowerSaveMode( WMCallbackFunc callback , BOOL powerSave );
| callback | Designates the callback function to call when the asynchronous process completes. This callback is called from within the interrupt handler. |
| powerSave | Specify TRUE if using the power saving mode or FALSE if using the full-time standby mode. Specify FALSE when performing frequent data sending and receiving in infrastructure mode is necessary. Specifying TRUE for power saving mode; this slows down communication but improves the life of the battery. |
Returns the results of the WMErrCode enumerated type process.
Changes the power saving mode during infrastructure mode. This function is only executable when the WM is in the DCF_CHILD state. If the return value is WM_ERRCODE_OPERATING, a callback is generated after the parameter setting process is complete.
2005/07/27 Initial version.
CONFIDENTIAL