WM_Disable

Syntax

#include <nitro/wm.h>

WMErrCode WM_Disable( WMCallbackFunc callback );

Arguments

callback Designates the callback function to call when the asynchronous process completes. This callback is called from within the interrupt handler.

Return Values

Returns the results of the WMErrCode enumerated type process.

Description

Disables the wireless hardware. If the return value is WM_ERRCODE_OPERATING, the specified callback will be called after the wireless disable process completes. This function can only be called when the WM is in the STOP state. After WM is disabled, the WM will move to the READY state. Use the WM_Finish function after this to stop the wireless library.

See Also

WM_Init, WM_Enable, WM_PowerOn, WM_PowerOff, WM_Finish, WM_Initialize, WM_End

Revision History

2005/06/08 Added statement about callbacks being called from the interrupt handler.
2004/10/22 Changed return value type.
2004/09/11 Initial version.


CONFIDENTIAL