#include <dwc.h>
BOOL DWC_SetSendDrop( u8 drop, u8 aid );
This function sets the packet drop rate when receiving the data sent from the DWC_SendUnreliable and DWC_SendUnreliableBitmap functions.
It is used for debugging. It does not work in the final ROM version (FINALROM).
drop |
Packet drop rate. A percentage from 0 to 100 can be specified. |
aid |
AID for the send destination. |
TRUE |
The packet drop rate was configured successfully. |
FALSE |
The configuration failed because the FriendsMatch Library was not running, an invalid AID was specified, or memory allocation failed. |
DWC_SetRecvDrop
DWC_SendUnreliable
DWC_SendUnreliableBitmap
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