#include <nitro/mb.h>
typedef enum
{
MB_COMM_CSTATE_NONE,
MB_COMM_CSTATE_INIT_COMPLETE,
MB_COMM_CSTATE_END_COMPLETE,
MB_COMM_CSTATE_CONNECT,
MB_COMM_CSTATE_REQ_ENABLE,
MB_COMM_CSTATE_DLINFO_ACCEPTED,
MB_COMM_CSTATE_RECV_PROCEED,
MB_COMM_CSTATE_RECV_COMPLETE,
MB_COMM_CSTATE_BOOT_READY,
MB_COMM_CSTATE_CANCELLED
} MBCommCState;
Indicates the enumerator constant showing the state of the multi-boot child.
The meaning of each enumerator constant is as follows:
| Constant | Meaning |
MB_COMM_CSTATE_NONE |
Indicates the child idle state. |
MB_COMM_CSTATE_INIT_COMPLETE |
Indicates callback when the MB_StartChild function is complete. |
MB_COMM_CSTATE_END_COMPLETE |
Indicates callback when the MB_End function is complete. |
MB_COMM_CSTATE_CONNECT |
Indicates the state immediately following connection to the parent. |
MB_COMM_CSTATE_REQ_ENABLE |
Indicates the state in which a file request was sent to the parent and you are waiting for a response. |
MB_COMM_CSTATE_DLINFO_ACCEPTED |
Indicates that file request permission was received from the parent and the transfer begun. |
MB_COMM_CSTATE_RECV_PROCEED |
Indicates the state in which the download is proceeding normally. |
MB_COMM_CSTATE_RECV_COMPLETE |
Indicates the state in which all download files were received. |
MB_COMM_CSTATE_BOOT_READY |
Indicates that preparation to boot with the downloaded program is complete. |
MB_CommSetChildStateCallback,
MB_CommGetChildState
08/09/2004 Initial version