1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3<HEAD> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META http-equiv="Content-Style-Type" content="text/css"> 6 <TITLE>NWC24 sample demo programs</TITLE> 7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 8</HEAD> 9<BODY> 10 11<h1>NWC24 Sample Demos</h1> 12 13<h2>Location</h2> 14<p> 15<code>$REVOLUTION_EXT_ROOT/build/demos/nwc24demo</code> 16</p> 17 18<H2>Compilation</H2> 19<p> 20Change to the <code>$REVOLUTION_EXT_ROOT/build/demos/nwc24demo</code> directory, and type <code>make</code>. An executable file (<code>.elf</code> file) will be generated in the path <code>$REVOLUTION_EXT_ROOT/RVL/bin/demos/nwc24demo/</code>. 21</p> 22 23<H2>Running the Demo</H2> 24<p> 25Change to the <code>$REVOLUTION_EXT_ROOT/RVL/bin/demos/nwc24demo</code> directory and do the following: 26</p> 27 28<ul> 29<li>To execute a program, run the <code>ndrun</code> script with the <code>.elf</code> file as the argument.</li> 30<li>To debug using CodeWarrior, do one of the following:</li> 31<ul> 32<li>Execute <code>$CWFOLDER/bin/IDE.exe</code> with the <code>.elf</code> file as an argument</li> 33<li>Launch <code>$CWFOLDER/bin/IDE.exe</code>, then drag and drop the <code>.elf</code> file</li> 34<li>If the <code>.elf</code> file is associated with <code>$CWFOLDER/bin/IDE.exe</code>, double-click the <code>.elf</code> file</li> 35</ul> 36 37</ul> 38 39<H2>Description</H2> 40<p> 41<TABLE border="1"> 42 <TBODY> 43 <TR> 44<TD width="120"><EM><STRONG><CODE>MsgPost</CODE></STRONG></EM></TD> 45<TD width="520">A demo that creates a simple message and registers it to the outbox.</TD> 46 </TR> 47 <TR> 48<TD width="120"><EM><STRONG><CODE>MsgList</CODE></STRONG></EM></TD> 49<TD width="520">A demo that displays the current listing of the inbox and outbox.</TD> 50 </TR> 51 <TR> 52<TD width="120"><EM><STRONG><CODE>MsgPrint</CODE></STRONG></EM></TD> 53<TD width="520">A demo that displays the content of each message in the inbox and outbox.</TD> 54 </TR> 55 <TR> 56<TD width="120"><EM><STRONG><CODE>MsgSearch</CODE></STRONG></EM></TD> 57<TD width="520">A demo to search for a message.</TD> 58 </TR> 59 <TR> 60<TD width="120"><EM><STRONG><CODE>MsgViewer</CODE></STRONG></EM></TD> 61<TD width="520">A demo message viewer using a simple GUI.</TD> 62 </TR> 63 <TR> 64<TD width="120"><EM><STRONG><CODE>FLViewer</CODE></STRONG></EM></TD> 65<TD width="520">A demo friend roster viewer using a simple GUI.</TD> 66 </TR> 67 <TR> 68<TD width="120"><EM><STRONG><CODE>Schedule</CODE></STRONG></EM></TD> 69<TD width="520">A demo using the automatic send/receive API.</TD> 70 </TR> 71 <TR> 72<TD width="120"><EM><STRONG><CODE>Download</CODE></STRONG></EM></TD> 73<TD width="520">A demo that configures download features.</TD> 74 </TR> 75 <TR> 76<TD width="120"><EM><STRONG><CODE>Check</CODE></STRONG></EM></TD> 77<TD width="520">A demo that checks the operational status of the WiiConnect24 system.</TD> 78 </TR> 79 <TR> 80<TD width="120"><EM><STRONG><CODE>WiiNumber</CODE></STRONG></EM></TD> 81<TD width="520">A demo that gets the WiiConnect24 ID (the Wii number).</TD> 82 </TR> 83 <TR> 84<TD width="120"><EM><STRONG><CODE>Letter</CODE></STRONG></EM></TD> 85<TD width="520">A demo that posts a message with an attached letterform to the Wii Message Board.</TD> 86 </TR> 87 <TR> 88<TD width="120"><EM><STRONG><CODE>ChannelJump</CODE></STRONG></EM></TD> 89<TD width="520">A sample channel that posts a message with a channel jump back to itself to the Wii Message Board. If you attach to the message a tag that indicates the scene shown when the message was created, when this sample is started from the channel jump, the scene indicated by the tag will be displayed first. <BR> This sample can be automatically registered with the Wii Menu by running <CODE>make import</CODE> after moving to the <code>$REVOLUTION_EXT_ROOT/build/demos/nwc24demo</code> directory.<BR><FONT color=red>However, to run <CODE>make import</CODE>, NADK must be installed.</FONT></TD> 90 </TR> 91 </TBODY> 92</TABLE> 93</p> 94 95<H2>See Also</H2> 96<p><a href="../toc.html" target="contents_detail">NWC24 API</a></p> 97 98<H2>Revision History</H2> 99<P> 1002007/12/20 Added information on how to run <CODE>make import</CODE> with the <CODE>ChannelJump</CODE> demo. <BR>2007/07/30 Described the <CODE>ChannelJump</CODE> demo. <BR>2007/07/26 Described the <CODE>Letter</CODE> demo. <BR>2007/06/26 Added new demos. <BR>2007/02/20 Described the <CODE>Check</CODE> demo. <BR>2006/12/12 Revised the path. <BR>2006/12/07 Initial version. 101</P> 102 103<hr><p>CONFIDENTIAL</p></body> 104</HTML> 105