1<?xml version="1.0" encoding="utf-8"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
4<head>
5    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6    <meta http-equiv="Content-Style-Type" content="text/css" />
7    <link rel="stylesheet" href="../../css/manpage.css" type="text/css" />
8</head>
9<body>
10
11<h1>dlp - FakeClient</h1>
12
13<h2>Description</h2>
14
15<div class="section">
16<p>This demo runs on the fake client side for Download Play.<BR>At least two CTR systems for the server and fake client are required to run this demo.</p>
17</div>
18
19<h2>Required Environment</h2>
20<div class="section">
21<p>None.</p>
22</div>
23
24<h2>How to Use</h2>
25
26<div class="section">
27    <table>
28        <thead>
29        <tr>
30<th>Input</th>
31<th>Operation</th>
32        </tr>
33        </thead>
34        <tr>
35<td>A Button</td>
36<td>Confirms child-program selection.<BR>It also advances execution.</td>
37        </tr>
38        <tr>
39<td>B Button</td>
40<td>This button cancels any processes currently running.</td>
41        </tr>
42        <tr>
43<td>Y Button</td>
44<td>Initializes using the user name specified in code, and advances the processing.</td>
45        </tr>
46        <tr>
47<td>+Control Pad Up/Down</td>
48<td>Selects a Download Server found by scanning.</td>
49        </tr>
50    </table>
51</div>
52
53<h2>Notes</h2>
54
55<div class="section">
56    <ul>
57<li>To run the demo, a CTR system is required to act as the server. <BR>To act as a server, you must execute <CODE>SimpleServer.cci</CODE>, which is included in sample demos.</li>
58    </ul>
59    <ul>
60<li>The fake client is a client that does not perform downloading.<BR>A fake download of the child program is made in this demo.</li>
61    </ul>
62</div>
63
64<h2>Execution Procedure</h2>
65
66<div class="section">
67
68<h3>On the Fake Client</h3>
69<p>After the demo is run, the following type of display appears in the upper screen.</p>
70    <p><img src="Fig/image2010_1221_1444_0.PNG"></p>
71
72<p>Press the A button to launch the fake client.<br />After launching, if the child program being distributed is recognized by other nearby systems, a screen like the following displays. <br />Pressing the Y Button initializes with the user name specified in code and then the fake client is launched.</p>
73    <p><img src="Fig/image2010_1221_1153_0.PNG"></p>
74
75<p>Select which child program to download using Up/Down on the +Control Pad and issue a download request by pressing the A Button. The system waits a while for <CODE>SimpleServer</CODE> to approve the download and start distribution.</p>
76    <p><img src="Fig/image2010_1221_1154_0.PNG"></p>
77
78<p>After download completes, the system automatically reboots and the child program starts. <BR>After the child program starts, follow the instructions on the lower screen and press the A Button. A screen like the following will be displayed.</p>
79    <p><img src="Fig/image2010_1221_1157_0.PNG"></p>
80
81<p>There is no shutdown procedure. Stop execution in a timely manner.</p>
82
83<h3>On the <CODE>SimpleServer</CODE></h3>
84<p>When the demo is executed, the following log is displayed in debug output.</p>
85    <pre class="code">l.602:nnMain >
86l.629:nnMain > dlpServerWorkBufferSize 585728
87l.633:nnMain > dlpServerWorkBuffer allocated address 0x08000074
88l.636:nnMain > dlpServerWorkBuffer aligned  address 0x08001000
89l.650:nnMain >
90l.129:UpdateStart > </pre>
91
92<p>The following type of display appears in the upper screen.</p>
93    <p><img src="Fig/image2010_1221_1428_0.PNG"></p>
94
95<p>Press the A button to start child program distribution. <br />After child program distribution, the system waits for the client to request download permission.</p>
96    <p><img src="Fig/image2010_1221_1434_0.PNG"></p>
97
98<p>Clients seeking download permission are displayed in the upper screen. <BR>Select clients using Up/Down on the +Control Pad and set allow or disallow for each.<BR>If you allow download for a client by pressing the A Button, the screen appears as follows.</p>
99    <p><img src="Fig/image2010_1221_1318_0.PNG"></p>
100
101<p>Press the X Button to distribute the child program. <br />After distribution is complete, the screen appears as follows.</p>
102    <p><img src="Fig/image2010_1221_1336_0.PNG"></p>
103
104<p>There is no shutdown procedure. Stop execution in a timely manner.<BR>
105
106</div>
107
108<h2>Revision History</h2>
109
110<div class="section">
111    <dl class="history">
112        <dt>2012/02/02</dt>
113<dd>Added a feature to specify a user name in code.</dd>
114        <dt>2011/02/02</dt>
115<dd>Initial version.</dd>
116    </dl>
117</div>
118
119
120<hr><p>CONFIDENTIAL</p></body>
121</html>