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.
| Wii | : | src/simple.c, include/simple.h, multi.h |
| PC | : | vc++/simplel/*, vc++/HioIf/src/Hio2DllIf.cpp, vc++/HioIf/src/Hio2DllIf.h |
| Wii | ||
| - | A Button | Switches communication methods (Wii -> PC or PC -> Wii). |
| - | START Button | End |
| PC | ||
| - | ESC key | End |
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
-DPOLLINGduring build.Makes detection using the
HIO2ReadStatusfunction.
2006/03/01 Initial version.
CONFIDENTIAL