WM Demos

# Wireless Manager Sample Demo

## Location

`$TwlSDK/build/demos/wm`

## Compilation

Move to the `$TwlSDK/build/demos/wm` directory and enter

> `% make`

Compiling will begin, and the SRL executable file and the NEF or TEF files having binary information will be generated in `$TwlSDK/build/demos/wm/(sample name)/bin/(platform)/(target)/`.

For example:

> `$TwlSDK/build/demos/wm/mp_simple-1/bin/ARM9-TS/Release/main.srl`

will be the executable file for the `mp_simple-1` demo.

## Execution

### For NITRO ROMs

If using IS-NITRO-DEBUGGER:

- Load and execute an NLF file with IS-NITRO-DEBUGGER.
- Execute an SRL file with IS-NITRO-DEBUGGER
- Execute an SRL file with IS-NITRO-DEBUGGER using the `loadrun.exe` tool from a command line.

If using IS-TWL-DEBUGGER:

- Load and execute an NLF file with IS-TWL-DEBUGGER
- Execute an SRL file with IS-TWL-DEBUGGER
- Execute an SRL file with IS-TWL-DEBUGGER using the `loadrun.TWL.exe` tool from a command line

### For TWL/NITRO Hybrid ROMs

If using IS-NITRO-DEBUGGER:

- Execute an SRL file with IS-NITRO-DEBUGGER
- Execute an SRL file with IS-NITRO-DEBUGGER using the `loadrun.exe` tool from a command line

If using IS-TWL-DEBUGGER:

- Load and execute a TLF file with IS-TWL-DEBUGGER
- Execute an SRL file with IS-TWL-DEBUGGER
- Execute an SRL file with IS-TWL-DEBUGGER using the `loadrun.TWL.exe` tool from a command line

### For TWL Limited ROMs

If using IS-TWL-DEBUGGER:

- Load and execute a TLF file with IS-TWL-DEBUGGER
- Execute an SRL file with IS-TWL-DEBUGGER
- Execute an SRL file with IS-TWL-DEBUGGER using the `loadrun.TWL.exe` tool from a command line

## Description

Name | Directory | Operation
--- | --- | ---
`mp_simple-1` | `demos` | This is a simple feature sample that conducts communications with the MP protocol.
`dataShare-1` | `demos` | This shares the game frame value by using the data sharing feature.
`dataShare-Model` | `demos` | This demo has a large number of notes for the tutorial document.
`wep-1` | `demos` | Demo that uses WEP for connection authentication during DS Multi-Card Play.

`wireless-all`

`demos`

This is a comprehensive sample of DS Multi-Card Play.
This sample performs DS download play using the clone boot function of the MB library, and then performs data sharing communications with the distributed child device program. In addition, the connected child device program uses the file system to read data from the parent device's card through the wireless connection.
This sample uses a combination of the following sample modules.

- `$TwlSDK/build/demos/wireless_shared/wh`
- `$TwlSDK/build/demos/wireless_shared/mbp`
- `$TwlSDK/build/demos/wireless_shared/wfs`

`wmPadRead-child` | `demos` | This child program is delivered by the mpldemo/mpdlntr2rvl demo recorded in RevoEX--the development kit for Wii network functions.
`listenOnly` | `demos` | This sample initializes the wireless system in receive-only mode and performs passive scanning without the power LED flashing at variable speed.

## Operation

The WM library demos will not work with `ensata`.

The `wireless-all` and `wmPadRead-child` demos work only in NTR mode.

## See Also

The WM Function List

## Revision History

2008/07/11 Changed descriptions corresponding to TWL.
2007/11/12 Added `listenOnly`.
2007/05/18 Added `wmPadRead-child`.
2006/04/10 Added `wireless-all`.
2005/04/01 Added `wep-1`.
2005/03/02 Revised descriptions to reflect current support environment conditions.
2004/08/17 Initial version.

CONFIDENTIAL