dlp - SimpleServer Demo

Description

This demo is for the server side for Download Play.
At least two CTR systems for the server and client are required to run this demo.

Required Environment

None.

How to Use

Input Operation
A Button Determines the client to be allowed to download.
It also advances execution.
B Button Disallows downloading by the selected client.
This button also cancels any processes currently in progress.
X Button Distributes the child program to clients for which download is allowed.
Y Button Initializes using the user name specified in code, and advances the processing.
+Control Pad Up/Down Selects a client for which download allowed/disallowed is to be set.

Notes

Execution Procedure

On the SimpleServer

When the demo is executed, the following log is displayed in debug output.

l.602:nnMain > 
l.629:nnMain > dlpServerWorkBufferSize 585728
l.633:nnMain > dlpServerWorkBuffer allocated address 0x08000074
l.636:nnMain > dlpServerWorkBuffer aligned  address 0x08001000
l.650:nnMain > 
l.129:UpdateStart > 

The following is displayed in the upper screen.

Press the A Button to start child program distribution.
After distribution, the system waits for the client to request download permission.
Pressing the Y Button initializes with the user name specified in code and starts the distribution of the child device program.

Clients seeking download permission are displayed in the upper screen.
Select clients using Up/Down on the +Control Pad and set allow or disallow for each.
If you allow download for a client by pressing the A Button, the screen appears as follows.

Press the X Button to distribute the child program.
After distribution is complete, the screen appears as follows.

There is no shutdown procedure. Stop demo execution in a timely manner.

On the DlpClient

After the demo is run, the following is displayed in the upper screen.

Press the A Button to start the client.
After launching, if the child program being distributed is recognized by other nearby systems, a screen like the following is displayed.

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 SimpleServer to approve the download and start distribution.

After download completes, the system automatically reboots and the child program starts.
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.

There is no shutdown procedure. Stop execution in a timely manner.

Revision History

2012/02/02
Added a feature to specify a user name in code.
2011/02/02
Initial version.

CONFIDENTIAL