DWC_SetSendDrop

Syntax

#include <dwc.h>

BOOL DWC_SetSendDrop(u8 drop,
                     u8 aid);

Arguments

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

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 sending data with 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