#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 of the API is WM_ERRCODE_OPERATING
, a callback occurs after the parameter setting process is complete.
07/27/2005 Initial version.