DWC_SetRecvDrop

Syntax

#include <dwc.h>

BOOL DWC_SetRecvDrop(u8 drop,
                     u8 aid);

Arguments

drop Packet drop rate. A percentage ranging from 0 to 100 can be specified.
aid AID of the sender.

Return Values

TRUE The packet drop rate was successfully configured.
FALSE The packet drop rate was 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 packet drop rate when receiving data from the DWC_SendUnreliable and DWC_SendUnreliableBitmap functions.

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

Revision History


CONFIDENTIAL