# WM_GetConnectedAIDs

## Syntax

      #include <nitro/wm.h>

      u16 WM_GetConnectedAIDs(void);

## Arguments

None.

## Return Values

Returns the AID Bitmap of the connected partner.

## Description

Gets the current connection partner in a bitmap format. The correspondance between the acquired value and the AID is AID 0, 1, 2,... sequentially from the low bit. Returns a valid value only when in the `PARENT`, `MP_PARENT`, `CHILD`, or `MP_CHILD` state. For children, it returns 0x0001 when connected to the parent.

## See Also

`WM_GetAID`

## Revision History

2005/10/28 Initial version.

CONFIDENTIAL