DWC_SetSendDrop

C Specification


#include <dwc.h>

BOOL DWC_SetSendDrop( u8 drop, u8 aid );

Description

This function sets the packet drop rate when receiving data sent from the DWC_SendUnreliable and DWC_SendUnreliableBitmap functions.

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

Arguments

drop The packet drop rate. A percentage between 0 to 100 can be specified.
aid AID for the send destination.

Return Values

TRUE The packet drop rate 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_SetRecvDrop, 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 packet drop rate.
07/22/2005 Initial version.