DWC_SetRecvDelay

Syntax


#include <dwc.h>

BOOL DWC_SetRecvDelay( u16 delay, u8 aid )

				

Description

This function sets the delay time for receiving the data sent using the DWC_SendReliable, DWC_SendReliableBitmap, DWC_SendUnreliable, or DWC_SendUnreliableBitmap function.

Reception of data is delayed by allocating a buffer every time the data is received, and then by performing data reception processing after waiting for the specified amount of time.

This function is used for debugging. It does not work in the final ROM version (FINALROM).

Arguments

delay Delay time (milliseconds).
aid Sender's AID.

Return Values

TRUE The delay time was successfully configured.
FALSE Configuration failed because the FriendsMatch Library was not running, an invalid AID was specified, or memory allocation failed.

See Also

DWC_SetSendDelay
DWC_SendReliable
DWC_SendReliableBitmap
DWC_SendUnreliable
DWC_SendUnreliableBitmap

Revision History

2006/02/21 Revised to include all function names.
2006/01/18 Added support for changing return value to a Boolean.
2005/12/16 Added a description of internal processing.
2005/07/22 Initial version.


CONFIDENTIAL