#include <nitro/wm.h>
WMErrCode WM_PowerOff( WMCallbackFunc callback );
Shuts down the wireless hardware and stops the power to the WM
If the return value is WM_ERRCODE_OPERATING, a callback is generated after the shutdown process completes. This function can only be called when the WM is in the IDLE state. As a result of this function, the state changes to STOP. After calling this function, use WM_Disable to return the WM hardware to the disabled state.
callback |
Pointer to the callback function that is called when the asynchronous process completes |
Returns the process result as a WMErrCode enumerated type.
WM_Init, WM_Enable, WM_PowerOn, WM_Disable, WM_Finish, WM_Initialize, WM_End
10/22/2004 Changed return value types
09/11/2004 Initial version