#include <nitro/wm.h>
int WM_GetMPReceiveBufferSize( void );
None.
Returns the size needed for the receive buffer passed as the argument of WM_StartMP
.
This function looks for the size that is needed for the receive buffer that the SDK uses internally for MP communication. This function can be executed only if the WM is in either the PARENT state or the CHILD state.
On the child, the return value is calculated based on the externally obtained beacon information. Therefore, when using it to allocate memory for the receive buffer, be sure to either confirm that the return value of this function is an appropriate value or confirm that memory was successfully allocated after allocating the memory.
WM_StartMP
, WM_GetMPSendBufferSize
12/21/2005 Clearly stated that the value on the child should not be trusted.
08/18/2004 Initial version.