1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META http-equiv="Content-Style-Type" content="text/css">
7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
8<title>HIO2 Demo multi.exe/multi.elf</title>
9</head>
10
11<body>
12
13<h1>multi.exe/multi.elf</h1>
14
15<h2>Overview</h2>
16<P> This demo performs communications between multiple Wii console USB (COM) ports and a stand-alone PC. The USB (COM) ports are used for bidirectional communications.
17</P>
18
19<blockquote>
20<p>The Wii sends data to the PC</p>
21  <blockquote>
22<p>Sends Wii calendar data.</p>
23  </blockquote>
24<p>The PC sends data to the Wii</p>
25  <blockquote>
26<p>Sends PC calendar data when the SEND button is clicked on the PC side.</p>
27  </blockquote>
28</blockquote>
29<p><strong>Note:</strong>The <CODE>multi</CODE> demo uses <CODE>Hio2If</CODE>.</p>
30
31<h2>File Structure</h2>
32<p>
33<table>
34<tr>
35<td>Wii</td>
36<td>:</td>
37<td><CODE>src/multi-main.c, include/multi.h, HioIf/*</CODE></td>
38</tr>
39<tr>
40<td>PC</td>
41<td>:</td>
42<td><CODE>vc++/multi/*, vc++/HioIf/*</CODE></td>
43</tr>
44</table>
45</p>
46
47<h2>Using the Demo</h2>
48<p>
49<table>
50<tr>
51<td>Wii</td>
52<td><br></td>
53<td><br></td>
54</tr>
55<tr>
56<td align="right">-</td>
57<td>A Button</td>
58<td>(Re)connecting to the PC</td>
59</tr>
60<tr>
61<td align="right">-</td>
62<td>B Button</td>
63<td>Disconnecting from the PC</td>
64</tr>
65<tr>
66<td align="right">-</td>
67<td>X Button</td>
68<td>Change the data transmission method (synchronous/asynchronous)</td>
69</tr>
70<tr>
71<td align="right">-</td>
72<td>Y Button</td>
73<td>Sends calendar data</td>
74</tr>
75<tr>
76<td>PC</td>
77<td><br></td>
78<td><br></td>
79</tr>
80<tr>
81<td align="right">-</td>
82<td>SEND button</td>
83<td>Sends calendar data to the Wii</td>
84</tr>
85<tr>
86<td align="right">-</td>
87<td>CONNECT button</td>
88<td>(Re)connecting to the Wii</td>
89</tr>
90<tr>
91<td align="right">-</td>
92<td>DISCONNECT button</td>
93<td>Disconnecting from the Wii</td>
94</tr>
95<tr>
96<td align="right">-</td>
97<td>SYNC/ASYNC radio buttons</td>
98<td>Change the data transmission method (synchronous/asynchronous)</td>
99</tr>
100</table>
101</p>
102
103<H2>NB</H2>
104<ul>
105<li>After disconnecting from a Wii or PC, you must make connection specifications from the Wii/PC in order to communicate again.
106<li>A connection specification from Wii is required when quitting the PC side during communications and then restarting and carrying out communications again.
107</ul>
108
109<H2>See Also</H2>
110<P class="reference">
111<A href="../list.html">Host I/O(HIO2) API</A>
112</P>
113
114<H2>Revision History</H2>
115<P>
1162007/08/02 Corrected errors.<br>2006/03/01 Initial version.<br>
117</P>
118
119<hr><p>CONFIDENTIAL</p></body>
120</html>