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 10<body> 11<h1>ac - connect Demo</h1> 12 13<h2>Description</h2> 14 15<div class="section"> 16<p>This sample demonstrates how to connect to an access point whose connection information has been written to system NAND memory.</p> 17</div> 18 19<h2>Required Environment</h2> 20 21<div class="section"> 22<p>You need a wireless access point to connect to.</p> 23</div> 24 25<h2>How to Use</h2> 26 27<div class="section"> 28<p>None.</p> 29</div> 30 31<h2>Notes</h2> 32 33<div class="section"> 34 35 <ul> 36<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> 37 </ul> 38 <ul> 39<li>Before running this demo, you must complete settings for connecting to the wireless access point using one of the following methods.</li> 40 </ul> 41 <ol> 42<li>Make connection settings by running the <CODE>debug_connect</CODE> demo.</li> 43<li>Make connection settings using NetworkSetting.csu, included in the CTR-SDK</li> 44 </ol> 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: 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