#include <dwc.h>
BOOL DWC_SetRecvDrop(u8 drop,
u8 aid);drop |
Packet drop rate. A percentage from 0 to 100 can be specified. |
aid |
Sender's AID. |
TRUE |
The packet drop rate was configured successfully. |
FALSE |
Either the FriendsMatch library is not running, an invalid AID was specified, values failed to be set because memory allocation failed, or this is running in a FINALROM build. |
Sets the packet drop rate when the local host receives data sent using the DWC_SendUnreliable or DWC_SendUnreliableBitmap functions.
This function is used for debugging. It does not work in the final ROM version (FINALROM).
The settings made by this function do not affect reliable communications.
For the changelog prior to 5.1 PR2, click here.
CONFIDENTIAL