#include <nitro/mb.h>int MB_StartParentFromIdle(int channel);
| channel | The channel on which the parent communicates. |
Returns MB_SUCCESS if the start process completes successfully.
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.
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.
MB_Init
MB_EndToIdle
MB_End
MB_StartParent
MB_CommSetParentStateCallback
2004/10/24 Initial version.
CONFIDENTIAL