

#include <nitro/wm.h>
WMErrCode WM_SetIndCallback( WMCallbackFunc callback );
| callback | Specifies the callback function to be called at the time of status notification from the wireless firmware. This callback is called from within the interrupt handler. |
Returns the results of the WMErrCode enumerated type process.
Apart from the normal callback functions that are used for the notification of results, this function is used to set the callback function for the Indication Notification generated when a beacon is received, during the connection authentication process or when a fatal error occurs on the ARM7. This is a synchronous function that promptly returns the WM_ERRCODE_SUCCESS return value when the process succeeds.
When necessary, run this function at least once after initializing the WM.
WM_Initialize, WM_Reset, WM_End
2005/06/08 Added statement about callbacks being called from the interrupt handler.
2005/02/01 Fixed Description
2004/10/22 Changed return value type.
2004/08/02 Standardized structure names.
2004/07/29 Added to Description
2004/07/23 Initial version
CONFIDENTIAL