# WM_SetIndCallback

## C Specification

      #include <nitro/wm.h>

      WMErrCode WM_SetIndCallback( WMCallbackFunc callback );

## 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 after beacon communication is complete or during the connection approval process.

This is a synchronous function that returns the `WM_ERRCODE_SUCCESS` return value as soon as the process has successfully completed.

When necessary, run this function at least once after initializing the WM.

## Arguments

`callback` | The callback function to be called at the time of status notification from the wireless firmware.

## Return Values

Returns the process result as a `WMErrCode` enumerated type.

## See Also

`WM_Initialize`, `WM_Reset`, `WM_End`

## Revision History

10/22/2004 Changed return value type
08/02/2004 Standardized structure names
07/29/2004 Added descriptions
07/23/2004 Initial Version