#include <dwc.h>
BOOL DWC_SetRecvBuffer ( u8 aid, void* recvBuffer, int size );
After completing matchmaking, this sets the receive buffer to receive data sent directly from other DS devices.
The receive buffer has to be configured separately for each DS within the mesh type network. The AID is used to specify each DS. You can get the AID of connected DS devices using the DWC_GetAIDList
function.
Data that arrived before the receive buffer was configured is nullified.
aid |
AID of the receiving party. |
recvBuffer |
Pointer to the receive buffer. |
size |
Size of the reception buffer |
TRUE |
Successful configuration of the receive buffer. |
FALSE |
Data is currently being received, so it cannot be configured. |
DWC_GetAIDList, DWC_GetMyAID, DWC_CloseAllConnectionsHard
12/16/2005 Added an explanation of the receive buffer.
07/22/2005 Initial version.