# WXC_SetParentParameter

## Syntax

  `#include <nitro/wxc.h>`
  `BOOL WXC_SetParentParameter(u16 sendSize, u16 recvSize, u16 maxEntry);`

## Arguments

sendSize | The parent send size. Must have a value between WXC_PACKET_SIZE_MIN and WXC_PACKET_SIZE_MAX, inclusive.
recvSize | The parent receive size. Must have a value between WXC_PACKET_SIZE_MIN and WXC_PACKET_SIZE_MAX, inclusive.
maxEntry | The maximum number of connected persons. In the current implementation only 1 is supported.

## Return Values

If the settings are valid, this function applies them internally and returns `TRUE`. If not, this function outputs a warning message and returns `FALSE`.

## Description

Sets the parent mode communication parameters for wireless.
These settings are used only when in parent mode. When connected in child mode, the parent's settings are used.
This function must be called prior to the `WXC_Start` function.
In normal situations there is no need to use this function.

## See Also

`WXC_PACKET_SIZE_MIN
WXC_PACKET_SIZE_MAX
WXC_Init
WXC_Start
WXC_End
`

## Revision History

2005/08/09 Initial version.

CONFIDENTIAL