1 |
2 |
ZTEX |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
2 |
|
|
<!-- NewPage -->
|
3 |
|
|
<html lang="de">
|
4 |
|
|
<head>
|
5 |
|
|
<!-- Generated by javadoc (version 1.7.0_79) on Wed Mar 22 19:20:13 CET 2017 -->
|
6 |
|
|
<title>ZtexImgFile1</title>
|
7 |
|
|
<meta name="date" content="2017-03-22">
|
8 |
|
|
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
|
9 |
|
|
</head>
|
10 |
|
|
<body>
|
11 |
|
|
<script type="text/javascript"><!--
|
12 |
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
13 |
|
|
parent.document.title="ZtexImgFile1";
|
14 |
|
|
}
|
15 |
|
|
//-->
|
16 |
|
|
</script>
|
17 |
|
|
<noscript>
|
18 |
|
|
<div>JavaScript is disabled on your browser.</div>
|
19 |
|
|
</noscript>
|
20 |
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
21 |
|
|
<div class="topNav"><a name="navbar_top">
|
22 |
|
|
<!-- -->
|
23 |
|
|
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
24 |
|
|
<!-- -->
|
25 |
|
|
</a>
|
26 |
|
|
<ul class="navList" title="Navigation">
|
27 |
|
|
<li><a href="../ztex/package-summary.html">Package</a></li>
|
28 |
|
|
<li class="navBarCell1Rev">Class</li>
|
29 |
|
|
<li><a href="package-tree.html">Tree</a></li>
|
30 |
|
|
<li><a href="../deprecated-list.html">Deprecated</a></li>
|
31 |
|
|
<li><a href="../index-all.html">Index</a></li>
|
32 |
|
|
<li><a href="../help-doc.html">Help</a></li>
|
33 |
|
|
</ul>
|
34 |
|
|
</div>
|
35 |
|
|
<div class="subNav">
|
36 |
|
|
<ul class="navList">
|
37 |
|
|
<li><a href="../ztex/ZtexEventHandler.html" title="class in ztex"><span class="strong">Prev Class</span></a></li>
|
38 |
|
|
<li><a href="../ztex/ZtexScanBus1.html" title="class in ztex"><span class="strong">Next Class</span></a></li>
|
39 |
|
|
</ul>
|
40 |
|
|
<ul class="navList">
|
41 |
|
|
<li><a href="../index.html?ztex/ZtexImgFile1.html" target="_top">Frames</a></li>
|
42 |
|
|
<li><a href="ZtexImgFile1.html" target="_top">No Frames</a></li>
|
43 |
|
|
</ul>
|
44 |
|
|
<ul class="navList" id="allclasses_navbar_top">
|
45 |
|
|
<li><a href="../allclasses-noframe.html">All Classes</a></li>
|
46 |
|
|
</ul>
|
47 |
|
|
<div>
|
48 |
|
|
<script type="text/javascript"><!--
|
49 |
|
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
50 |
|
|
if(window==top) {
|
51 |
|
|
allClassesLink.style.display = "block";
|
52 |
|
|
}
|
53 |
|
|
else {
|
54 |
|
|
allClassesLink.style.display = "none";
|
55 |
|
|
}
|
56 |
|
|
//-->
|
57 |
|
|
</script>
|
58 |
|
|
</div>
|
59 |
|
|
<div>
|
60 |
|
|
<ul class="subNavList">
|
61 |
|
|
<li>Summary: </li>
|
62 |
|
|
<li>Nested | </li>
|
63 |
|
|
<li><a href="#fields_inherited_from_class_ztex.ImgFile">Field</a> | </li>
|
64 |
|
|
<li><a href="#constructor_summary">Constr</a> | </li>
|
65 |
|
|
<li><a href="#method_summary">Method</a></li>
|
66 |
|
|
</ul>
|
67 |
|
|
<ul class="subNavList">
|
68 |
|
|
<li>Detail: </li>
|
69 |
|
|
<li>Field | </li>
|
70 |
|
|
<li><a href="#constructor_detail">Constr</a> | </li>
|
71 |
|
|
<li><a href="#method_detail">Method</a></li>
|
72 |
|
|
</ul>
|
73 |
|
|
</div>
|
74 |
|
|
<a name="skip-navbar_top">
|
75 |
|
|
<!-- -->
|
76 |
|
|
</a></div>
|
77 |
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
78 |
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
79 |
|
|
<div class="header">
|
80 |
|
|
<div class="subTitle">ztex</div>
|
81 |
|
|
<h2 title="Class ZtexImgFile1" class="title">Class ZtexImgFile1</h2>
|
82 |
|
|
</div>
|
83 |
|
|
<div class="contentContainer">
|
84 |
|
|
<ul class="inheritance">
|
85 |
|
|
<li>java.lang.Object</li>
|
86 |
|
|
<li>
|
87 |
|
|
<ul class="inheritance">
|
88 |
|
|
<li><a href="../ztex/ImgFile.html" title="class in ztex">ztex.ImgFile</a></li>
|
89 |
|
|
<li>
|
90 |
|
|
<ul class="inheritance">
|
91 |
|
|
<li>ztex.ZtexImgFile1</li>
|
92 |
|
|
</ul>
|
93 |
|
|
</li>
|
94 |
|
|
</ul>
|
95 |
|
|
</li>
|
96 |
|
|
</ul>
|
97 |
|
|
<div class="description">
|
98 |
|
|
<ul class="blockList">
|
99 |
|
|
<li class="blockList">
|
100 |
|
|
<hr>
|
101 |
|
|
<br>
|
102 |
|
|
<pre>public class <span class="strong">ZtexImgFile1</span>
|
103 |
|
|
extends <a href="../ztex/ImgFile.html" title="class in ztex">ImgFile</a></pre>
|
104 |
|
|
<div class="block">Represents a firmware image with ZTEX descriptor 1. <br>
|
105 |
|
|
The ZTEX descriptor is usually located at the position 0x6x of the FX2 firmware image.
|
106 |
|
|
In FX3 firmwares the descriptor is located by searching for the signature. <br>
|
107 |
|
|
A description of the ZTEX descriptor 1 can be found in <a href="../ztex/ZtexDevice1.html" title="class in ztex"><code>ZtexDevice1</code></a>.</div>
|
108 |
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../ztex/ZtexDevice1.html" title="class in ztex"><code>ZtexDevice1</code></a>,
|
109 |
|
|
<a href="../ztex/Ztex1.html" title="class in ztex"><code>Ztex1</code></a></dd></dl>
|
110 |
|
|
</li>
|
111 |
|
|
</ul>
|
112 |
|
|
</div>
|
113 |
|
|
<div class="summary">
|
114 |
|
|
<ul class="blockList">
|
115 |
|
|
<li class="blockList">
|
116 |
|
|
<!-- =========== FIELD SUMMARY =========== -->
|
117 |
|
|
<ul class="blockList">
|
118 |
|
|
<li class="blockList"><a name="field_summary">
|
119 |
|
|
<!-- -->
|
120 |
|
|
</a>
|
121 |
|
|
<h3>Field Summary</h3>
|
122 |
|
|
<ul class="blockList">
|
123 |
|
|
<li class="blockList"><a name="fields_inherited_from_class_ztex.ImgFile">
|
124 |
|
|
<!-- -->
|
125 |
|
|
</a>
|
126 |
|
|
<h3>Fields inherited from class ztex.<a href="../ztex/ImgFile.html" title="class in ztex">ImgFile</a></h3>
|
127 |
|
|
<code><a href="../ztex/ImgFile.html#data">data</a>, <a href="../ztex/ImgFile.html#isFx3">isFx3</a>, <a href="../ztex/ImgFile.html#startVector">startVector</a></code></li>
|
128 |
|
|
</ul>
|
129 |
|
|
</li>
|
130 |
|
|
</ul>
|
131 |
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
132 |
|
|
<ul class="blockList">
|
133 |
|
|
<li class="blockList"><a name="constructor_summary">
|
134 |
|
|
<!-- -->
|
135 |
|
|
</a>
|
136 |
|
|
<h3>Constructor Summary</h3>
|
137 |
|
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
138 |
|
|
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
139 |
|
|
<tr>
|
140 |
|
|
<th class="colOne" scope="col">Constructor and Description</th>
|
141 |
|
|
</tr>
|
142 |
|
|
<tr class="altColor">
|
143 |
|
|
<td class="colOne"><code><strong><a href="../ztex/ZtexImgFile1.html#ZtexImgFile1(java.io.InputStream,%20java.lang.String)">ZtexImgFile1</a></strong>(java.io.InputStream in,
|
144 |
|
|
java.lang.String name)</code>
|
145 |
|
|
<div class="block">Constructs an instance from a given file name and descriptor position.</div>
|
146 |
|
|
</td>
|
147 |
|
|
</tr>
|
148 |
|
|
<tr class="rowColor">
|
149 |
|
|
<td class="colOne"><code><strong><a href="../ztex/ZtexImgFile1.html#ZtexImgFile1(java.lang.String)">ZtexImgFile1</a></strong>(java.lang.String fileName)</code>
|
150 |
|
|
<div class="block">Constructs an instance from a given file name.</div>
|
151 |
|
|
</td>
|
152 |
|
|
</tr>
|
153 |
|
|
</table>
|
154 |
|
|
</li>
|
155 |
|
|
</ul>
|
156 |
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
157 |
|
|
<ul class="blockList">
|
158 |
|
|
<li class="blockList"><a name="method_summary">
|
159 |
|
|
<!-- -->
|
160 |
|
|
</a>
|
161 |
|
|
<h3>Method Summary</h3>
|
162 |
|
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
163 |
|
|
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
164 |
|
|
<tr>
|
165 |
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
166 |
|
|
<th class="colLast" scope="col">Method and Description</th>
|
167 |
|
|
</tr>
|
168 |
|
|
<tr class="altColor">
|
169 |
|
|
<td class="colFirst"><code>int</code></td>
|
170 |
|
|
<td class="colLast"><code><strong><a href="../ztex/ZtexImgFile1.html#fwVersion()">fwVersion</a></strong>()</code>
|
171 |
|
|
<div class="block">Returns the firmware version.</div>
|
172 |
|
|
</td>
|
173 |
|
|
</tr>
|
174 |
|
|
<tr class="rowColor">
|
175 |
|
|
<td class="colFirst"><code>byte[]</code></td>
|
176 |
|
|
<td class="colLast"><code><strong><a href="../ztex/ZtexImgFile1.html#interfaceCapabilities()">interfaceCapabilities</a></strong>()</code>
|
177 |
|
|
<div class="block">Returns the interface capabilities (all 6 bytes).</div>
|
178 |
|
|
</td>
|
179 |
|
|
</tr>
|
180 |
|
|
<tr class="altColor">
|
181 |
|
|
<td class="colFirst"><code>int</code></td>
|
182 |
|
|
<td class="colLast"><code><strong><a href="../ztex/ZtexImgFile1.html#interfaceCapabilities(int)">interfaceCapabilities</a></strong>(int i)</code>
|
183 |
|
|
<div class="block">Returns byte i of the interface capabilities.</div>
|
184 |
|
|
</td>
|
185 |
|
|
</tr>
|
186 |
|
|
<tr class="rowColor">
|
187 |
|
|
<td class="colFirst"><code>int</code></td>
|
188 |
|
|
<td class="colLast"><code><strong><a href="../ztex/ZtexImgFile1.html#interfaceVersion()">interfaceVersion</a></strong>()</code>
|
189 |
|
|
<div class="block">Returns the interface version.</div>
|
190 |
|
|
</td>
|
191 |
|
|
</tr>
|
192 |
|
|
<tr class="altColor">
|
193 |
|
|
<td class="colFirst"><code>byte[]</code></td>
|
194 |
|
|
<td class="colLast"><code><strong><a href="../ztex/ZtexImgFile1.html#moduleReserved()">moduleReserved</a></strong>()</code>
|
195 |
|
|
<div class="block">Returns the application specific information (all 12 bytes).</div>
|
196 |
|
|
</td>
|
197 |
|
|
</tr>
|
198 |
|
|
<tr class="rowColor">
|
199 |
|
|
<td class="colFirst"><code>int</code></td>
|
200 |
|
|
<td class="colLast"><code><strong><a href="../ztex/ZtexImgFile1.html#moduleReserved(int)">moduleReserved</a></strong>(int i)</code>
|
201 |
|
|
<div class="block">Returns byte i of the application specific information.</div>
|
202 |
|
|
</td>
|
203 |
|
|
</tr>
|
204 |
|
|
<tr class="altColor">
|
205 |
|
|
<td class="colFirst"><code>byte[]</code></td>
|
206 |
|
|
<td class="colLast"><code><strong><a href="../ztex/ZtexImgFile1.html#productId()">productId</a></strong>()</code>
|
207 |
|
|
<div class="block">Returns the product ID (all 4 bytes).</div>
|
208 |
|
|
</td>
|
209 |
|
|
</tr>
|
210 |
|
|
<tr class="rowColor">
|
211 |
|
|
<td class="colFirst"><code>int</code></td>
|
212 |
|
|
<td class="colLast"><code><strong><a href="../ztex/ZtexImgFile1.html#productId(int)">productId</a></strong>(int i)</code>
|
213 |
|
|
<div class="block">Returns byte i of the product ID.</div>
|
214 |
|
|
</td>
|
215 |
|
|
</tr>
|
216 |
|
|
<tr class="altColor">
|
217 |
|
|
<td class="colFirst"><code>void</code></td>
|
218 |
|
|
<td class="colLast"><code><strong><a href="../ztex/ZtexImgFile1.html#setSnString(java.lang.String)">setSnString</a></strong>(java.lang.String s)</code>
|
219 |
|
|
<div class="block">Modifies the serial number string.</div>
|
220 |
|
|
</td>
|
221 |
|
|
</tr>
|
222 |
|
|
<tr class="rowColor">
|
223 |
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
224 |
|
|
<td class="colLast"><code><strong><a href="../ztex/ZtexImgFile1.html#snString()">snString</a></strong>()</code>
|
225 |
|
|
<div class="block">Returns the serial number string.</div>
|
226 |
|
|
</td>
|
227 |
|
|
</tr>
|
228 |
|
|
<tr class="altColor">
|
229 |
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
230 |
|
|
<td class="colLast"><code><strong><a href="../ztex/ZtexImgFile1.html#toString()">toString</a></strong>()</code>
|
231 |
|
|
<div class="block">Returns a string representation if the instance.</div>
|
232 |
|
|
</td>
|
233 |
|
|
</tr>
|
234 |
|
|
</table>
|
235 |
|
|
<ul class="blockList">
|
236 |
|
|
<li class="blockList"><a name="methods_inherited_from_class_ztex.ImgFile">
|
237 |
|
|
<!-- -->
|
238 |
|
|
</a>
|
239 |
|
|
<h3>Methods inherited from class ztex.<a href="../ztex/ImgFile.html" title="class in ztex">ImgFile</a></h3>
|
240 |
|
|
<code><a href="../ztex/ImgFile.html#dataInfo(java.io.PrintStream)">dataInfo</a>, <a href="../ztex/ImgFile.html#uncompressAddr(int)">uncompressAddr</a></code></li>
|
241 |
|
|
</ul>
|
242 |
|
|
<ul class="blockList">
|
243 |
|
|
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
244 |
|
|
<!-- -->
|
245 |
|
|
</a>
|
246 |
|
|
<h3>Methods inherited from class java.lang.Object</h3>
|
247 |
|
|
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
|
248 |
|
|
</ul>
|
249 |
|
|
</li>
|
250 |
|
|
</ul>
|
251 |
|
|
</li>
|
252 |
|
|
</ul>
|
253 |
|
|
</div>
|
254 |
|
|
<div class="details">
|
255 |
|
|
<ul class="blockList">
|
256 |
|
|
<li class="blockList">
|
257 |
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
258 |
|
|
<ul class="blockList">
|
259 |
|
|
<li class="blockList"><a name="constructor_detail">
|
260 |
|
|
<!-- -->
|
261 |
|
|
</a>
|
262 |
|
|
<h3>Constructor Detail</h3>
|
263 |
|
|
<a name="ZtexImgFile1(java.io.InputStream, java.lang.String)">
|
264 |
|
|
<!-- -->
|
265 |
|
|
</a>
|
266 |
|
|
<ul class="blockList">
|
267 |
|
|
<li class="blockList">
|
268 |
|
|
<h4>ZtexImgFile1</h4>
|
269 |
|
|
<pre>public ZtexImgFile1(java.io.InputStream in,
|
270 |
|
|
java.lang.String name)
|
271 |
|
|
throws java.io.IOException,
|
272 |
|
|
<a href="../ztex/ImgFileDamagedException.html" title="class in ztex">ImgFileDamagedException</a>,
|
273 |
|
|
<a href="../ztex/IncompatibleFirmwareException.html" title="class in ztex">IncompatibleFirmwareException</a></pre>
|
274 |
|
|
<div class="block">Constructs an instance from a given file name and descriptor position.<br>
|
275 |
|
|
This method can also read system resources, e.g. files from the current jar archive.</div>
|
276 |
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>in</code> - Input stream from which the img file is read.</dd><dd><code>name</code> - Name of the input.</dd>
|
277 |
|
|
<dt><span class="strong">Throws:</span></dt>
|
278 |
|
|
<dd><code>java.io.IOException</code> - If an read error occurred.</dd>
|
279 |
|
|
<dd><code><a href="../ztex/ImgFileDamagedException.html" title="class in ztex">ImgFileDamagedException</a></code> - If the firmware file is damaged.</dd>
|
280 |
|
|
<dd><code><a href="../ztex/IncompatibleFirmwareException.html" title="class in ztex">IncompatibleFirmwareException</a></code> - If the firmware image contains no valid ZTEX descriptor 1 at the specified position.</dd></dl>
|
281 |
|
|
</li>
|
282 |
|
|
</ul>
|
283 |
|
|
<a name="ZtexImgFile1(java.lang.String)">
|
284 |
|
|
<!-- -->
|
285 |
|
|
</a>
|
286 |
|
|
<ul class="blockListLast">
|
287 |
|
|
<li class="blockList">
|
288 |
|
|
<h4>ZtexImgFile1</h4>
|
289 |
|
|
<pre>public ZtexImgFile1(java.lang.String fileName)
|
290 |
|
|
throws java.io.IOException,
|
291 |
|
|
<a href="../ztex/ImgFileDamagedException.html" title="class in ztex">ImgFileDamagedException</a>,
|
292 |
|
|
<a href="../ztex/IncompatibleFirmwareException.html" title="class in ztex">IncompatibleFirmwareException</a></pre>
|
293 |
|
|
<div class="block">Constructs an instance from a given file name.
|
294 |
|
|
The ZTEX descriptor 1 is expected to be at the position 0x6c of the firmware image.<br>
|
295 |
|
|
This method can also read system resources, e.g. files from the current jar archive.</div>
|
296 |
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>fileName</code> - The file name.</dd>
|
297 |
|
|
<dt><span class="strong">Throws:</span></dt>
|
298 |
|
|
<dd><code>java.io.IOException</code> - If an read error occurred.</dd>
|
299 |
|
|
<dd><code><a href="../ztex/ImgFileDamagedException.html" title="class in ztex">ImgFileDamagedException</a></code> - If the firmware file is damaged.</dd>
|
300 |
|
|
<dd><code><a href="../ztex/IncompatibleFirmwareException.html" title="class in ztex">IncompatibleFirmwareException</a></code> - If the firmware image contains no valid ZTEX descriptor 1 at the specified position.</dd></dl>
|
301 |
|
|
</li>
|
302 |
|
|
</ul>
|
303 |
|
|
</li>
|
304 |
|
|
</ul>
|
305 |
|
|
<!-- ============ METHOD DETAIL ========== -->
|
306 |
|
|
<ul class="blockList">
|
307 |
|
|
<li class="blockList"><a name="method_detail">
|
308 |
|
|
<!-- -->
|
309 |
|
|
</a>
|
310 |
|
|
<h3>Method Detail</h3>
|
311 |
|
|
<a name="productId()">
|
312 |
|
|
<!-- -->
|
313 |
|
|
</a>
|
314 |
|
|
<ul class="blockList">
|
315 |
|
|
<li class="blockList">
|
316 |
|
|
<h4>productId</h4>
|
317 |
|
|
<pre>public final byte[] productId()</pre>
|
318 |
|
|
<div class="block">Returns the product ID (all 4 bytes).</div>
|
319 |
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>PRODUCT_ID, see <a href="../ztex/ZtexDevice1.html" title="class in ztex"><code>ZtexDevice1</code></a>.</dd></dl>
|
320 |
|
|
</li>
|
321 |
|
|
</ul>
|
322 |
|
|
<a name="productId(int)">
|
323 |
|
|
<!-- -->
|
324 |
|
|
</a>
|
325 |
|
|
<ul class="blockList">
|
326 |
|
|
<li class="blockList">
|
327 |
|
|
<h4>productId</h4>
|
328 |
|
|
<pre>public int productId(int i)</pre>
|
329 |
|
|
<div class="block">Returns byte i of the product ID.</div>
|
330 |
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>i</code> - index</dd>
|
331 |
|
|
<dt><span class="strong">Returns:</span></dt><dd>PRODUCT_ID[i], see <a href="../ztex/ZtexDevice1.html" title="class in ztex"><code>ZtexDevice1</code></a>.</dd></dl>
|
332 |
|
|
</li>
|
333 |
|
|
</ul>
|
334 |
|
|
<a name="fwVersion()">
|
335 |
|
|
<!-- -->
|
336 |
|
|
</a>
|
337 |
|
|
<ul class="blockList">
|
338 |
|
|
<li class="blockList">
|
339 |
|
|
<h4>fwVersion</h4>
|
340 |
|
|
<pre>public final int fwVersion()</pre>
|
341 |
|
|
<div class="block">Returns the firmware version.</div>
|
342 |
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>FW_VERSION, see <a href="../ztex/ZtexDevice1.html" title="class in ztex"><code>ZtexDevice1</code></a>.</dd></dl>
|
343 |
|
|
</li>
|
344 |
|
|
</ul>
|
345 |
|
|
<a name="interfaceVersion()">
|
346 |
|
|
<!-- -->
|
347 |
|
|
</a>
|
348 |
|
|
<ul class="blockList">
|
349 |
|
|
<li class="blockList">
|
350 |
|
|
<h4>interfaceVersion</h4>
|
351 |
|
|
<pre>public final int interfaceVersion()</pre>
|
352 |
|
|
<div class="block">Returns the interface version.</div>
|
353 |
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>INTERFACE_VERSION, see <a href="../ztex/ZtexDevice1.html" title="class in ztex"><code>ZtexDevice1</code></a>.</dd></dl>
|
354 |
|
|
</li>
|
355 |
|
|
</ul>
|
356 |
|
|
<a name="interfaceCapabilities()">
|
357 |
|
|
<!-- -->
|
358 |
|
|
</a>
|
359 |
|
|
<ul class="blockList">
|
360 |
|
|
<li class="blockList">
|
361 |
|
|
<h4>interfaceCapabilities</h4>
|
362 |
|
|
<pre>public final byte[] interfaceCapabilities()</pre>
|
363 |
|
|
<div class="block">Returns the interface capabilities (all 6 bytes).</div>
|
364 |
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>INTERFACE_CAPABILITIES, see <a href="../ztex/ZtexDevice1.html" title="class in ztex"><code>ZtexDevice1</code></a>.</dd></dl>
|
365 |
|
|
</li>
|
366 |
|
|
</ul>
|
367 |
|
|
<a name="interfaceCapabilities(int)">
|
368 |
|
|
<!-- -->
|
369 |
|
|
</a>
|
370 |
|
|
<ul class="blockList">
|
371 |
|
|
<li class="blockList">
|
372 |
|
|
<h4>interfaceCapabilities</h4>
|
373 |
|
|
<pre>public final int interfaceCapabilities(int i)</pre>
|
374 |
|
|
<div class="block">Returns byte i of the interface capabilities.</div>
|
375 |
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>i</code> - index</dd>
|
376 |
|
|
<dt><span class="strong">Returns:</span></dt><dd>INTERFACE_CAPABILITIES[i], see <a href="../ztex/ZtexDevice1.html" title="class in ztex"><code>ZtexDevice1</code></a>.</dd></dl>
|
377 |
|
|
</li>
|
378 |
|
|
</ul>
|
379 |
|
|
<a name="moduleReserved()">
|
380 |
|
|
<!-- -->
|
381 |
|
|
</a>
|
382 |
|
|
<ul class="blockList">
|
383 |
|
|
<li class="blockList">
|
384 |
|
|
<h4>moduleReserved</h4>
|
385 |
|
|
<pre>public final byte[] moduleReserved()</pre>
|
386 |
|
|
<div class="block">Returns the application specific information (all 12 bytes).</div>
|
387 |
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>MODULE_RESERVED, see <a href="../ztex/ZtexDevice1.html" title="class in ztex"><code>ZtexDevice1</code></a>.</dd></dl>
|
388 |
|
|
</li>
|
389 |
|
|
</ul>
|
390 |
|
|
<a name="moduleReserved(int)">
|
391 |
|
|
<!-- -->
|
392 |
|
|
</a>
|
393 |
|
|
<ul class="blockList">
|
394 |
|
|
<li class="blockList">
|
395 |
|
|
<h4>moduleReserved</h4>
|
396 |
|
|
<pre>public final int moduleReserved(int i)</pre>
|
397 |
|
|
<div class="block">Returns byte i of the application specific information.</div>
|
398 |
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>i</code> - index</dd>
|
399 |
|
|
<dt><span class="strong">Returns:</span></dt><dd>MODULE_RESERVED[i], see <a href="../ztex/ZtexDevice1.html" title="class in ztex"><code>ZtexDevice1</code></a>.</dd></dl>
|
400 |
|
|
</li>
|
401 |
|
|
</ul>
|
402 |
|
|
<a name="snString()">
|
403 |
|
|
<!-- -->
|
404 |
|
|
</a>
|
405 |
|
|
<ul class="blockList">
|
406 |
|
|
<li class="blockList">
|
407 |
|
|
<h4>snString</h4>
|
408 |
|
|
<pre>public final java.lang.String snString()</pre>
|
409 |
|
|
<div class="block">Returns the serial number string.</div>
|
410 |
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>SN_STRING, see <a href="../ztex/ZtexDevice1.html" title="class in ztex"><code>ZtexDevice1</code></a>.</dd></dl>
|
411 |
|
|
</li>
|
412 |
|
|
</ul>
|
413 |
|
|
<a name="setSnString(java.lang.String)">
|
414 |
|
|
<!-- -->
|
415 |
|
|
</a>
|
416 |
|
|
<ul class="blockList">
|
417 |
|
|
<li class="blockList">
|
418 |
|
|
<h4>setSnString</h4>
|
419 |
|
|
<pre>public final void setSnString(java.lang.String s)
|
420 |
|
|
throws <a href="../ztex/IncompatibleFirmwareException.html" title="class in ztex">IncompatibleFirmwareException</a></pre>
|
421 |
|
|
<div class="block">Modifies the serial number string.</div>
|
422 |
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>s</code> - The new serial number string which must not be longer then 10 characters.</dd>
|
423 |
|
|
<dt><span class="strong">Throws:</span></dt>
|
424 |
|
|
<dd><code><a href="../ztex/IncompatibleFirmwareException.html" title="class in ztex">IncompatibleFirmwareException</a></code></dd></dl>
|
425 |
|
|
</li>
|
426 |
|
|
</ul>
|
427 |
|
|
<a name="toString()">
|
428 |
|
|
<!-- -->
|
429 |
|
|
</a>
|
430 |
|
|
<ul class="blockListLast">
|
431 |
|
|
<li class="blockList">
|
432 |
|
|
<h4>toString</h4>
|
433 |
|
|
<pre>public java.lang.String toString()</pre>
|
434 |
|
|
<div class="block">Returns a string representation if the instance.</div>
|
435 |
|
|
<dl>
|
436 |
|
|
<dt><strong>Overrides:</strong></dt>
|
437 |
|
|
<dd><code>toString</code> in class <code>java.lang.Object</code></dd>
|
438 |
|
|
<dt><span class="strong">Returns:</span></dt><dd>a string representation if the instance.</dd></dl>
|
439 |
|
|
</li>
|
440 |
|
|
</ul>
|
441 |
|
|
</li>
|
442 |
|
|
</ul>
|
443 |
|
|
</li>
|
444 |
|
|
</ul>
|
445 |
|
|
</div>
|
446 |
|
|
</div>
|
447 |
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
448 |
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
449 |
|
|
<div class="bottomNav"><a name="navbar_bottom">
|
450 |
|
|
<!-- -->
|
451 |
|
|
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
452 |
|
|
<!-- -->
|
453 |
|
|
</a>
|
454 |
|
|
<ul class="navList" title="Navigation">
|
455 |
|
|
<li><a href="../ztex/package-summary.html">Package</a></li>
|
456 |
|
|
<li class="navBarCell1Rev">Class</li>
|
457 |
|
|
<li><a href="package-tree.html">Tree</a></li>
|
458 |
|
|
<li><a href="../deprecated-list.html">Deprecated</a></li>
|
459 |
|
|
<li><a href="../index-all.html">Index</a></li>
|
460 |
|
|
<li><a href="../help-doc.html">Help</a></li>
|
461 |
|
|
</ul>
|
462 |
|
|
</div>
|
463 |
|
|
<div class="subNav">
|
464 |
|
|
<ul class="navList">
|
465 |
|
|
<li><a href="../ztex/ZtexEventHandler.html" title="class in ztex"><span class="strong">Prev Class</span></a></li>
|
466 |
|
|
<li><a href="../ztex/ZtexScanBus1.html" title="class in ztex"><span class="strong">Next Class</span></a></li>
|
467 |
|
|
</ul>
|
468 |
|
|
<ul class="navList">
|
469 |
|
|
<li><a href="../index.html?ztex/ZtexImgFile1.html" target="_top">Frames</a></li>
|
470 |
|
|
<li><a href="ZtexImgFile1.html" target="_top">No Frames</a></li>
|
471 |
|
|
</ul>
|
472 |
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
473 |
|
|
<li><a href="../allclasses-noframe.html">All Classes</a></li>
|
474 |
|
|
</ul>
|
475 |
|
|
<div>
|
476 |
|
|
<script type="text/javascript"><!--
|
477 |
|
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
478 |
|
|
if(window==top) {
|
479 |
|
|
allClassesLink.style.display = "block";
|
480 |
|
|
}
|
481 |
|
|
else {
|
482 |
|
|
allClassesLink.style.display = "none";
|
483 |
|
|
}
|
484 |
|
|
//-->
|
485 |
|
|
</script>
|
486 |
|
|
</div>
|
487 |
|
|
<div>
|
488 |
|
|
<ul class="subNavList">
|
489 |
|
|
<li>Summary: </li>
|
490 |
|
|
<li>Nested | </li>
|
491 |
|
|
<li><a href="#fields_inherited_from_class_ztex.ImgFile">Field</a> | </li>
|
492 |
|
|
<li><a href="#constructor_summary">Constr</a> | </li>
|
493 |
|
|
<li><a href="#method_summary">Method</a></li>
|
494 |
|
|
</ul>
|
495 |
|
|
<ul class="subNavList">
|
496 |
|
|
<li>Detail: </li>
|
497 |
|
|
<li>Field | </li>
|
498 |
|
|
<li><a href="#constructor_detail">Constr</a> | </li>
|
499 |
|
|
<li><a href="#method_detail">Method</a></li>
|
500 |
|
|
</ul>
|
501 |
|
|
</div>
|
502 |
|
|
<a name="skip-navbar_bottom">
|
503 |
|
|
<!-- -->
|
504 |
|
|
</a></div>
|
505 |
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
506 |
|
|
</body>
|
507 |
|
|
</html>
|