1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 8.0.2.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<title>WM_SetBeaconIndication</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">WM_SetBeaconIndication <img src="../../image/NTR.gif"><img src="../../image/TWL.gif"></H1> 15<h2>Syntax</h2> 16<dl> 17 <dd><PRE><CODE>#include <nitro/wm.h> 18 19<A href="WMErrCode.html">WMErrCode</A> WM_SetBeaconIndication( <A href="WMCallbackFunc.html">WMCallbackFunc</A> callback, u16 flag ); 20</CODE></PRE></dd> 21</dl> 22 23<h2>Arguments</h2> 24<table border="1" width="100%"> 25 <tbody> 26 <TR> 27 <TD width="200"><EM><STRONG><FONT face="Courier New">callback</FONT></STRONG></EM></TD> 28 <TD width="800">Designates the callback function to call when the asynchronous process completes. This callback is called from within the interrupt handler.</TD> 29 </TR> 30 <TR> 31 <TD width="200"><EM><STRONG><FONT face="Courier New">flag</FONT></STRONG></EM></TD> 32 <TD width="800">Flag that indicates valid or invalid. Set to 0 or 1. When set to 1, it indicates valid.</TD> 33 </TR> 34 </tbody> 35</table> 36 37<h2>Return Values</h2> 38<p>Returns the results of the <CODE><A href="WMErrCode.html">WMErrCode</A></CODE> enumerated type process.</p> 39 40<H2>Description</H2> 41<P>Switches the beacon transmission indication between the enabled and the disabled state. This function is only executable when the WM is in the <code>IDLE</code> state. If the return value is <CODE>WM_ERRCODE_OPERATING</CODE>, a callback is generated after the enable or disable switching process is complete.</P> 42 43<h2>See Also</h2> 44<p><CODE><A href="WM_StartParent.html"><code>WM_StartParent</code></A>, <A href="WM_StartConnect.html"><code>WM_StartConnect</code></A>, <A href="WM_SetIndCallback.html"><code>WM_SetIndCallback</a></code></p> 45 46<H2>Revision History</H2> 47<P> 482005/06/08 Added statement about callback being called from the interrupt handler.<br>2005/03/02 Added statement about range that can be specified with the flag argument.<br>2004/10/22 Changed type of return value.<br>2004/08/02 Standardized structure names.<br>2004/07/29 Added to Description<br>2004/07/23 Initial version 49</P> 50<hr><p>CONFIDENTIAL</p></body> 51</html> 52