VCT_SetTransceiverClients

Syntax

#include <vct.h>
int VCT_SetTransceiverClients( u8 aidList[], int num_of_aid );

Argument

aidList An array saving the AID of clients in Transceiver Mode.
num_of_aid Size of aidList array.

Return Value

0 if successful; otherwise, the error code returns as a negative numbe.

Description

VCT_SetTransceiverClients sets a list of clients in Transceiver Mode. Only Transceiver Mode servers use this function; it is ignored if a client calls it.

AID of the server in use can be included in aidList. This function can be used as follows:


       u8 *aidList;
       int n = DWC_GetAIDList(&aidList);
       VCT_SetTransceiverMode(TRUE);
       VCT_SetTransceiverClients(aidList, n);

Because Transceiver Mode can accept up to eight players simultaneously, this function returns an error if more than eight players are specified in the aidLists.

See Also

VCT_SetTransceiverServer, VCT_Contact

Revision History

2006/04/17 Error code link was added.
2006/01/25 First release