<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
<!--NewPage-->
|
<!--NewPage-->
|
<HTML>
|
<HTML>
|
<HEAD>
|
<HEAD>
|
<!-- Generated by javadoc (build 1.6.0_02) on Mon Jul 18 15:52:41 CEST 2011 -->
|
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 -->
|
<TITLE>
|
<TITLE>
|
Ztex1
|
Ztex1
|
</TITLE>
|
</TITLE>
|
|
|
<META NAME="date" CONTENT="2011-07-18">
|
<META NAME="date" CONTENT="2012-04-12">
|
|
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
|
|
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
function windowTitle()
|
function windowTitle()
|
{
|
{
|
if (location.href.indexOf('is-external=true') == -1) {
|
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Ztex1";
|
parent.document.title="Ztex1";
|
}
|
}
|
}
|
}
|
</SCRIPT>
|
</SCRIPT>
|
<NOSCRIPT>
|
<NOSCRIPT>
|
</NOSCRIPT>
|
</NOSCRIPT>
|
|
|
</HEAD>
|
</HEAD>
|
|
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
<HR>
|
<HR>
|
|
|
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
<A NAME="navbar_top"><!-- --></A>
|
<A NAME="navbar_top"><!-- --></A>
|
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
<TR>
|
<TR>
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
<A NAME="navbar_top_firstrow"><!-- --></A>
|
<A NAME="navbar_top_firstrow"><!-- --></A>
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
<TR ALIGN="center" VALIGN="top">
|
<TR ALIGN="center" VALIGN="top">
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
</TR>
|
</TR>
|
</TABLE>
|
</TABLE>
|
</TD>
|
</TD>
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
</EM>
|
</EM>
|
</TD>
|
</TD>
|
</TR>
|
</TR>
|
|
|
<TR>
|
<TR>
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
<A HREF="../ztex/UsbException.html" title="class in ztex"><B>PREV CLASS</B></A>
|
<A HREF="../ztex/UsbException.html" title="class in ztex"><B>PREV CLASS</B></A>
|
<A HREF="../ztex/Ztex1v1.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD>
|
<A HREF="../ztex/Ztex1v1.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD>
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
<A HREF="../index.html?ztex/Ztex1.html" target="_top"><B>FRAMES</B></A>
|
<A HREF="../index.html?ztex/Ztex1.html" target="_top"><B>FRAMES</B></A>
|
<A HREF="Ztex1.html" target="_top"><B>NO FRAMES</B></A>
|
<A HREF="Ztex1.html" target="_top"><B>NO FRAMES</B></A>
|
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
<!--
|
<!--
|
if(window==top) {
|
if(window==top) {
|
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
}
|
}
|
//-->
|
//-->
|
</SCRIPT>
|
</SCRIPT>
|
<NOSCRIPT>
|
<NOSCRIPT>
|
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
</NOSCRIPT>
|
</NOSCRIPT>
|
|
|
|
|
</FONT></TD>
|
</FONT></TD>
|
</TR>
|
</TR>
|
<TR>
|
<TR>
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
</TR>
|
</TR>
|
</TABLE>
|
</TABLE>
|
<A NAME="skip-navbar_top"></A>
|
<A NAME="skip-navbar_top"></A>
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
|
<HR>
|
<HR>
|
<!-- ======== START OF CLASS DATA ======== -->
|
<!-- ======== START OF CLASS DATA ======== -->
|
<H2>
|
<H2>
|
<FONT SIZE="-1">
|
<FONT SIZE="-1">
|
ztex</FONT>
|
ztex</FONT>
|
<BR>
|
<BR>
|
Class Ztex1</H2>
|
Class Ztex1</H2>
|
<PRE>
|
<PRE>
|
java.lang.Object
|
java.lang.Object
|
<IMG SRC="../resources/inherit.gif" ALT="extended by "><B>ztex.Ztex1</B>
|
<IMG SRC="../resources/inherit.gif" ALT="extended by "><B>ztex.Ztex1</B>
|
</PRE>
|
</PRE>
|
<DL>
|
<DL>
|
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A></DD>
|
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A></DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
<DL>
|
<DL>
|
<DT><PRE>public class <B>Ztex1</B><DT>extends java.lang.Object</DL>
|
<DT><PRE>public class <B>Ztex1</B><DT>extends java.lang.Object</DL>
|
</PRE>
|
</PRE>
|
|
|
<P>
|
<P>
|
This class implements the interface-independent part of the communication protocol for the interaction with the ZTEX firmware.<p>
|
This class implements the interface-independent part of the communication protocol for the interaction with the ZTEX firmware.<p>
|
All firmware implementations that provide the ZTEX descriptor 1 are supported.
|
All firmware implementations that provide the ZTEX descriptor 1 are supported.
|
A description of this descriptor can be found in <A HREF="../ztex/ZtexDevice1.html" title="class in ztex"><CODE>ZtexDevice1</CODE></A>.
|
A description of this descriptor can be found in <A HREF="../ztex/ZtexDevice1.html" title="class in ztex"><CODE>ZtexDevice1</CODE></A>.
|
<p>
|
<p>
|
The most important features of this class are the functions for uploading the firmware
|
The most important features of this class are the functions for uploading the firmware
|
and the renumeration management.
|
and the renumeration management.
|
<p>
|
<p>
|
The interface dependent part of the communication protocol (currently only one is supported)
|
The interface dependent part of the communication protocol (currently only one is supported)
|
can be found in <A HREF="../ztex/Ztex1v1.html" title="class in ztex"><CODE>Ztex1v1</CODE></A>.
|
can be found in <A HREF="../ztex/Ztex1v1.html" title="class in ztex"><CODE>Ztex1v1</CODE></A>.
|
<P>
|
<P>
|
|
|
<P>
|
<P>
|
<DL>
|
<DL>
|
<DT><B>See Also:</B><DD><A HREF="../ztex/ZtexDevice1.html" title="class in ztex"><CODE>ZtexDevice1</CODE></A>,
|
<DT><B>See Also:</B><DD><A HREF="../ztex/ZtexDevice1.html" title="class in ztex"><CODE>ZtexDevice1</CODE></A>,
|
<A HREF="../ztex/Ztex1v1.html" title="class in ztex"><CODE>Ztex1v1</CODE></A></DL>
|
<A HREF="../ztex/Ztex1v1.html" title="class in ztex"><CODE>Ztex1v1</CODE></A></DL>
|
<HR>
|
<HR>
|
|
|
<P>
|
<P>
|
<!-- =========== FIELD SUMMARY =========== -->
|
<!-- =========== FIELD SUMMARY =========== -->
|
|
|
<A NAME="field_summary"><!-- --></A>
|
<A NAME="field_summary"><!-- --></A>
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
<B>Field Summary</B></FONT></TH>
|
<B>Field Summary</B></FONT></TH>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> boolean</CODE></FONT></TD>
|
<CODE> boolean</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#certainWorkarounds">certainWorkarounds</A></B></CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#certainWorkarounds">certainWorkarounds</A></B></CODE>
|
|
|
<BR>
|
<BR>
|
Setting to true enables certain workarounds, e.g. to deal with bad driver/OS implementations.</TD>
|
Setting to true enables certain workarounds, e.g. to deal with bad driver/OS implementations.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> int</CODE></FONT></TD>
|
<CODE> int</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#controlMsgTimeout">controlMsgTimeout</A></B></CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#controlMsgTimeout">controlMsgTimeout</A></B></CODE>
|
|
|
<BR>
|
<BR>
|
The timeout for control messages in ms.</TD>
|
The timeout for control messages in ms.</TD>
|
</TR>
|
</TR>
|
</TABLE>
|
</TABLE>
|
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
|
<A NAME="constructor_summary"><!-- --></A>
|
<A NAME="constructor_summary"><!-- --></A>
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
<B>Constructor Summary</B></FONT></TH>
|
<B>Constructor Summary</B></FONT></TH>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#Ztex1(ztex.ZtexDevice1)">Ztex1</A></B>(<A HREF="../ztex/ZtexDevice1.html" title="class in ztex">ZtexDevice1</A> pDev)</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#Ztex1(ztex.ZtexDevice1)">Ztex1</A></B>(<A HREF="../ztex/ZtexDevice1.html" title="class in ztex">ZtexDevice1</A> pDev)</CODE>
|
|
|
<BR>
|
<BR>
|
Constructs an instance from a given device.</TD>
|
Constructs an instance from a given device.</TD>
|
</TR>
|
</TR>
|
</TABLE>
|
</TABLE>
|
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
|
<A NAME="method_summary"><!-- --></A>
|
<A NAME="method_summary"><!-- --></A>
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
<B>Method Summary</B></FONT></TH>
|
<B>Method Summary</B></FONT></TH>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> void</CODE></FONT></TD>
|
<CODE> void</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#checkValid()">checkValid</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#checkValid()">checkValid</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Checks whether ZTEX descriptor 1 is available.</TD>
|
Checks whether ZTEX descriptor 1 is available.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> void</CODE></FONT></TD>
|
<CODE> void</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#claimInterface(int)">claimInterface</A></B>(int iface)</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#claimInterface(int)">claimInterface</A></B>(int iface)</CODE>
|
|
|
<BR>
|
<BR>
|
Claims an interface.</TD>
|
Claims an interface.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> <A HREF="../ztex/ZtexDevice1.html" title="class in ztex">ZtexDevice1</A></CODE></FONT></TD>
|
<CODE> <A HREF="../ztex/ZtexDevice1.html" title="class in ztex">ZtexDevice1</A></CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#dev()">dev</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#dev()">dev</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Returns the corresponding <A HREF="../ztex/ZtexDevice1.html" title="class in ztex"><CODE>ZtexDevice1</CODE></A>.</TD>
|
Returns the corresponding <A HREF="../ztex/ZtexDevice1.html" title="class in ztex"><CODE>ZtexDevice1</CODE></A>.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE>protected void</CODE></FONT></TD>
|
<CODE>protected void</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#finalize()">finalize</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#finalize()">finalize</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
The destructor closes the USB file handle.</TD>
|
The destructor closes the USB file handle.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> boolean</CODE></FONT></TD>
|
<CODE> boolean</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#getInterfaceClaimed(int)">getInterfaceClaimed</A></B>(int iface)</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#getInterfaceClaimed(int)">getInterfaceClaimed</A></B>(int iface)</CODE>
|
|
|
<BR>
|
<BR>
|
Returns true if interface is claimed.</TD>
|
Returns true if interface is claimed.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> long</CODE></FONT></TD>
|
<CODE> long</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#handle()">handle</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#handle()">handle</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Returns the USB file handle.</TD>
|
Returns the USB file handle.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> void</CODE></FONT></TD>
|
<CODE> void</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#releaseInterface(int)">releaseInterface</A></B>(int iface)</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#releaseInterface(int)">releaseInterface</A></B>(int iface)</CODE>
|
|
|
<BR>
|
<BR>
|
Releases an interface.</TD>
|
Releases an interface.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> void</CODE></FONT></TD>
|
<CODE> void</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#resetEzUsb()">resetEzUsb</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#resetEzUsb()">resetEzUsb</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Resets the EZ-USB and manages the renumeration process.</TD>
|
Resets the EZ-USB and manages the renumeration process.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> void</CODE></FONT></TD>
|
<CODE> void</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#setConfiguration(int)">setConfiguration</A></B>(int config)</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#setConfiguration(int)">setConfiguration</A></B>(int config)</CODE>
|
|
|
<BR>
|
<BR>
|
Sets the configuration.</TD>
|
Sets the configuration.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> java.lang.String</CODE></FONT></TD>
|
<CODE> java.lang.String</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#toString()">toString</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#toString()">toString</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Returns a lot of useful information about the corresponding device.</TD>
|
Returns a lot of useful information about the corresponding device.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> void</CODE></FONT></TD>
|
<CODE> void</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#trySetConfiguration(int)">trySetConfiguration</A></B>(int config)</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#trySetConfiguration(int)">trySetConfiguration</A></B>(int config)</CODE>
|
|
|
<BR>
|
<BR>
|
Tries to set the configuration.</TD>
|
Tries to set the configuration.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> long</CODE></FONT></TD>
|
<CODE> long</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#uploadFirmware(java.lang.String, boolean)">uploadFirmware</A></B>(java.lang.String ihxFileName,
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#uploadFirmware(java.lang.String, boolean)">uploadFirmware</A></B>(java.lang.String ihxFileName,
|
boolean force)</CODE>
|
boolean force)</CODE>
|
|
|
<BR>
|
<BR>
|
Uploads the firmware to the EZ-USB and manages the renumeration process.</TD>
|
Uploads the firmware to the EZ-USB and manages the renumeration process.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> long</CODE></FONT></TD>
|
<CODE> long</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#uploadFirmware(ztex.ZtexIhxFile1, boolean)">uploadFirmware</A></B>(<A HREF="../ztex/ZtexIhxFile1.html" title="class in ztex">ZtexIhxFile1</A> ihxFile,
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#uploadFirmware(ztex.ZtexIhxFile1, boolean)">uploadFirmware</A></B>(<A HREF="../ztex/ZtexIhxFile1.html" title="class in ztex">ZtexIhxFile1</A> ihxFile,
|
boolean force)</CODE>
|
boolean force)</CODE>
|
|
|
<BR>
|
<BR>
|
Uploads the firmware to the EZ-USB and manages the renumeration process.</TD>
|
Uploads the firmware to the EZ-USB and manages the renumeration process.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> boolean</CODE></FONT></TD>
|
<CODE> boolean</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#valid()">valid</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#valid()">valid</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Returns true if ZTEX descriptor 1 is available.</TD>
|
Returns true if ZTEX descriptor 1 is available.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> int</CODE></FONT></TD>
|
<CODE> int</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#vendorCommand(int, java.lang.String)">vendorCommand</A></B>(int cmd,
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#vendorCommand(int, java.lang.String)">vendorCommand</A></B>(int cmd,
|
java.lang.String func)</CODE>
|
java.lang.String func)</CODE>
|
|
|
<BR>
|
<BR>
|
Sends a vendor command with no payload data and no setup data to Endpoint 0 of the EZ-USB device.</TD>
|
Sends a vendor command with no payload data and no setup data to Endpoint 0 of the EZ-USB device.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> int</CODE></FONT></TD>
|
<CODE> int</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#vendorCommand(int, java.lang.String, int, int)">vendorCommand</A></B>(int cmd,
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#vendorCommand(int, java.lang.String, int, int)">vendorCommand</A></B>(int cmd,
|
java.lang.String func,
|
java.lang.String func,
|
int value,
|
int value,
|
int index)</CODE>
|
int index)</CODE>
|
|
|
<BR>
|
<BR>
|
Sends a vendor command with no payload data to Endpoint 0 of the EZ-USB device.</TD>
|
Sends a vendor command with no payload data to Endpoint 0 of the EZ-USB device.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> int</CODE></FONT></TD>
|
<CODE> int</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#vendorCommand(int, java.lang.String, int, int, byte[], int)">vendorCommand</A></B>(int cmd,
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#vendorCommand(int, java.lang.String, int, int, byte[], int)">vendorCommand</A></B>(int cmd,
|
java.lang.String func,
|
java.lang.String func,
|
int value,
|
int value,
|
int index,
|
int index,
|
byte[] buf,
|
byte[] buf,
|
int length)</CODE>
|
int length)</CODE>
|
|
|
<BR>
|
<BR>
|
Sends a vendor command to Endpoint 0 of the EZ-USB device.</TD>
|
Sends a vendor command to Endpoint 0 of the EZ-USB device.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> void</CODE></FONT></TD>
|
<CODE> void</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#vendorCommand2(int, java.lang.String, int, int, byte[], int)">vendorCommand2</A></B>(int cmd,
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#vendorCommand2(int, java.lang.String, int, int, byte[], int)">vendorCommand2</A></B>(int cmd,
|
java.lang.String func,
|
java.lang.String func,
|
int value,
|
int value,
|
int index,
|
int index,
|
byte[] buf,
|
byte[] buf,
|
int length)</CODE>
|
int length)</CODE>
|
|
|
<BR>
|
<BR>
|
Sends a vendor command to Endpoint 0 of the EZ-USB device and throws an <A HREF="../ztex/UsbException.html" title="class in ztex"><CODE>UsbException</CODE></A> if not all of the payload has been sent.</TD>
|
Sends a vendor command to Endpoint 0 of the EZ-USB device and throws an <A HREF="../ztex/UsbException.html" title="class in ztex"><CODE>UsbException</CODE></A> if not all of the payload has been sent.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> int</CODE></FONT></TD>
|
<CODE> int</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#vendorRequest(int, java.lang.String, byte[], int)">vendorRequest</A></B>(int cmd,
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#vendorRequest(int, java.lang.String, byte[], int)">vendorRequest</A></B>(int cmd,
|
java.lang.String func,
|
java.lang.String func,
|
byte[] buf,
|
byte[] buf,
|
int maxlen)</CODE>
|
int maxlen)</CODE>
|
|
|
<BR>
|
<BR>
|
Sends a vendor request to Endpoint 0 of the EZ-USB device.</TD>
|
Sends a vendor request to Endpoint 0 of the EZ-USB device.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> int</CODE></FONT></TD>
|
<CODE> int</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#vendorRequest(int, java.lang.String, int, int, byte[], int)">vendorRequest</A></B>(int cmd,
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#vendorRequest(int, java.lang.String, int, int, byte[], int)">vendorRequest</A></B>(int cmd,
|
java.lang.String func,
|
java.lang.String func,
|
int value,
|
int value,
|
int index,
|
int index,
|
byte[] buf,
|
byte[] buf,
|
int maxlen)</CODE>
|
int maxlen)</CODE>
|
|
|
<BR>
|
<BR>
|
Sends a vendor request to Endpoint 0 of the EZ-USB device.</TD>
|
Sends a vendor request to Endpoint 0 of the EZ-USB device.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> void</CODE></FONT></TD>
|
<CODE> void</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#vendorRequest2(int, java.lang.String, byte[], int)">vendorRequest2</A></B>(int cmd,
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#vendorRequest2(int, java.lang.String, byte[], int)">vendorRequest2</A></B>(int cmd,
|
java.lang.String func,
|
java.lang.String func,
|
byte[] buf,
|
byte[] buf,
|
int maxlen)</CODE>
|
int maxlen)</CODE>
|
|
|
<BR>
|
<BR>
|
Sends a vendor request to Endpoint 0 of the EZ-USB device and throws an <A HREF="../ztex/UsbException.html" title="class in ztex"><CODE>UsbException</CODE></A> if not all of the payload has been received.</TD>
|
Sends a vendor request to Endpoint 0 of the EZ-USB device and throws an <A HREF="../ztex/UsbException.html" title="class in ztex"><CODE>UsbException</CODE></A> if not all of the payload has been received.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> void</CODE></FONT></TD>
|
<CODE> void</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#vendorRequest2(int, java.lang.String, int, int, byte[], int)">vendorRequest2</A></B>(int cmd,
|
<TD><CODE><B><A HREF="../ztex/Ztex1.html#vendorRequest2(int, java.lang.String, int, int, byte[], int)">vendorRequest2</A></B>(int cmd,
|
java.lang.String func,
|
java.lang.String func,
|
int value,
|
int value,
|
int index,
|
int index,
|
byte[] buf,
|
byte[] buf,
|
int maxlen)</CODE>
|
int maxlen)</CODE>
|
|
|
<BR>
|
<BR>
|
Sends a vendor request to Endpoint 0 of the EZ-USB device and throws an <A HREF="../ztex/UsbException.html" title="class in ztex"><CODE>UsbException</CODE></A> if not all of the payload has been received.</TD>
|
Sends a vendor request to Endpoint 0 of the EZ-USB device and throws an <A HREF="../ztex/UsbException.html" title="class in ztex"><CODE>UsbException</CODE></A> if not all of the payload has been received.</TD>
|
</TR>
|
</TR>
|
</TABLE>
|
</TABLE>
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
|
<TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
|
</TR>
|
</TR>
|
</TABLE>
|
</TABLE>
|
|
|
<P>
|
<P>
|
|
|
<!-- ============ FIELD DETAIL =========== -->
|
<!-- ============ FIELD DETAIL =========== -->
|
|
|
<A NAME="field_detail"><!-- --></A>
|
<A NAME="field_detail"><!-- --></A>
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
<B>Field Detail</B></FONT></TH>
|
<B>Field Detail</B></FONT></TH>
|
</TR>
|
</TR>
|
</TABLE>
|
</TABLE>
|
|
|
<A NAME="certainWorkarounds"><!-- --></A><H3>
|
<A NAME="certainWorkarounds"><!-- --></A><H3>
|
certainWorkarounds</H3>
|
certainWorkarounds</H3>
|
<PRE>
|
<PRE>
|
public boolean <B>certainWorkarounds</B></PRE>
|
public boolean <B>certainWorkarounds</B></PRE>
|
<DL>
|
<DL>
|
<DD>Setting to true enables certain workarounds, e.g. to deal with bad driver/OS implementations.
|
<DD>Setting to true enables certain workarounds, e.g. to deal with bad driver/OS implementations.
|
<P>
|
<P>
|
<DL>
|
<DL>
|
</DL>
|
</DL>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="controlMsgTimeout"><!-- --></A><H3>
|
<A NAME="controlMsgTimeout"><!-- --></A><H3>
|
controlMsgTimeout</H3>
|
controlMsgTimeout</H3>
|
<PRE>
|
<PRE>
|
public int <B>controlMsgTimeout</B></PRE>
|
public int <B>controlMsgTimeout</B></PRE>
|
<DL>
|
<DL>
|
<DD>The timeout for control messages in ms.
|
<DD>The timeout for control messages in ms.
|
<P>
|
<P>
|
<DL>
|
<DL>
|
</DL>
|
</DL>
|
</DL>
|
</DL>
|
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
|
<A NAME="constructor_detail"><!-- --></A>
|
<A NAME="constructor_detail"><!-- --></A>
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
<B>Constructor Detail</B></FONT></TH>
|
<B>Constructor Detail</B></FONT></TH>
|
</TR>
|
</TR>
|
</TABLE>
|
</TABLE>
|
|
|
<A NAME="Ztex1(ztex.ZtexDevice1)"><!-- --></A><H3>
|
<A NAME="Ztex1(ztex.ZtexDevice1)"><!-- --></A><H3>
|
Ztex1</H3>
|
Ztex1</H3>
|
<PRE>
|
<PRE>
|
public <B>Ztex1</B>(<A HREF="../ztex/ZtexDevice1.html" title="class in ztex">ZtexDevice1</A> pDev)
|
public <B>Ztex1</B>(<A HREF="../ztex/ZtexDevice1.html" title="class in ztex">ZtexDevice1</A> pDev)
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></PRE>
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></PRE>
|
<DL>
|
<DL>
|
<DD>Constructs an instance from a given device.
|
<DD>Constructs an instance from a given device.
|
<P>
|
<P>
|
<DL>
|
<DL>
|
<DT><B>Parameters:</B><DD><CODE>pDev</CODE> - The given device.
|
<DT><B>Parameters:</B><DD><CODE>pDev</CODE> - The given device.
|
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if an communication error occurred.</DL>
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if an communication error occurred.</DL>
|
</DL>
|
</DL>
|
|
|
<!-- ============ METHOD DETAIL ========== -->
|
<!-- ============ METHOD DETAIL ========== -->
|
|
|
<A NAME="method_detail"><!-- --></A>
|
<A NAME="method_detail"><!-- --></A>
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
<B>Method Detail</B></FONT></TH>
|
<B>Method Detail</B></FONT></TH>
|
</TR>
|
</TR>
|
</TABLE>
|
</TABLE>
|
|
|
<A NAME="finalize()"><!-- --></A><H3>
|
<A NAME="finalize()"><!-- --></A><H3>
|
finalize</H3>
|
finalize</H3>
|
<PRE>
|
<PRE>
|
protected void <B>finalize</B>()</PRE>
|
protected void <B>finalize</B>()</PRE>
|
<DL>
|
<DL>
|
<DD>The destructor closes the USB file handle.
|
<DD>The destructor closes the USB file handle.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Overrides:</B><DD><CODE>finalize</CODE> in class <CODE>java.lang.Object</CODE></DL>
|
<DT><B>Overrides:</B><DD><CODE>finalize</CODE> in class <CODE>java.lang.Object</CODE></DL>
|
</DD>
|
</DD>
|
<DD><DL>
|
<DD><DL>
|
</DL>
|
</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="handle()"><!-- --></A><H3>
|
<A NAME="handle()"><!-- --></A><H3>
|
handle</H3>
|
handle</H3>
|
<PRE>
|
<PRE>
|
public final long <B>handle</B>()</PRE>
|
public final long <B>handle</B>()</PRE>
|
<DL>
|
<DL>
|
<DD>Returns the USB file handle.
|
<DD>Returns the USB file handle.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
</DL>
|
</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="dev()"><!-- --></A><H3>
|
<A NAME="dev()"><!-- --></A><H3>
|
dev</H3>
|
dev</H3>
|
<PRE>
|
<PRE>
|
public final <A HREF="../ztex/ZtexDevice1.html" title="class in ztex">ZtexDevice1</A> <B>dev</B>()</PRE>
|
public final <A HREF="../ztex/ZtexDevice1.html" title="class in ztex">ZtexDevice1</A> <B>dev</B>()</PRE>
|
<DL>
|
<DL>
|
<DD>Returns the corresponding <A HREF="../ztex/ZtexDevice1.html" title="class in ztex"><CODE>ZtexDevice1</CODE></A>.
|
<DD>Returns the corresponding <A HREF="../ztex/ZtexDevice1.html" title="class in ztex"><CODE>ZtexDevice1</CODE></A>.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
|
|
<DT><B>Returns:</B><DD>the corresponding <A HREF="../ztex/ZtexDevice1.html" title="class in ztex"><CODE>ZtexDevice1</CODE></A>.</DL>
|
<DT><B>Returns:</B><DD>the corresponding <A HREF="../ztex/ZtexDevice1.html" title="class in ztex"><CODE>ZtexDevice1</CODE></A>.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="valid()"><!-- --></A><H3>
|
<A NAME="valid()"><!-- --></A><H3>
|
valid</H3>
|
valid</H3>
|
<PRE>
|
<PRE>
|
public boolean <B>valid</B>()</PRE>
|
public boolean <B>valid</B>()</PRE>
|
<DL>
|
<DL>
|
<DD>Returns true if ZTEX descriptor 1 is available.
|
<DD>Returns true if ZTEX descriptor 1 is available.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
|
|
<DT><B>Returns:</B><DD>true if ZTEX descriptor 1 is available.</DL>
|
<DT><B>Returns:</B><DD>true if ZTEX descriptor 1 is available.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="checkValid()"><!-- --></A><H3>
|
<A NAME="checkValid()"><!-- --></A><H3>
|
checkValid</H3>
|
checkValid</H3>
|
<PRE>
|
<PRE>
|
public void <B>checkValid</B>()
|
public void <B>checkValid</B>()
|
throws <A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></PRE>
|
throws <A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></PRE>
|
<DL>
|
<DL>
|
<DD>Checks whether ZTEX descriptor 1 is available.
|
<DD>Checks whether ZTEX descriptor 1 is available.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
|
|
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if ZTEX descriptor 1 is not available.</DL>
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if ZTEX descriptor 1 is not available.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="vendorCommand(int, java.lang.String, int, int, byte[], int)"><!-- --></A><H3>
|
<A NAME="vendorCommand(int, java.lang.String, int, int, byte[], int)"><!-- --></A><H3>
|
vendorCommand</H3>
|
vendorCommand</H3>
|
<PRE>
|
<PRE>
|
public int <B>vendorCommand</B>(int cmd,
|
public int <B>vendorCommand</B>(int cmd,
|
java.lang.String func,
|
java.lang.String func,
|
int value,
|
int value,
|
int index,
|
int index,
|
byte[] buf,
|
byte[] buf,
|
int length)
|
int length)
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></PRE>
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></PRE>
|
<DL>
|
<DL>
|
<DD>Sends a vendor command to Endpoint 0 of the EZ-USB device.
|
<DD>Sends a vendor command to Endpoint 0 of the EZ-USB device.
|
The command may be send multiple times until the <A HREF="../ztex/Ztex1.html#controlMsgTimeout"><CODE>controlMsgTimeout</CODE></A> is reached.
|
The command may be send multiple times until the <A HREF="../ztex/Ztex1.html#controlMsgTimeout"><CODE>controlMsgTimeout</CODE></A> is reached.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>cmd</CODE> - The command number (0..255).<DD><CODE>func</CODE> - The name of the command. This string is used for the generation of error messages.<DD><CODE>value</CODE> - The value (0..65535), i.e bytes 2 and 3 of the setup data.<DD><CODE>index</CODE> - The index (0..65535), i.e. bytes 4 and 5 of the setup data.<DD><CODE>length</CODE> - The size of the payload data (0..65535), i.e. bytes 6 and 7 of the setup data.<DD><CODE>buf</CODE> - The payload data buffer.
|
<DT><B>Parameters:</B><DD><CODE>cmd</CODE> - The command number (0..255).<DD><CODE>func</CODE> - The name of the command. This string is used for the generation of error messages.<DD><CODE>value</CODE> - The value (0..65535), i.e bytes 2 and 3 of the setup data.<DD><CODE>index</CODE> - The index (0..65535), i.e. bytes 4 and 5 of the setup data.<DD><CODE>length</CODE> - The size of the payload data (0..65535), i.e. bytes 6 and 7 of the setup data.<DD><CODE>buf</CODE> - The payload data buffer.
|
<DT><B>Returns:</B><DD>the number of bytes sent.
|
<DT><B>Returns:</B><DD>the number of bytes sent.
|
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.</DL>
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="vendorCommand(int, java.lang.String, int, int)"><!-- --></A><H3>
|
<A NAME="vendorCommand(int, java.lang.String, int, int)"><!-- --></A><H3>
|
vendorCommand</H3>
|
vendorCommand</H3>
|
<PRE>
|
<PRE>
|
public int <B>vendorCommand</B>(int cmd,
|
public int <B>vendorCommand</B>(int cmd,
|
java.lang.String func,
|
java.lang.String func,
|
int value,
|
int value,
|
int index)
|
int index)
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></PRE>
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></PRE>
|
<DL>
|
<DL>
|
<DD>Sends a vendor command with no payload data to Endpoint 0 of the EZ-USB device.
|
<DD>Sends a vendor command with no payload data to Endpoint 0 of the EZ-USB device.
|
The command may be send multiple times until the <A HREF="../ztex/Ztex1.html#controlMsgTimeout"><CODE>controlMsgTimeout</CODE></A> is reached.
|
The command may be send multiple times until the <A HREF="../ztex/Ztex1.html#controlMsgTimeout"><CODE>controlMsgTimeout</CODE></A> is reached.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>cmd</CODE> - The command number (0..255).<DD><CODE>func</CODE> - The name of the command. This string is used for the generation of error messages.<DD><CODE>value</CODE> - The value (0..65535), i.e bytes 2 and 3 of the setup data.<DD><CODE>index</CODE> - The index (0..65535), i.e. bytes 4 and 5 of the setup data.
|
<DT><B>Parameters:</B><DD><CODE>cmd</CODE> - The command number (0..255).<DD><CODE>func</CODE> - The name of the command. This string is used for the generation of error messages.<DD><CODE>value</CODE> - The value (0..65535), i.e bytes 2 and 3 of the setup data.<DD><CODE>index</CODE> - The index (0..65535), i.e. bytes 4 and 5 of the setup data.
|
<DT><B>Returns:</B><DD>the number of bytes sent.
|
<DT><B>Returns:</B><DD>the number of bytes sent.
|
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.</DL>
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="vendorCommand(int, java.lang.String)"><!-- --></A><H3>
|
<A NAME="vendorCommand(int, java.lang.String)"><!-- --></A><H3>
|
vendorCommand</H3>
|
vendorCommand</H3>
|
<PRE>
|
<PRE>
|
public int <B>vendorCommand</B>(int cmd,
|
public int <B>vendorCommand</B>(int cmd,
|
java.lang.String func)
|
java.lang.String func)
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></PRE>
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></PRE>
|
<DL>
|
<DL>
|
<DD>Sends a vendor command with no payload data and no setup data to Endpoint 0 of the EZ-USB device.
|
<DD>Sends a vendor command with no payload data and no setup data to Endpoint 0 of the EZ-USB device.
|
The command may be send multiple times until the <A HREF="../ztex/Ztex1.html#controlMsgTimeout"><CODE>controlMsgTimeout</CODE></A> is reached.
|
The command may be send multiple times until the <A HREF="../ztex/Ztex1.html#controlMsgTimeout"><CODE>controlMsgTimeout</CODE></A> is reached.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>cmd</CODE> - The command number (0..255).<DD><CODE>func</CODE> - The name of the command. This string is used for the generation of error messages.
|
<DT><B>Parameters:</B><DD><CODE>cmd</CODE> - The command number (0..255).<DD><CODE>func</CODE> - The name of the command. This string is used for the generation of error messages.
|
<DT><B>Returns:</B><DD>the number of bytes sent.
|
<DT><B>Returns:</B><DD>the number of bytes sent.
|
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.</DL>
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="vendorRequest(int, java.lang.String, int, int, byte[], int)"><!-- --></A><H3>
|
<A NAME="vendorRequest(int, java.lang.String, int, int, byte[], int)"><!-- --></A><H3>
|
vendorRequest</H3>
|
vendorRequest</H3>
|
<PRE>
|
<PRE>
|
public int <B>vendorRequest</B>(int cmd,
|
public int <B>vendorRequest</B>(int cmd,
|
java.lang.String func,
|
java.lang.String func,
|
int value,
|
int value,
|
int index,
|
int index,
|
byte[] buf,
|
byte[] buf,
|
int maxlen)
|
int maxlen)
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></PRE>
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></PRE>
|
<DL>
|
<DL>
|
<DD>Sends a vendor request to Endpoint 0 of the EZ-USB device.
|
<DD>Sends a vendor request to Endpoint 0 of the EZ-USB device.
|
The request may be send multiple times until the <A HREF="../ztex/Ztex1.html#controlMsgTimeout"><CODE>controlMsgTimeout</CODE></A> is reached.
|
The request may be send multiple times until the <A HREF="../ztex/Ztex1.html#controlMsgTimeout"><CODE>controlMsgTimeout</CODE></A> is reached.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>cmd</CODE> - The request number (0..255).<DD><CODE>func</CODE> - The name of the request. This string is used for the generation of error messages.<DD><CODE>value</CODE> - The value (0..65535), i.e bytes 2 and 3 of the setup data.<DD><CODE>index</CODE> - The index (0..65535), i.e. bytes 4 and 5 of the setup data.<DD><CODE>maxlen</CODE> - The size of the requested payload data (0..65535), i.e. bytes 6 and 7 of the setup data.<DD><CODE>buf</CODE> - The payload data buffer.
|
<DT><B>Parameters:</B><DD><CODE>cmd</CODE> - The request number (0..255).<DD><CODE>func</CODE> - The name of the request. This string is used for the generation of error messages.<DD><CODE>value</CODE> - The value (0..65535), i.e bytes 2 and 3 of the setup data.<DD><CODE>index</CODE> - The index (0..65535), i.e. bytes 4 and 5 of the setup data.<DD><CODE>maxlen</CODE> - The size of the requested payload data (0..65535), i.e. bytes 6 and 7 of the setup data.<DD><CODE>buf</CODE> - The payload data buffer.
|
<DT><B>Returns:</B><DD>the number of bytes received.
|
<DT><B>Returns:</B><DD>the number of bytes received.
|
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.</DL>
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="vendorRequest(int, java.lang.String, byte[], int)"><!-- --></A><H3>
|
<A NAME="vendorRequest(int, java.lang.String, byte[], int)"><!-- --></A><H3>
|
vendorRequest</H3>
|
vendorRequest</H3>
|
<PRE>
|
<PRE>
|
public int <B>vendorRequest</B>(int cmd,
|
public int <B>vendorRequest</B>(int cmd,
|
java.lang.String func,
|
java.lang.String func,
|
byte[] buf,
|
byte[] buf,
|
int maxlen)
|
int maxlen)
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></PRE>
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></PRE>
|
<DL>
|
<DL>
|
<DD>Sends a vendor request to Endpoint 0 of the EZ-USB device.
|
<DD>Sends a vendor request to Endpoint 0 of the EZ-USB device.
|
The request may be send multiple times until the <A HREF="../ztex/Ztex1.html#controlMsgTimeout"><CODE>controlMsgTimeout</CODE></A> is reached.
|
The request may be send multiple times until the <A HREF="../ztex/Ztex1.html#controlMsgTimeout"><CODE>controlMsgTimeout</CODE></A> is reached.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>cmd</CODE> - The request number (0..255).<DD><CODE>func</CODE> - The name of the request. This string is used for the generation of error messages.<DD><CODE>maxlen</CODE> - The size of the requested payload data (0..65535), i.e. bytes 6 and 7 of the setup data.<DD><CODE>buf</CODE> - The payload data buffer.
|
<DT><B>Parameters:</B><DD><CODE>cmd</CODE> - The request number (0..255).<DD><CODE>func</CODE> - The name of the request. This string is used for the generation of error messages.<DD><CODE>maxlen</CODE> - The size of the requested payload data (0..65535), i.e. bytes 6 and 7 of the setup data.<DD><CODE>buf</CODE> - The payload data buffer.
|
<DT><B>Returns:</B><DD>the number of bytes sent.
|
<DT><B>Returns:</B><DD>the number of bytes sent.
|
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.</DL>
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="vendorCommand2(int, java.lang.String, int, int, byte[], int)"><!-- --></A><H3>
|
<A NAME="vendorCommand2(int, java.lang.String, int, int, byte[], int)"><!-- --></A><H3>
|
vendorCommand2</H3>
|
vendorCommand2</H3>
|
<PRE>
|
<PRE>
|
public void <B>vendorCommand2</B>(int cmd,
|
public void <B>vendorCommand2</B>(int cmd,
|
java.lang.String func,
|
java.lang.String func,
|
int value,
|
int value,
|
int index,
|
int index,
|
byte[] buf,
|
byte[] buf,
|
int length)
|
int length)
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></PRE>
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></PRE>
|
<DL>
|
<DL>
|
<DD>Sends a vendor command to Endpoint 0 of the EZ-USB device and throws an <A HREF="../ztex/UsbException.html" title="class in ztex"><CODE>UsbException</CODE></A> if not all of the payload has been sent.
|
<DD>Sends a vendor command to Endpoint 0 of the EZ-USB device and throws an <A HREF="../ztex/UsbException.html" title="class in ztex"><CODE>UsbException</CODE></A> if not all of the payload has been sent.
|
The command may be send multiple times until the <A HREF="../ztex/Ztex1.html#controlMsgTimeout"><CODE>controlMsgTimeout</CODE></A> is reached.
|
The command may be send multiple times until the <A HREF="../ztex/Ztex1.html#controlMsgTimeout"><CODE>controlMsgTimeout</CODE></A> is reached.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>cmd</CODE> - The command number (0..255).<DD><CODE>func</CODE> - The name of the command. This string is used for the generation of error messages.<DD><CODE>value</CODE> - The value (0..65535), i.e bytes 2 and 3 of the setup data.<DD><CODE>index</CODE> - The index (0..65535), i.e. bytes 4 and 5 of the setup data.<DD><CODE>length</CODE> - The size of the payload data (0..65535), i.e. bytes 6 and 7 of the setup data.<DD><CODE>buf</CODE> - The payload data buffer.
|
<DT><B>Parameters:</B><DD><CODE>cmd</CODE> - The command number (0..255).<DD><CODE>func</CODE> - The name of the command. This string is used for the generation of error messages.<DD><CODE>value</CODE> - The value (0..65535), i.e bytes 2 and 3 of the setup data.<DD><CODE>index</CODE> - The index (0..65535), i.e. bytes 4 and 5 of the setup data.<DD><CODE>length</CODE> - The size of the payload data (0..65535), i.e. bytes 6 and 7 of the setup data.<DD><CODE>buf</CODE> - The payload data buffer.
|
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs or if not all of the payload has been sent.</DL>
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs or if not all of the payload has been sent.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="vendorRequest2(int, java.lang.String, int, int, byte[], int)"><!-- --></A><H3>
|
<A NAME="vendorRequest2(int, java.lang.String, int, int, byte[], int)"><!-- --></A><H3>
|
vendorRequest2</H3>
|
vendorRequest2</H3>
|
<PRE>
|
<PRE>
|
public void <B>vendorRequest2</B>(int cmd,
|
public void <B>vendorRequest2</B>(int cmd,
|
java.lang.String func,
|
java.lang.String func,
|
int value,
|
int value,
|
int index,
|
int index,
|
byte[] buf,
|
byte[] buf,
|
int maxlen)
|
int maxlen)
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></PRE>
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></PRE>
|
<DL>
|
<DL>
|
<DD>Sends a vendor request to Endpoint 0 of the EZ-USB device and throws an <A HREF="../ztex/UsbException.html" title="class in ztex"><CODE>UsbException</CODE></A> if not all of the payload has been received.
|
<DD>Sends a vendor request to Endpoint 0 of the EZ-USB device and throws an <A HREF="../ztex/UsbException.html" title="class in ztex"><CODE>UsbException</CODE></A> if not all of the payload has been received.
|
The request may be send multiple times until the <A HREF="../ztex/Ztex1.html#controlMsgTimeout"><CODE>controlMsgTimeout</CODE></A> is reached.
|
The request may be send multiple times until the <A HREF="../ztex/Ztex1.html#controlMsgTimeout"><CODE>controlMsgTimeout</CODE></A> is reached.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>cmd</CODE> - The request number (0..255).<DD><CODE>func</CODE> - The name of the request. This string is used for the generation of error messages.<DD><CODE>value</CODE> - The value (0..65535), i.e bytes 2 and 3 of the setup data.<DD><CODE>index</CODE> - The index (0..65535), i.e. bytes 4 and 5 of the setup data.<DD><CODE>maxlen</CODE> - The size of the requested payload data (0..65535), i.e. bytes 6 and 7 of the setup data.<DD><CODE>buf</CODE> - The payload data buffer.
|
<DT><B>Parameters:</B><DD><CODE>cmd</CODE> - The request number (0..255).<DD><CODE>func</CODE> - The name of the request. This string is used for the generation of error messages.<DD><CODE>value</CODE> - The value (0..65535), i.e bytes 2 and 3 of the setup data.<DD><CODE>index</CODE> - The index (0..65535), i.e. bytes 4 and 5 of the setup data.<DD><CODE>maxlen</CODE> - The size of the requested payload data (0..65535), i.e. bytes 6 and 7 of the setup data.<DD><CODE>buf</CODE> - The payload data buffer.
|
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs or not all of the payload has been received.</DL>
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs or not all of the payload has been received.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="vendorRequest2(int, java.lang.String, byte[], int)"><!-- --></A><H3>
|
<A NAME="vendorRequest2(int, java.lang.String, byte[], int)"><!-- --></A><H3>
|
vendorRequest2</H3>
|
vendorRequest2</H3>
|
<PRE>
|
<PRE>
|
public void <B>vendorRequest2</B>(int cmd,
|
public void <B>vendorRequest2</B>(int cmd,
|
java.lang.String func,
|
java.lang.String func,
|
byte[] buf,
|
byte[] buf,
|
int maxlen)
|
int maxlen)
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></PRE>
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></PRE>
|
<DL>
|
<DL>
|
<DD>Sends a vendor request to Endpoint 0 of the EZ-USB device and throws an <A HREF="../ztex/UsbException.html" title="class in ztex"><CODE>UsbException</CODE></A> if not all of the payload has been received.
|
<DD>Sends a vendor request to Endpoint 0 of the EZ-USB device and throws an <A HREF="../ztex/UsbException.html" title="class in ztex"><CODE>UsbException</CODE></A> if not all of the payload has been received.
|
The request may be send multiple times until the <A HREF="../ztex/Ztex1.html#controlMsgTimeout"><CODE>controlMsgTimeout</CODE></A> is reached.
|
The request may be send multiple times until the <A HREF="../ztex/Ztex1.html#controlMsgTimeout"><CODE>controlMsgTimeout</CODE></A> is reached.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>cmd</CODE> - The request number (0..255).<DD><CODE>func</CODE> - The name of the request. This string is used for the generation of error messages.<DD><CODE>maxlen</CODE> - The size of the requested payload data (0..65535), i.e. bytes 6 and 7 of the setup data.<DD><CODE>buf</CODE> - The payload data buffer.
|
<DT><B>Parameters:</B><DD><CODE>cmd</CODE> - The request number (0..255).<DD><CODE>func</CODE> - The name of the request. This string is used for the generation of error messages.<DD><CODE>maxlen</CODE> - The size of the requested payload data (0..65535), i.e. bytes 6 and 7 of the setup data.<DD><CODE>buf</CODE> - The payload data buffer.
|
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs or not all of the payload has been received.</DL>
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs or not all of the payload has been received.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="setConfiguration(int)"><!-- --></A><H3>
|
<A NAME="setConfiguration(int)"><!-- --></A><H3>
|
setConfiguration</H3>
|
setConfiguration</H3>
|
<PRE>
|
<PRE>
|
public void <B>setConfiguration</B>(int config)
|
public void <B>setConfiguration</B>(int config)
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></PRE>
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></PRE>
|
<DL>
|
<DL>
|
<DD>Sets the configuration.
|
<DD>Sets the configuration.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>config</CODE> - The configuration number (usually 1)
|
<DT><B>Parameters:</B><DD><CODE>config</CODE> - The configuration number (usually 1)
|
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if an error occurs while attempting to set the configuration.</DL>
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if an error occurs while attempting to set the configuration.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="trySetConfiguration(int)"><!-- --></A><H3>
|
<A NAME="trySetConfiguration(int)"><!-- --></A><H3>
|
trySetConfiguration</H3>
|
trySetConfiguration</H3>
|
<PRE>
|
<PRE>
|
public void <B>trySetConfiguration</B>(int config)</PRE>
|
public void <B>trySetConfiguration</B>(int config)</PRE>
|
<DL>
|
<DL>
|
<DD>Tries to set the configuration.
|
<DD>Tries to set the configuration.
|
If an error occurs while attempting to set the configuration, a warning messaage is printed to stderr.
|
If an error occurs while attempting to set the configuration, a warning messaage is printed to stderr.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>config</CODE> - The configuration number (usually 1)</DL>
|
<DT><B>Parameters:</B><DD><CODE>config</CODE> - The configuration number (usually 1)</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="getInterfaceClaimed(int)"><!-- --></A><H3>
|
<A NAME="getInterfaceClaimed(int)"><!-- --></A><H3>
|
getInterfaceClaimed</H3>
|
getInterfaceClaimed</H3>
|
<PRE>
|
<PRE>
|
public boolean <B>getInterfaceClaimed</B>(int iface)</PRE>
|
public boolean <B>getInterfaceClaimed</B>(int iface)</PRE>
|
<DL>
|
<DL>
|
<DD>Returns true if interface is claimed.
|
<DD>Returns true if interface is claimed.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>iface</CODE> - The interface number
|
<DT><B>Parameters:</B><DD><CODE>iface</CODE> - The interface number
|
<DT><B>Returns:</B><DD>true if interface is claimed</DL>
|
<DT><B>Returns:</B><DD>true if interface is claimed</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="claimInterface(int)"><!-- --></A><H3>
|
<A NAME="claimInterface(int)"><!-- --></A><H3>
|
claimInterface</H3>
|
claimInterface</H3>
|
<PRE>
|
<PRE>
|
public void <B>claimInterface</B>(int iface)
|
public void <B>claimInterface</B>(int iface)
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></PRE>
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></PRE>
|
<DL>
|
<DL>
|
<DD>Claims an interface.
|
<DD>Claims an interface.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>iface</CODE> - The interface number (usually 0)
|
<DT><B>Parameters:</B><DD><CODE>iface</CODE> - The interface number (usually 0)
|
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if an error occurs while attempting to claim the interface.</DL>
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if an error occurs while attempting to claim the interface.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="releaseInterface(int)"><!-- --></A><H3>
|
<A NAME="releaseInterface(int)"><!-- --></A><H3>
|
releaseInterface</H3>
|
releaseInterface</H3>
|
<PRE>
|
<PRE>
|
public void <B>releaseInterface</B>(int iface)</PRE>
|
public void <B>releaseInterface</B>(int iface)</PRE>
|
<DL>
|
<DL>
|
<DD>Releases an interface.
|
<DD>Releases an interface.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>iface</CODE> - The interface number (usually 0)</DL>
|
<DT><B>Parameters:</B><DD><CODE>iface</CODE> - The interface number (usually 0)</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="uploadFirmware(ztex.ZtexIhxFile1, boolean)"><!-- --></A><H3>
|
<A NAME="uploadFirmware(ztex.ZtexIhxFile1, boolean)"><!-- --></A><H3>
|
uploadFirmware</H3>
|
uploadFirmware</H3>
|
<PRE>
|
<PRE>
|
public long <B>uploadFirmware</B>(<A HREF="../ztex/ZtexIhxFile1.html" title="class in ztex">ZtexIhxFile1</A> ihxFile,
|
public long <B>uploadFirmware</B>(<A HREF="../ztex/ZtexIhxFile1.html" title="class in ztex">ZtexIhxFile1</A> ihxFile,
|
boolean force)
|
boolean force)
|
throws <A HREF="../ztex/IncompatibleFirmwareException.html" title="class in ztex">IncompatibleFirmwareException</A>,
|
throws <A HREF="../ztex/IncompatibleFirmwareException.html" title="class in ztex">IncompatibleFirmwareException</A>,
|
<A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A>,
|
<A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A>,
|
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
<A HREF="../ztex/DeviceLostException.html" title="class in ztex">DeviceLostException</A></PRE>
|
<A HREF="../ztex/DeviceLostException.html" title="class in ztex">DeviceLostException</A></PRE>
|
<DL>
|
<DL>
|
<DD>Uploads the firmware to the EZ-USB and manages the renumeration process.
|
<DD>Uploads the firmware to the EZ-USB and manages the renumeration process.
|
<p>
|
<p>
|
Before the firmware is uploaded the device is set into a reset state.
|
Before the firmware is uploaded the device is set into a reset state.
|
After the upload the firmware is booted and the renumeration starts.
|
After the upload the firmware is booted and the renumeration starts.
|
During this process the device disappears from the bus and a new one
|
During this process the device disappears from the bus and a new one
|
occurs which will be assigned to this class automatically (instead of the disappeared one).
|
occurs which will be assigned to this class automatically (instead of the disappeared one).
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>ihxFile</CODE> - The firmware image.<DD><CODE>force</CODE> - The compatibility check is skipped if true.
|
<DT><B>Parameters:</B><DD><CODE>ihxFile</CODE> - The firmware image.<DD><CODE>force</CODE> - The compatibility check is skipped if true.
|
<DT><B>Returns:</B><DD>the upload time in ms.
|
<DT><B>Returns:</B><DD>the upload time in ms.
|
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
<DD><CODE><A HREF="../ztex/IncompatibleFirmwareException.html" title="class in ztex">IncompatibleFirmwareException</A></CODE> - if the given firmware is not compatible to the installed one, see <A HREF="../ztex/ZtexDevice1.html#compatible(int, int, int, int)"><CODE>ZtexDevice1.compatible(int,int,int,int)</CODE></A> (Upload can be enforced using the <tt>force</tt> parameter)
|
<DD><CODE><A HREF="../ztex/IncompatibleFirmwareException.html" title="class in ztex">IncompatibleFirmwareException</A></CODE> - if the given firmware is not compatible to the installed one, see <A HREF="../ztex/ZtexDevice1.html#compatible(int, int, int, int)"><CODE>ZtexDevice1.compatible(int,int,int,int)</CODE></A> (Upload can be enforced using the <tt>force</tt> parameter)
|
<DD><CODE><A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></CODE> - If an error occurred while attempting to upload the firmware.
|
<DD><CODE><A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></CODE> - If an error occurred while attempting to upload the firmware.
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if ZTEX descriptor 1 is not available.
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if ZTEX descriptor 1 is not available.
|
<DD><CODE><A HREF="../ztex/DeviceLostException.html" title="class in ztex">DeviceLostException</A></CODE> - if a device went lost after renumeration.</DL>
|
<DD><CODE><A HREF="../ztex/DeviceLostException.html" title="class in ztex">DeviceLostException</A></CODE> - if a device went lost after renumeration.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="uploadFirmware(java.lang.String, boolean)"><!-- --></A><H3>
|
<A NAME="uploadFirmware(java.lang.String, boolean)"><!-- --></A><H3>
|
uploadFirmware</H3>
|
uploadFirmware</H3>
|
<PRE>
|
<PRE>
|
public long <B>uploadFirmware</B>(java.lang.String ihxFileName,
|
public long <B>uploadFirmware</B>(java.lang.String ihxFileName,
|
boolean force)
|
boolean force)
|
throws <A HREF="../ztex/IncompatibleFirmwareException.html" title="class in ztex">IncompatibleFirmwareException</A>,
|
throws <A HREF="../ztex/IncompatibleFirmwareException.html" title="class in ztex">IncompatibleFirmwareException</A>,
|
<A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A>,
|
<A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A>,
|
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
<A HREF="../ztex/DeviceLostException.html" title="class in ztex">DeviceLostException</A></PRE>
|
<A HREF="../ztex/DeviceLostException.html" title="class in ztex">DeviceLostException</A></PRE>
|
<DL>
|
<DL>
|
<DD>Uploads the firmware to the EZ-USB and manages the renumeration process.
|
<DD>Uploads the firmware to the EZ-USB and manages the renumeration process.
|
<p>
|
<p>
|
Before the firmware is uploaded the device is set into a reset state.
|
Before the firmware is uploaded the device is set into a reset state.
|
After the upload the firmware is booted and the renumeration starts.
|
After the upload the firmware is booted and the renumeration starts.
|
During this process the device disappears from the bus and a new one
|
During this process the device disappears from the bus and a new one
|
occurs which will be assigned to this class automatically (instead of the disappeared one).
|
occurs which will be assigned to this class automatically (instead of the disappeared one).
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>ihxFileName</CODE> - The file name of the firmware image in ihx format. The file can be a regular file or a system resource (e.g. a file from the current jar archive).<DD><CODE>force</CODE> - The compatibility check is skipped if true.
|
<DT><B>Parameters:</B><DD><CODE>ihxFileName</CODE> - The file name of the firmware image in ihx format. The file can be a regular file or a system resource (e.g. a file from the current jar archive).<DD><CODE>force</CODE> - The compatibility check is skipped if true.
|
<DT><B>Returns:</B><DD>the upload time in ms.
|
<DT><B>Returns:</B><DD>the upload time in ms.
|
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
<DD><CODE><A HREF="../ztex/IncompatibleFirmwareException.html" title="class in ztex">IncompatibleFirmwareException</A></CODE> - if the given firmware is not compatible to the installed one, see <A HREF="../ztex/ZtexDevice1.html#compatible(int, int, int, int)"><CODE>ZtexDevice1.compatible(int,int,int,int)</CODE></A> (Upload can be enforced using the <tt>force</tt> parameter)
|
<DD><CODE><A HREF="../ztex/IncompatibleFirmwareException.html" title="class in ztex">IncompatibleFirmwareException</A></CODE> - if the given firmware is not compatible to the installed one, see <A HREF="../ztex/ZtexDevice1.html#compatible(int, int, int, int)"><CODE>ZtexDevice1.compatible(int,int,int,int)</CODE></A> (Upload can be enforced using the <tt>force</tt> parameter)
|
<DD><CODE><A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></CODE> - If an error occurred while attempting to upload the firmware.
|
<DD><CODE><A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></CODE> - If an error occurred while attempting to upload the firmware.
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if ZTEX descriptor 1 is not available.
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if ZTEX descriptor 1 is not available.
|
<DD><CODE><A HREF="../ztex/DeviceLostException.html" title="class in ztex">DeviceLostException</A></CODE> - if a device went lost after renumeration.</DL>
|
<DD><CODE><A HREF="../ztex/DeviceLostException.html" title="class in ztex">DeviceLostException</A></CODE> - if a device went lost after renumeration.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="resetEzUsb()"><!-- --></A><H3>
|
<A NAME="resetEzUsb()"><!-- --></A><H3>
|
resetEzUsb</H3>
|
resetEzUsb</H3>
|
<PRE>
|
<PRE>
|
public void <B>resetEzUsb</B>()
|
public void <B>resetEzUsb</B>()
|
throws <A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A>,
|
throws <A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A>,
|
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
<A HREF="../ztex/DeviceLostException.html" title="class in ztex">DeviceLostException</A></PRE>
|
<A HREF="../ztex/DeviceLostException.html" title="class in ztex">DeviceLostException</A></PRE>
|
<DL>
|
<DL>
|
<DD>Resets the EZ-USB and manages the renumeration process.
|
<DD>Resets the EZ-USB and manages the renumeration process.
|
<p>
|
<p>
|
After the reset the renumeration starts.
|
After the reset the renumeration starts.
|
During this process the device disappears from the bus and a new one
|
During this process the device disappears from the bus and a new one
|
occurs which will be assigned to this class automatically (instead of the disappeared one).
|
occurs which will be assigned to this class automatically (instead of the disappeared one).
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
|
|
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
<DD><CODE><A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></CODE> - If an error occurred while attempting to upload the firmware.
|
<DD><CODE><A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></CODE> - If an error occurred while attempting to upload the firmware.
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if ZTEX descriptor 1 is not available.
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if ZTEX descriptor 1 is not available.
|
<DD><CODE><A HREF="../ztex/DeviceLostException.html" title="class in ztex">DeviceLostException</A></CODE> - if a device went lost after renumeration.</DL>
|
<DD><CODE><A HREF="../ztex/DeviceLostException.html" title="class in ztex">DeviceLostException</A></CODE> - if a device went lost after renumeration.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="toString()"><!-- --></A><H3>
|
<A NAME="toString()"><!-- --></A><H3>
|
toString</H3>
|
toString</H3>
|
<PRE>
|
<PRE>
|
public java.lang.String <B>toString</B>()</PRE>
|
public java.lang.String <B>toString</B>()</PRE>
|
<DL>
|
<DL>
|
<DD>Returns a lot of useful information about the corresponding device.
|
<DD>Returns a lot of useful information about the corresponding device.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
|
<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
|
</DD>
|
</DD>
|
<DD><DL>
|
<DD><DL>
|
|
|
<DT><B>Returns:</B><DD>a lot of useful information about the corresponding device.</DL>
|
<DT><B>Returns:</B><DD>a lot of useful information about the corresponding device.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<!-- ========= END OF CLASS DATA ========= -->
|
<!-- ========= END OF CLASS DATA ========= -->
|
<HR>
|
<HR>
|
|
|
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
<A NAME="navbar_bottom"><!-- --></A>
|
<A NAME="navbar_bottom"><!-- --></A>
|
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
<TR>
|
<TR>
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
<TR ALIGN="center" VALIGN="top">
|
<TR ALIGN="center" VALIGN="top">
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
</TR>
|
</TR>
|
</TABLE>
|
</TABLE>
|
</TD>
|
</TD>
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
</EM>
|
</EM>
|
</TD>
|
</TD>
|
</TR>
|
</TR>
|
|
|
<TR>
|
<TR>
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
<A HREF="../ztex/UsbException.html" title="class in ztex"><B>PREV CLASS</B></A>
|
<A HREF="../ztex/UsbException.html" title="class in ztex"><B>PREV CLASS</B></A>
|
<A HREF="../ztex/Ztex1v1.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD>
|
<A HREF="../ztex/Ztex1v1.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD>
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
<A HREF="../index.html?ztex/Ztex1.html" target="_top"><B>FRAMES</B></A>
|
<A HREF="../index.html?ztex/Ztex1.html" target="_top"><B>FRAMES</B></A>
|
<A HREF="Ztex1.html" target="_top"><B>NO FRAMES</B></A>
|
<A HREF="Ztex1.html" target="_top"><B>NO FRAMES</B></A>
|
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
<!--
|
<!--
|
if(window==top) {
|
if(window==top) {
|
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
}
|
}
|
//-->
|
//-->
|
</SCRIPT>
|
</SCRIPT>
|
<NOSCRIPT>
|
<NOSCRIPT>
|
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
</NOSCRIPT>
|
</NOSCRIPT>
|
|
|
|
|
</FONT></TD>
|
</FONT></TD>
|
</TR>
|
</TR>
|
<TR>
|
<TR>
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
</TR>
|
</TR>
|
</TABLE>
|
</TABLE>
|
<A NAME="skip-navbar_bottom"></A>
|
<A NAME="skip-navbar_bottom"></A>
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
|
<HR>
|
<HR>
|
|
|
</BODY>
|
</BODY>
|
</HTML>
|
</HTML>
|
|
|