MB_CommResponseRequest

C Specification

#include <nitro/mb.h>

BOOL MB_CommResponseRequest(u16 child_aid, MBCommResponseRequestType ack)

Arguments

child_aid The aid that indicates the child device that sends the response
ack The list value of the MBCommResponseRequestType type that designates the response result to the child device

Return Values

This function returns a value of TRUE if the designated child device is in a connection response wait state and the designated response type is valid. Otherwise, this function returns a value of FALSE.

Description

This function Sends the connection response to the designated child device. The parent device is arbitrarily determined from the maximum number of connections in the game and the information at the time of the connection of each child device. This function must be used to notify the child device of the permission or the denial of a connection. When the communications state callback of the parent device is MB_COMM_PSTATE_REQUESTED, this state indicates that the child device is waiting for this response notification.

See Also

MBCommResponseRequestType, MBCommPState, MB_CommGetParentState, MB_StartParent, MB_End

Revision History

08/27/2004 Initial version.