#include <nitro/wm.h>
WMErrCode WM_SetIndCallback( WMCallbackFunc callback );
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.
callback |
The callback function to be called at the time of status notification from the wireless firmware. |
Returns the process result as a WMErrCode enumerated type.
WM_Initialize, WM_Reset, WM_End
10/22/2004 Changed return value type
08/02/2004 Standardized structure names
07/29/2004 Added descriptions
07/23/2004 Initial Version