DWC_SetRecvDelay

Syntax

#include <dwc.h>

BOOL DWC_SetRecvDelay(u16 delay,
                      u8 aid);

Arguments

delay Delay time (milliseconds).
aid AID of the sender.

Return Values

TRUE The delay time was successfully configured.
FALSE Not successfully configured because the FriendsMatch Library was not running, an invalid AID was specified, or there was a failure during memory allocation.

Description

This function sets the delay time for receiving 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, then performing receive processing on the data after waiting the specified time.

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

Revision History


CONFIDENTIAL