DWC_SetRecvDelay

C Specification


#include <dwc.h>

BOOL DWC_SetRecvDelay( u16 delay, u8 aid )

				

Description

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

Reception of data is delayed by allocating a buffer each time data is received and then receiving data after waiting the specified time.

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

Arguments

delay Delay time (msec).
aid AID of the Send source.

Return Values

TRUE The delay time was successfully configured.
FALSE The configuration failed due to the FriendsMatch Library not running, an invalid AID being specified, or a failure during memory allocation.

See Also

DWC_SetSendDelay, DWC_SendReliable, DWC_SendReliableBitmap, DWC_SendUnreliable, DWC_SendUnreliableBitmap

Revision History

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