#include <dwc.h>u32 DWC_GetAIDBitmap(void);None.
AID bitmap of the connected hosts.
Gets the AID bitmap of the connected hosts.
The AID is a numeric value between zero and the number of devices making up the network minus one. It is used to identify each host in the mesh network. For example, if four people have completed matchmaking, there are four devices: 0, 1, 2, and 3. If the person with AID = 1 leaves the network, the remaining devices are 0, 2, and 3.
Use the DWC_GetAIDList function to get the AIDs as an array of numeric values.
Use this function after the matchmaking completion callback (DWCMatchedSCCallback) succeeds and the local host has connected to another player at least once. If the local host has not yet established a connection with any other player, the return value will be undefined. Make sure not to use the returned value in this case.
There is one exception to the above restriction. As long as the host has been started as a server by the DWC_SetupGameServer function, this function will start returning a valid value some time after DWC_SetupGameServer is called, even if the host has not yet established a connection with any other player. Even when these hosts have not yet established a connection with any other player, hosts that have called DWC_SetupGameServer can use this function as long as the DWC_GetNumConnectionHost function returns 1. To use this function without first connecting to another player, periodically check that DWC_GetNumConnectionHost returns 1.
Hosts that have called DWC_SetupGameServer but not yet connected to any other player have this status:
·One player connected.
·Local host's AID is 0.
No other connection function can know the actual connected player count or the local host's AID until a connection with another player has been established.
CONFIDENTIAL