simple.exe/simple.elf

Overview

This demo performs communications between a stand-alone Wii console USB (COM) port and a standalone PC. USB (COM) ports are used for bidirectional communications.

Wii sends data to the PC

Sends Wii calendar data during send-possible status.

PC sends data to the Wii.

Sends PC calendar data during send-possible status.

Note:The simple demo does not use Hio2If.

File Structure

Wii : src/simple.c, include/simple.h, multi.h
PC : vc++/simplel/*, vc++/HioIf/src/Hio2DllIf.cpp, vc++/HioIf/src/Hio2DllIf.h

Using the Demo

Wii

- A Button Switches communication methods (Wii -> PC or PC -> Wii).
- START Button End
PC

- ESC key End

Comments

In hio2demo/src/simple.c, there are two methods for detecting mail from the PC.

default

Makes detection using a callback function (EXI interrupt).

Specify -DPOLLING during build.

Makes detection using the HIO2ReadStatus function.

See Also

Host I/O(HIO2) API

Revision History

2006/03/01 Initial version.


CONFIDENTIAL