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<h1>ac - debug_connect Demo</h1> 11 12<h2>Description</h2> 13 14<div class="section"> 15<p>This sample demonstrates how to take connection settings information, which are hard-wired into source code, write them into system NAND memory, and then connect to an access point based on that information.</p> 16</div> 17 18<h2>Required Environment</h2> 19 20<div class="section"> 21<p>A connection target wireless access point is required.</p> 22</div> 23 24<h2>How to Use</h2> 25 26<div class="section"> 27<p>None.</p> 28</div> 29 30<h2>Notes</h2> 31 32<div class="section"> 33 <ul> 34<li>This sample demo cannot be run under a release build because it internally calls functions for debugging.</li> 35 </ul> 36 <ul> 37<li>Connection to a wireless access point is impossible unless the EULA agreement version is 1.0 or higher. <BR>Set the Agree Version to a value of at least 1.0 under the Config tool's Eula Setting.</li> 38 </ul> 39 <ul> 40<li>Before building this sample, you must edit the source code's SSID and key.<BR>Depending on content, you may also need to change arguments 3 and 5 used with the <CODE>nn::ac::DebugSetNetworkSetting1</CODE> function.</li> 41 </ul> 42 <ul> 43<li>Connection settings (SSID and key) for the access point are saved in Connection Setting 1 on the CTR system.</li> 44 </ul> 45</div> 46 47<h2>Execution Procedure</h2> 48 49<div class="section"> 50<p>Run the demo. When successfully connected to the wireless access point, the following log is displayed.</p> 51<code>client: initialize ac<br /> client: save network setting A.<br /> client: connecting<br /> Start disconnect event wait.<br /> connection success.<br /> client: close<br /> Signal disconnect event!<br />client: finalize ac<br /> Client exit</code> 52<p>There is no shutdown procedure. Stop execution in a timely manner.</p> 53</div> 54 55<h2>Revision History</h2> 56 57<div class="section"> 58 <dl class="history"> 59 <dt>2011/02/02</dt> 60<dd>Initial version.</dd> 61 </dl> 62</div> 63 64 65<hr><p>CONFIDENTIAL</p></body> 66</html> 67