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.0.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<TITLE>WXC_SetParentParameter</TITLE> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">WXC_SetParentParameter <img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></h1> 15<h2>Syntax</h2> 16 17<dl> 18 <dd> 19<CODE>#include <nitro/wxc.h></CODE><BR> <BR> <CODE>BOOL WXC_SetParentParameter(u16 sendSize, u16 recvSize, u16 maxEntry);</CODE><br> <br> 20 </dd> 21</dl> 22<h2>Arguments</h2> 23<TABLE border="1" width="100%"> 24 <TBODY> 25 <TR> 26<TD width="13%"><EM><STRONG>sendSize</STRONG></EM></TD> 27<TD width="87%">The parent send size. <br>Must have a value between <a href="../wxc_consts.html">WXC_PACKET_SIZE_MIN</a> and <a href="../wxc_consts.html">WXC_PACKET_SIZE_MAX</a>, inclusive.</TD> 28 </TR> 29 <TR> 30<TD width="13%"><EM><STRONG>recvSize</STRONG></EM></TD> 31<TD width="87%">The parent receive size. <br>Must have a value between <a href="../wxc_consts.html">WXC_PACKET_SIZE_MIN</a> and <a href="../wxc_consts.html">WXC_PACKET_SIZE_MAX</a>, inclusive.</TD> 32 </TR> 33 <TR> 34<TD width="13%"><EM><STRONG>maxEntry</STRONG></EM></TD> 35<TD width="87%">The maximum number of connected persons.<br> In the current implementation only 1 is supported.</TD> 36 </TR> 37 </TBODY> 38</TABLE> 39<h2>Return Values</h2> 40<p>If the settings are valid, this function applies them internally and returns <CODE>TRUE</CODE>. If not, this function outputs a warning message and returns <CODE>FALSE</CODE>.</p> 41 42<H2>Description</H2> 43<P>Sets the parent mode communication parameters for wireless. <br>These settings are used only when in parent mode. When connected in child mode, the parent's settings are used. <br>This function must be called prior to the <A href="WXC_Start.html"><CODE>WXC_Start</CODE></A> function.<BR>In normal situations there is no need to use this function. 44</p> 45<h2>See Also</h2> 46<p><CODE><a href="../wxc_consts.html">WXC_PACKET_SIZE_MIN</a><BR> <a href="../wxc_consts.html">WXC_PACKET_SIZE_MAX</a> <br> <A href="WXC_Init.html">WXC_Init</A><BR> <A href="WXC_Start.html">WXC_Start</A><BR> <A href="WXC_End.html">WXC_End</A> <BR></CODE></P> 47<H2>Revision History</H2> 48<P> 492005/08/09 Initial version. 50</P> 51<hr><p>CONFIDENTIAL</p></body> 52</html> 53