boss - sample_nadl_simple Demo

Description

This sample demonstrates the task of downloading data from the download server provided by Nintendo.

Required Environment

A connection target wireless access point is required. Ready a wireless access point that can connect to the Internet.
You must also insert an SD Card into the PARTNER-CTR Debugger in advance.

How to Use

None.

Notes

  1. Make connection settings by running the debug_connect demo.
  2. Make connection settings using NetworkSetting.csu, included in the CTR-SDK.

Execution Procedure

When the demo is executed, the following log is displayed in debug output.
The log represents content after executing two or more times.

nn::boss::Initialize : RC=0x00000000
Initializing network.
BOSS Sample(NadlTaskSimple) Start
[BOSS Sample]Regist NADL Task.
[BOSS Sample]Start NADL Task.
[BOSS Sample]Wait NSA data arrive....
[BOSS Sample]Recognize NSA data arrive
[BOSS Sample](Before Read Data, NewArrivalFlag is 1.)
[BOSS Sample]Dump NSD datas(1).(data number = 1)

===NSD No.0(SerialID = 1)===
TitleID = 400000ff3ff00
Content SerialID = 1
Payload Length = 36
Content version = 1
Content Flags = 0
Content DataType = 65537
---Dump Data---
(Read 1)
---NSD Body Dump(Payload-Length=36)---
23 20 62 6f 73 73 5f 73 61 6d 70 6c 65 5f 64 65 
6d 6f 0d 0a 64 65 6d 6f 66 69 6c 65 82 c5 82 b7 
81 44 0d 0a (Read 2)
---NSD Body Dump(Payload-Length=0)---
[BOSS Sample]AdditionalInfo = 256(Set Info = 256)
[BOSS Sample]NSD Read Flag = 0
[BOSS Sample](After Read Data, NewArrivalFlag is 0.)
[BOSS Sample](After NSD read flag on, New NSD number is = 0)
BOSS Sample(NadlTaskSimple) END
Finalizing network.
nn::boss::Finalize : RC=0x00000000
END

Revision History

2011/09/26
Updated the debug output to match the latest sample demos.
2011/07/14
Deleted the note added on 2011/03/28 about Nintendo server maintenance because that time period has passed.
2011/03/28
Added a cautionary note about Nintendo server maintenance (applying only to the period from late March to mid-April 2011).
2011/02/11
Initial version.

CONFIDENTIAL