dlp - FakeClient

Description

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

Required Environment

None.

How to Use

Input Operation
A Button Confirms child-program selection.
It also advances execution.
B Button This button cancels any processes currently running.
Y Button Initializes using the user name specified in code, and advances the processing.
+Control Pad Up/Down Selects a Download Server found by scanning.

Notes

Execution Procedure

On the Fake Client

After the demo is run, the following type of display appears in the upper screen.

Press the A button to launch the fake client.
After launching, if the child program being distributed is recognized by other nearby systems, a screen like the following displays.
Pressing the Y Button initializes with the user name specified in code and then the fake client is launched.

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.

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 type of display appears in the upper screen.

Press the A button to start child program distribution.
After child program distribution, the system waits for the client to request download permission.

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 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