MB_SetParentCommSize

C Specification

#include <nitro/mb.h>

BOOL MB_SetParentCommSize( u16 sendSize );

Arguments

sendSize send buffer size in MB parent MP communication. This size must be greater than MB_COMM_PARENT_SEND_MIN and less than MB_COMM_PARENT_SEND_MAX.

Return Values

Returns TRUE if the value is set in the correct range. Otherwise returns FALSE.

Description

Specifies the size of the MB library's send for internally-driven communication, including the maximum number of children. This function can be used to increase the efficiency of the MP communication packets when you already know the maximum number of connected devices. This function can be called only after calling the MB_Init function and before calling the MB_StartParent function. This function is the same as the MB_SetParentCommParam function except it preserves the currently set maximum number of connected children.
Note that you cannot use this function to change the parent receive size.

See Also

MB_COMM_PARENT_*, MBUserInfo, MB_Init, MB_SetParentCommParam, MB_StartParent, MB_RegisterFile

Revision History

11/18/2004 Discontinued the recvSize argument.
10/05/2004 Initial version.