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 - SimpleServer Demo</h1>
12
13<h2>Description</h2>
14
15<div class="section">
16<p>This demo is for the server side for Download Play. <BR>At least two CTR systems for the server and 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>Determines the client to be allowed to download.<BR>It also advances execution.</td>
37        </tr>
38        <tr>
39<td>B Button</td>
40<td>Disallows downloading by the selected client. <BR>This button also cancels any processes currently in progress.</td>
41        </tr>
42        <tr>
43<td>X Button</td>
44<td>Distributes the child program to clients for which download is allowed.</td>
45        </tr>
46        <tr>
47<td>Y Button</td>
48<td>Initializes using the user name specified in code, and advances the processing.</td>
49        </tr>
50        <tr>
51<td>+Control Pad Up/Down</td>
52<td>Selects a client for which download allowed/disallowed is to be set.</td>
53        </tr>
54    </table>
55</div>
56
57<h2>Notes</h2>
58
59<div class="section">
60    <ul>
61<li>To execute the demo, a CTR system is required to act as the client downloading the child program. <BR>To act as a client, you must execute <CODE>DlpClient.csu</CODE>, which is included in the CTR-SDK.</li>
62    </ul>
63
64    <ul>
65<li>If a child program having the same UniqueID and Version has already been downloaded previously, it cannot be downloaded even if the child program is updated. <BR>Overwriting downloads of child programs can be forced by setting <B>Dlp Force Child Import</B> under <B>Other Setting</B> in <CODE>Config.csu</CODE>, included in the CTR-SDK, to <B>enable</B>.</li>
66    </ul>
67</div>
68
69<h2>Execution Procedure</h2>
70
71<div class="section">
72<h3>On the <CODE>SimpleServer</CODE></h3>
73<p>When the demo is executed, the following log is displayed in debug output.</p>
74    <pre class="code">l.602:nnMain >
75l.629:nnMain > dlpServerWorkBufferSize 585728
76l.633:nnMain > dlpServerWorkBuffer allocated address 0x08000074
77l.636:nnMain > dlpServerWorkBuffer aligned  address 0x08001000
78l.650:nnMain >
79l.129:UpdateStart > </pre>
80
81<p>The following is displayed in the upper screen.</p>
82    <p><img src="Fig/image2010_1221_1428_0.PNG"></p>
83
84<p>Press the A Button to start child program distribution. <br />After distribution, the system waits for the client to request download permission. <br />Pressing the Y Button initializes with the user name specified in code and starts the distribution of the child device program.</p>
85    <p><img src="Fig/image2010_1221_1434_0.PNG"></p>
86
87<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>
88    <p><img src="Fig/image2010_1221_1318_0.PNG"></p>
89
90<p>Press the X Button to distribute the child program. <br />After distribution is complete, the screen appears as follows.</p>
91    <p><img src="Fig/image2010_1221_1336_0.PNG"></p>
92
93<p>There is no shutdown procedure. Stop demo execution in a timely manner.</p>
94
95
96<h3>On the <CODE>DlpClient</CODE></h3>
97
98<p>After the demo is run, the following is displayed in the upper screen.</p>
99    <p><img src="Fig/image2010_1221_1437_0.PNG"></p>
100
101<p>Press the A Button to start the client.<br />
102
103After launching, if the child program being distributed is recognized by other nearby systems, a screen like the following is displayed.</p>
104    <p><img src="Fig/image2010_1221_1153_0.PNG"></p>
105
106<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>
107    <p><img src="Fig/image2010_1221_1154_0.PNG"></p>
108
109<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>
110    <p><img src="Fig/image2010_1221_1157_0.PNG"></p>
111
112<p>There is no shutdown procedure. Stop execution in a timely manner.</p>
113
114</div>
115
116<h2>Revision History</h2>
117
118<div class="section">
119    <dl class="history">
120        <dt>2012/02/02</dt>
121<dd>Added a feature to specify a user name in code.</dd>
122        <dt>2011/02/02</dt>
123<dd>Initial version.</dd>
124    </dl>
125</div>
126
127
128<hr><p>CONFIDENTIAL</p></body>
129</html>