DWC_SetRecvDrop

Syntax


#include <dwc.h>

BOOL DWC_SetRecvDrop( u8 drop, u8 aid )

				

Description

This function sets the packet drop rate when the data is received from the DWC_SendUnreliable and DWC_SendUnreliableBitmap functions.

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

Arguments

drop Packet drop rate. A percentage from 0 to 100 can be specified.
aid Sender's AID.

Return Values

TRUE The packet drop rate was configured successfully.
FALSE Configuration failed because the FriendsMatch Library was not running, an invalid AID was specified, or memory allocation failed.

See Also

DWC_SetSendDrop
DWC_SendUnreliable
DWC_SendUnreliableBitmap

Revision History

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


CONFIDENTIAL