MB_StartParentFromIdle

Syntax

#include <nitro/mb.h>

int MB_StartParentFromIdle(int channel);

Arguments

channel The channel on which the parent communicates.

Return Values

Returns MB_SUCCESS if the start process completes successfully.

Description

This function starts a parent operation on the specified channel. Parent processing is run automatically and internally, and ends when the MB_EndToIdle() function is called.
When the initialization is complete, the argument status is returned with the value of MB_COMM_PSTATE_INIT_COMPLETE as a callback of the MB_CommSetParentStateCallback function.

Internal Operation

This function must be called with the wireless library in the IDLE state. Also note that a corresponding call to the MB_EndToIdle function is required to shut down the library.

Use the MB_StartParent function to run processes with the wireless library in the pre-initialization state.

See Also

MB_Init
MB_EndToIdle
MB_End
MB_StartParent
MB_CommSetParentStateCallback

Revision History

2004/10/24 Initial version.


CONFIDENTIAL