# WMApiid

## Definitions

  `#include <nitro/wm.h>`

      typedef enum WMApiid
      {
      WM_APIID_INITIALIZE         = 0 ,
      WM_APIID_RESET              = 1 ,
      WM_APIID_END                = 2 ,
      WM_APIID_ENABLE             = 3 ,
      WM_APIID_DISABLE            = 4 ,
      WM_APIID_POWER_ON           = 5 ,
      WM_APIID_POWER_OFF          = 6 ,
      WM_APIID_SET_P_PARAM        = 7 ,
      WM_APIID_START_PARENT       = 8 ,
      WM_APIID_END_PARENT         = 9 ,
      WM_APIID_START_SCAN         = 10 ,
      WM_APIID_END_SCAN           = 11 ,
      WM_APIID_START_CONNECT      = 12 ,
      WM_APIID_DISCONNECT         = 13 ,
      WM_APIID_START_MP           = 14 ,
      WM_APIID_SET_MP_DATA        = 15 ,
      WM_APIID_END_MP             = 16 ,
      WM_APIID_START_DCF          = 17 ,
      WM_APIID_SET_DCF_DATA       = 18 ,
      WM_APIID_END_DCF            = 19 ,
      WM_APIID_SET_WEPKEY         = 20 ,
      WM_APIID_START_KS           = 21 ,
      WM_APIID_END_KS             = 22 ,
      WM_APIID_GET_KEYSET         = 23 ,
      WM_APIID_SET_GAMEINFO       = 24 ,
      WM_APIID_SET_BEACON_IND     = 25 ,
      WM_APIID_START_TESTMODE     = 26 ,
      WM_APIID_STOP_TESTMODE      = 27 ,
      WM_APIID_VALARM_MP          = 28 ,
      WM_APIID_SET_LIFETIME       = 29 ,
      WM_APIID_MEASURE_CHANNEL    = 30 ,
      WM_APIID_INIT_W_COUNTER     = 31 ,
      WM_APIID_GET_W_COUNTER      = 32 ,
      WM_APIID_SET_ENTRY          = 33 ,
      WM_APIID_AUTO_DEAUTH        = 34 ,
      WM_APIID_SET_MP_FREQ        = 35 ,
      WM_APIID_SET_BEACON_PERIOD  = 36 ,
      WM_APIID_AUTO_DISCONNECT    = 37 ,
      WM_APIID_START_SCAN_EX      = 38 ,
      WM_APIID_KICK_MP_PARENT     = 39 ,
      WM_APIID_KICK_MP_CHILD      = 40 ,
      WM_APIID_KICK_MP_RESUME     = 41 ,
      WM_APIID_ASYNC_KIND_MAX     = 42 ,

      WM_APIID_INDICATION         = 128 ,
      WM_APIID_PORT_SEND ,        = 129 ,
      WM_APIID_PORT_RECV ,        = 130 ,
      WM_APIID_READ_STATUS ,      = 131 ,

      WM_APIID_UNKNOWN            = 255

      } WMApiid;

## Elements

WM_APIID_INITIALIZE | The ID allocated to `WM_Initialize`
WM_APIID_RESET | The ID allocated to `WM_Reset`
WM_APIID_END | The ID allocated to `WM_End`
WM_APIID_ENABLE | The ID allocated to `WM_Enable`.
WM_APIID_DISABLE | The ID allocated to `WM_Disable`.
WM_APIID_POWER_ON | The ID allocated to `WM_PowerOn`.
WM_APIID_POWER_OFF | The ID allocated to `WM_PowerOff`.
WM_APIID_SET_P_PARAM | The ID allocated to `WM_SetParentParameter`
WM_APIID_START_PARENT | The ID allocated to `WM_StartParent`
WM_APIID_END_PARENT | The ID allocated to `WM_EndParent`
WM_APIID_START_SCAN | The ID allocated to `WM_StartScan`
WM_APIID_END_SCAN | The ID allocated to `WM_EndScan`
WM_APIID_START_CONNECT | The ID allocated to `WM_StartConnect`
WM_APIID_DISCONNECT | The ID allocated to `WM_Disconnect`
WM_APIID_START_MP | The ID allocated to `WM_StartMP`
WM_APIID_SET_MP_DATA | The ID allocated to `WM_SetMPData`
WM_APIID_END_MP | The ID allocated to `WM_EndMP`
WM_APIID_START_DCF | The ID allocated to `WM_StartDCF`
WM_APIID_SET_DCF_DATA | The ID allocated to `WM_SetDCFData`
WM_APIID_END_DCF | The ID allocated to `WM_EndDCF`
WM_APIID_SET_WEPKEY | The ID allocated to `WM_SetWEPKey`
WM_APIID_START_KS | The ID allocated to `WM_StartKeySharing`
WM_APIID_END_KS | The ID allocated to `WM_EndKeySharing`
WM_APIID_GET_KEYSET | The ID allocated to `WM_GetKeySet`
WM_APIID_SET_GAMEINFO | The ID allocated to `WM_SetGameInfo`
WM_APIID_SET_BEACON_IND | The ID allocated to `WM_SetBeaconIndication`
WM_APIID_START_TESTMODE | The ID for test mode -- Used internally only
WM_APIID_STOP_TESTMODE | The ID for test mode -- Used internally only
WM_APIID_VALARM_MP | The ID allocated to the command that the ARM7 side Valarm issues for timing control
WM_APIID_SET_LIFETIME | The ID allocated to `WM_SetLifeTime`
WM_APIID_MEASURE_CHANNEL | The ID allocated to `WM_MeasureChannel`
WM_APIID_INIT_W_COUNTER | The ID allocated to `WM_InitWirelessCounter`
WM_APIID_GET_W_COUNTER | The ID allocated to `WM_GetWirelessCounter`
WM_APIID_SET_ENTRY | The ID allocated to `WM_SetEntry`.
WM_APIID_AUTO_DEAUTH | The ID allocated to the automatic disconnection command that is used when the connection is made at the time when the ARM7 terminates the entries.
WM_APIID_SET_BEACON_PERIOD | The ID allocated to `WMi_SetBeaconPeriod`.
WM_APIID_AUTO_DISCONNECT | The ID allocated to the command for automatically disconnecting when connected from a different GGID child device.
WM_APIID_START_SCAN_EX | The ID allocated to `WMi_StartScanEx`.
`WM_APIID_KICK_MP_PARENT WM_APIID_KICK_MP_CHILD WM_APIID_KICK_MP_RESUME` | The IDs allocated to the command for controlling the timing of MP communication on the ARM7 side.
WM_APIID_ASYNC_KIND_MAX | Total number of IDs allocated to the group of asynchronous functions
WM_APIID_INDICATION | The common ID for four causes of `indicate`, which is called back by `WM_SetIndCallback`.
WM_APIID_PORT_SEND | The ID allocated to indicate when data is successfully sent to a port.
WM_APIID_PORT_RECV | The ID allocated to indicate when data, which is to be sent to a port, is received.
WM_APIID_READ_STATUS | The ID allocated to `WM_ReadStatus`. `WM_ReadStatus` is a synchronous function, so no callback is generated.
WM_APIID_UNKNOWN | Unknown API ID.

## Description

This enumerated type indicates the API IDs that are allocated to WM asynchronous process functions.

## Revision History

11/02/2004 Made changes to incorporate newly added functions
08/20/2004 Added the description for entry control specifications
08/11/2004 Added description on the addition of VM specifications
07/29/2004 Initial Version