# Wireless Manager (WM) API Function List

### Initialization

WM_Init | Initializes the wireless library.
WM_Finish | Terminates the wireless library.
WM_Enable | Makes the wireless hardware usable.
WM_Disable | Prohibits the use of the wireless hardware.
WM_PowerOn | Starts up the wireless hardware.
WM_PowerOff | Shuts down the wireless hardware.
WM_Initialize | Initializes the wireless library and starts up the wireless hardware.
WM_End | Shuts down the wireless hardware and terminates the wireless library.

### Initial Settings

WM_SetIndCallback | Configures the callback function that is used for indication notification.
WM_Reset | Resets the wireless library, initializes it, and returns the wireless hardware to the state immediately after initialization.
WM_ReadStatus | Obtains the structure that indicates the state of the wireless library.
WM_SetParentParameter | Sets the parent parameters.
WM_StartParent | Starts communications as a parent.
WM_EndParent | Stops communications as a parent.
WM_StartScan | Starts, as a child, a scan for a parent.
WM_EndScan | Stops the child scan process.
WM_StartConnect | Starts, as a child, a connection to a parent.
WM_Disconnect | Disconnects an established connection.
WM_DisconnectChildren | Disconnects the established connection with all of the children.
WM_SetGameInfo | Configures game information.
WM_SetEntry | Changes the receive entry status of a parent.

### MP Communications

WM_GetMPReceiveBufferSize | Obtains the size of the receive buffer that is required for MP communication.
WM_GetMPSendBufferSize | Obtains the size of the send buffer that is required for MP communication.
WM_StartMP | Starts MP communications. Functions common to parent and child.
WM_StartMPEx | Starts MP communications by specifying a detailed operation mode. Functions are common to both parent and child.
WM_SetMPFrequency | Specifies the communication frequency of MP communication. This function is used only for the parent.
WM_EndMP | Stops MP communications. Functions common to parent and child.
WM_SetMPDataToPort | Reserves send data to be sent to the specific port by MP communication. Functions common to parent and child.
WM_SetMPDataToPortEx | Reserves the data that is going to be sent to a specific port by MP communication. This function is used for both parent and child.
WM_SetPortCallback | Specifies the callback function for receiving data at a specific port.
WM_StartDataSharing | Starts data sharing with MP communication.
WM_EndDataSharing | Stops data sharing.
WM_StepDataSharing | Proceeds with the synchronization of data sharing.
WM_GetSharedDataAddress | Extracts data of each terminal from the shared data.
WM_StartKeySharing | Enables the key sharing feature.
WM_EndKeySharing | Disables the key sharing feature.
WM_GetKeySet | Reads 1 key set that is key-shared.
WM_SIZE_MP_PARENT_RECEIVE_BUFFER | Specifies the receive buffer size that is required by the parent for MP communication.
WM_SIZE_MP_PARENT_SEND_BUFFER | Specifies the send buffer size that is required by the parent for MP communication.
WM_SIZE_MP_CHILD_RECEIVE_BUFFER | Specifies the receive buffer size that is required by a child for MP communication.
WM_SIZE_MP_CHILD_SEND_BUFFER | Specifies the send buffer size that is required by a child for MP communication.
WM_SetMPData | Reserves data to be sent when using MP communications. Functions common to parent and child.
WM_ReadMPData | Extracts a specified child's data from overall received data.

### Infrastructure Mode Communication

WM_StartDCF | Starts infrastructure mode communications.
WM_SetDCFData | Reserves data to be sent when using infrastructure mode communications.
WM_EndDCF | Stops infrastructure mode communications.

### Miscellaneous

WM_SetWEPKey | Configures the encryption feature and encryption keys.
WM_SetBeaconIndication | Switches beacon transmission indicate between enabled and disabled.
WM_SetLifeTime | Sets the lifetime for communication.
WM_MeasureChannel | Measures the usage rate of radio waves.
WM_InitWirelessCounter | Initializes the counter for the send/receive frame count.
WM_GetWirelessCounter | Obtains the current value of the counter for the send/receive frame count.
WM_GetAllowedChannel | Obtains a channel to be used for the wireless communication.
WM_GetLinkLevel | Obtains the link level of the communication with the other device.
WM_GetDispersionBeaconPeriod | Obtains beacon period to be set when starting communication as parent device.
WM_GetDispersionScanPeriod | Obtains maximum scan period to be set when searching for parent device as child device.
WM_ConvGgid* | Changes the game group ID.
WM_IsBssidEqual | Determines if two BSSIDfs are the same.
WM_CopyBssid | Copies the BSSID.

### Constants

WMApiid | Enumeration type to indicate the ID of the API.
WMStateCode | Enumeration type to indicate the callback type.
WMErrCode | Enumeration type to indicate the result of the process shared by all WM operation functions.
WMPort | Enumeration type to indicate the data send/receive port for MP communication.
WMLinkLevel | Enumeration type to indicate the link level of the communication.

### Types, Structures

WMDataSet | Structure for indicating the data that is shared by the data sharing feature.
WMKeySet | Structure for indicating the shared key information obtained with the key sharing function.
WMKeySetBuf | Structure for indicating the ring buffer structure to keep the shared key information obtained with the key sharing function.
WMParentParam | Structure for gathering information to be set before starting activities as a parent.
WMScanParam | Structure for gathering information to be set when a child scans for a parent.
WMGameInfo | Structure that stores the parent scan information obtained with the `WM_StartScan` function.
WMBssDesc | Structure that stores the parent scan information obtained with the `WM_StartScan` function.
WMCallbackFunc | User callback function type.
WMStartParentCallback | Structure to be passed to the callback function for WM_StartParent.
WMStartScanCallback | Structure to be passed to the callback function for WM_StartScan.
WMStartConnectCallback | Structure to be passed to the callback function for WM_StartConnect.
WMDisconnectCallback | Structure to be passed to the callback function for `WM_Disconnect` and `WM_DisconnectChildren`.
WMStartMPCallback | Structure to be passed to the callback function for WM_StartMP.
WMStartDCFCallback | Structure to be passed to the callback function for WM_StartDCF.
WMMeasureChannelCallback | Structure to be passed to the callback function for WM_MeasureChannel
WMGetWirelessCounterCallback | Structure to be passed to the callback function for WM_GetWirelessCounter.
WMIndCallback | Structure to be passed to the callback function set with WM_SetIndCallback.
WMPortRecvCallback | Structure to be passed to the callback function set with WM_SetPortCallback.
WMCallback | Structure to be passed to the callback function of the normal WM asynchronous processing functions.

### Tables/Information

WM status transition chart | Table that shows the transition of the internal states of each API of WM.
Wireless communication time calculation sheet | Sheet that helps you calculate the time that is required for one communication from the receive size.