Lines Matching refs:aid
149 static void ParentStateCallback(u16 aid, u32 status, void *arg) in ParentStateCallback() argument
167 BgSetMessage(YELLOW, "Connected [%2d]", aid); in ParentStateCallback()
178 BgSetMessage(RED, "Disconnected [%2d]", aid); in ParentStateCallback()
186 BgSetMessage(RED, "Entry Refused [%2d]", aid); in ParentStateCallback()
191 BgSetMessage(YELLOW, "Download Request [%2d]", aid); in ParentStateCallback()
196 BgSetMessage(CYAN, "Start Sending [%2d]", aid); in ParentStateCallback()
201 BgSetMessage(CYAN, "Send Completed [%2d]", aid); in ParentStateCallback()
205 (void)MB_CommBootRequest(aid); in ParentStateCallback()
206 BgSetMessage(WHITE, "-->Boot Request [%2d]", aid); in ParentStateCallback()
212 BgSetMessage(CYAN, "Send boot request [%2d]", aid); in ParentStateCallback()
217 BgSetMessage(YELLOW, "Boot ready [%2d]", aid); in ParentStateCallback()
222 BgSetMessage(YELLOW, "Entry Requested [%2d]", aid); in ParentStateCallback()
227 (void)MB_CommResponseRequest(aid, MB_COMM_RESPONSE_REQUEST_ACCEPT); in ParentStateCallback()
228 BgSetMessage(WHITE, "-->Entry Accept [%2d]", aid); in ParentStateCallback()
234 BgSetMessage(RED, "Entry Member full [%2d]", aid); in ParentStateCallback()
245 BgSetMessage(CYAN, "Waiting to send [%2d]", aid); in ParentStateCallback()
249 (void)MB_CommStartSending(aid); in ParentStateCallback()
250 BgSetMessage(WHITE, "-->Start Sending [%2d]", aid); in ParentStateCallback()
442 const u16 aid = (u16)(i + 1); in ParentMain() local
443 const MBUserInfo *p_child = MB_CommGetChildUser(aid); in ParentMain()
448 BgPrintf(DISP_OX + 0, (s16)(DISP_OY + i), WHITE, "%2d ", aid); in ParentMain()
457 p_state = MB_CommGetParentState(aid); in ParentMain()
507 const u16 aid = (u16)(cursor + 1); in ParentMain() local
509 BgSetMessage(WHITE, "AID%2d State:%s", aid, pstate_string[MB_CommGetParentState(aid)]); in ParentMain()
512 if (MB_COMM_PSTATE_REQUESTED == MB_CommGetParentState(aid)) in ParentMain()
516 (void)MB_CommResponseRequest(aid, MB_COMM_RESPONSE_REQUEST_ACCEPT); in ParentMain()
517 BgSetMessage(WHITE, "-->Entry Accept [%2d]", aid); in ParentMain()
521 else if (MB_COMM_PSTATE_WAIT_TO_SEND == MB_CommGetParentState(aid)) in ParentMain()
525 (void)MB_CommStartSending(aid); in ParentMain()
526 BgSetMessage(WHITE, "-->Start Sending [%2d]", aid); in ParentMain()
531 if (TRUE == MB_CommIsBootable(aid)) in ParentMain()
535 (void)MB_CommBootRequest(aid); in ParentMain()
536 BgSetMessage(WHITE, "-->Boot Request [%2d]", aid); in ParentMain()
544 const u16 aid = (u16)(cursor + 1); in ParentMain() local
546 BgSetMessage(WHITE, "AID%2d State:%s", aid, pstate_string[MB_CommGetParentState(aid)]); in ParentMain()
547 if (MB_COMM_PSTATE_REQUESTED == MB_CommGetParentState(aid)) in ParentMain()
551 (void)MB_CommResponseRequest(aid, MB_COMM_RESPONSE_REQUEST_KICK); in ParentMain()
552 BgSetMessage(CYAN, "Entry Refuse [%2d]", aid); in ParentMain()