# WM_Reset

## Syntax

      #include <nitro/wm.h>

      WMErrCode WM_Reset( 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

Resets the WM This function changes the WM from any state other than `READY` and `STOP` to `IDLE`.
Connection information that has been stored until this time will be deleted. If the return value for the function is `WM_ERRCODE_OPERATING`, a callback is triggered after the reset process is complete.

## See Also

`WM_Initialize`, `WM_SetIndCallback`, `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 Revised Description.
2004/07/29 Added to Description
2004/07/23 Initial version

CONFIDENTIAL