DWC_IsValidAID

Syntax

#include <dwc.h>

BOOL DWC_IsValidAID(u8 aid);

Arguments

aid AID to be checked.

Return Values

TRUE The host assigned the specified AID is connected to this host.
FALSE The host assigned the specified AID is not connected to this host.

Description

Checks whether the AID specified by aid is allocated to any of the hosts currently connected to this host.

It always returns FALSE if this host's own AID has been specified.

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.

Revision History

1.4.5
Added description of operation when one's own AID is specified.

CONFIDENTIAL