WM_SetIndCallback

C Specification

#include <nitro/wm.h>

WMErrCode WM_SetIndCallback( WMCallbackFunc callback );

Arguments

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.

Return Values

Returns the results of the WMErrCode enumerated type process.

Description

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.

See Also

WM_Initialize, WM_Reset, WM_End

Revision History

06/08/2005 Added statement about callbacks being called from the interrupt handler.
02/01/2005 Fixed Description
10/22/2004 Changed return value type.
08/02/2004 Standardized structure names.
07/29/2004 Added to Description
07/23/2004 Initial version