1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
6<META http-equiv="Content-Style-Type" content="text/css">
7<LINK rel="stylesheet" type="text/css" href="../../css/nitro.css">
8<TITLE>WXC Demos</TITLE>
9</HEAD>
10<BODY>
11<H1>Chance Encounter Communications Library (WXC) Sample Demos</H1>
12
13<H2>Location</H2>
14<P><CODE>$TwlSDK/build/demos/wxc</CODE></P>
15
16<H2>Compilation</H2>
17<P>Move to the <CODE>$TwlSDK/build/demos/wxc</CODE> directory and enter the following.</P>
18<BLOCKQUOTE><CODE>% make</CODE></BLOCKQUOTE>
19<P>  &nbsp;The compilation begins, and the SRL executable file and the NEF or TEF files with binary information are generated in the following directory.</P>
20<BLOCKQUOTE><CODE>$TwlSDK/build/demos/wxc/<I>(sample_name)</I>/bin/<I>(platform)</I>/<I>(target)</I>/</CODE></BLOCKQUOTE>
21<P>  &nbsp;&nbsp;&nbsp;For example:</P>
22<BLOCKQUOTE><CODE>$TwlSDK/build/demos/wxc/simple-1/bin/ARM9-TS/Release/main.srl</CODE></BLOCKQUOTE>
23<P>The above path shows the executable file for the <CODE>simple-1</CODE> demo.</P>
24
25<H2>Execution</H2>
26<H3>For NITRO ROMs</H3>
27
28<P>If using IS-NITRO-DEBUGGER:</P>
29<UL>
30  <LI>Load and execute an NLF file with IS-NITRO-DEBUGGER
31  <LI>Execute an SRL file with IS-NITRO-DEBUGGER
32  <LI>Execute an SRL file with IS-NITRO-DEBUGGER using the <CODE>loadrun.exe</CODE> tool from the command line
33</UL>
34<P>If using IS-TWL-DEBUGGER:</P>
35<UL>
36  <LI>Load and execute an NLF file with IS-TWL-DEBUGGER
37  <LI>Execute an SRL file with IS-TWL-DEBUGGER
38  <LI>Execute an SRL file with IS-TWL-DEBUGGER using the <CODE>loadrun.TWL.exe</CODE> tool from the command line
39</UL>
40<H3>For TWL/NITRO HYBRID ROMs</H3>
41<P>If using IS-NITRO-DEBUGGER:</P>
42<UL>
43  <LI>Execute an SRL file with IS-NITRO-DEBUGGER
44  <LI>Execute an SRL file with IS-NITRO-DEBUGGER using the <CODE>loadrun.exe</CODE> tool from the command line
45</UL>
46<P>If using IS-TWL-DEBUGGER:</P>
47<UL>
48  <LI>Load and execute a TLF file with IS-TWL-DEBUGGER
49  <LI>Execute an SRL file with IS-TWL-DEBUGGER
50  <LI>Execute an SRL file with IS-TWL-DEBUGGER using the <CODE>loadrun.TWL.exe</CODE> tool from the command line
51</UL>
52<H3>For TWL LIMITED ROMs</H3>
53<P>If using IS-TWL-DEBUGGER:</P>
54<UL>
55  <LI>Load and execute a TLF file with IS-TWL-DEBUGGER
56  <LI>Execute an SRL file with IS-TWL-DEBUGGER
57  <LI>Execute an SRL file with IS-TWL-DEBUGGER using the <CODE>loadrun.TWL.exe</CODE> tool from the command line
58</UL>
59
60<H2>Description</H2>
61<br>
62
63<TABLE width="720">
64  <TBODY>
65    <TR>
66      <TH>Name</TH>
67      <TH>Directory</TH>
68      <TH>Operation</TH>
69    </TR>
70    <TR>
71      <TD width="187"><EM><STRONG><CODE>simple-1</CODE></STRONG></EM></TD>
72      <TD><CODE>demos</CODE></TD>
73      <TD width="525">This simple sample demonstrates WXC functionality.<br> It searches for associated <CODE>simple-1</CODE> samples, exchanges data once automatically and then stops.</TD>
74    </TR>
75    <TR>
76      <TD width="187"><EM><STRONG><CODE>simple-2</CODE></STRONG></EM></TD>
77      <TD><CODE>demos</CODE></TD>
78      <TD width="525">Similar to the <CODE>simple-1</CODE> sample, but allows multiple data sets to be selected and registered.</TD>
79    </TR>
80    <TR>
81      <TD width="187"><EM><STRONG><CODE>wxc-pm</CODE></STRONG></EM></TD>
82      <TD><CODE>demos</CODE></TD>
83      <TD width="525">Similar to the <CODE>simple-1</CODE> sample, but enters into sleep mode or transitions to LCD OFF after the exchange of data.</TD>
84    </TR>
85    <TR>
86      <TD width="187"><EM><STRONG><CODE>unregister-1</CODE></STRONG></EM></TD>
87      <TD><CODE>demos</CODE></TD>
88      <TD width="525">Similar to the <CODE>simple-1</CODE> sample, but re-registers the received data and exchanges data again.</TD>
89    </TR>
90    <TR>
91      <TD width="187"><EM><STRONG><CODE>wxc-dataShare</CODE></STRONG></EM></TD>
92      <TD><CODE>demos</CODE></TD>
93      <TD width="525">After exchanging data with associated <CODE>wxc-dataShare</CODE> samples, this reconnects and performs data sharing.</TD>
94    </TR>
95    <TR>
96      <TD width="187"><EM><STRONG><CODE>relayStation-1</CODE></STRONG></EM></TD>
97      <TD><CODE>demos</CODE></TD>
98      <TD width="525">This sample operates as a relay station for the <CODE>simple-2</CODE> or <CODE>wxc-pm</CODE> sample demos.</TD>
99    </TR>
100    <TR>
101      <TD width="187"><EM><STRONG><CODE>relayStation-2</CODE></STRONG></EM></TD>
102      <TD><CODE>demos</CODE></TD>
103      <TD width="525">This sample acts as a relay station for <CODE>simple-1</CODE> sample demos.<br> This is similar to <CODE>relayStation-1</CODE>, except that it can dynamically set the handling of registration data.</TD>
104    </TR>
105  </TBODY>
106</TABLE>
107
108<H2>Operation</H2>
109<P><CODE></CODE>The WXC library demos do not work with ensata.</CODE></P>
110
111<H2>See Also</H2>
112<P><A href="../../wxc/list_wxc.html"><CODE>WXC Function List</CODE></A></P>
113
114<H2>Revision History</H2>
115<P>
1162009/04/23 Initial version.
117</P>
118
119<hr><p>CONFIDENTIAL</p></body>
120</HTML>