123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845 |
- <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <meta name="GENERATOR" content="Mozilla/4.7 [en] (X11; I; Linux 2.4.0-test6 i586) [Netscape]">
- <title>TI-89 Link Protocol Guide - Silent Transfers</title>
- </head>
- <body bgcolor="#FFFFE8">
- <b>TI-92 Link Protocol Guide</b> - Silent Variable Transfers
- <center>
- <h2>
- <hr ALIGN="CENTER">Silent Variable Transfers</h2></center>
- "Silent Linking" is a capability that Texas Instruments built into the
- TI-83, TI-83+, TI-92, TI-89, TI-92 and TI-92+. It enables the calculator
- to transfer data to and from a computer without any special preparation
- required on the calculator end. The only drawback to the silent linking
- method is that when using this protocol, the calculator will automatically
- overwrite any data in a variable that has the same name as one being sent
- to it. Any program that incorporates silent linking must check for this;
- otherwise data may be lost.
- <p>Because silent linking protocols are one-sided (i.e. the user interaction
- is solely on the computer), there are three different transfer sequences
- required. First a <a href="#dir">directory listing</a> must be downloaded
- from the calculator in order to choose the variables to transfer or to
- check for duplicate names and out-of-memory conditions. Then, if variables
- are to be downloaded, a <a href="#request">variable request</a> action
- must be initiated by the computer. Finally, if variables are to be uploaded,
- a <a href="#rts">request-to-send</a> action must be sent by the computer.
- <h4>
- <a NAME="dir"></a>Directory Listing</h4>
- A directory listing is a list of all user variables in the calculator's
- memory and a number specifying how many bytes of free memory are left.
- <br>
- On the TI92 calculator, the directory list is done in a single pass (contrary
- to TI89/92+).
- <p>The protocol for requesting a directory listing is shown below. For
- information on packet formats, <a href="packet.html">click here</a>.
- <table BORDER CELLSPACING=0 WIDTH="92%" BGCOLOR="#FFFFFF" NOSAVE >
- <tr>
- <th WIDTH="7%" BGCOLOR="#008800"><font color="#FFFFFF">Step</font></th>
- <th COLSPAN="3" BGCOLOR="#008800"><font color="#FFFFFF">Direction</font></th>
- <th WIDTH="80%" BGCOLOR="#008800"><font color="#FFFFFF">Packet</font></th>
- </tr>
- <tr NOSAVE>
- <td WIDTH="7%" BGCOLOR="#FFFFFF">
- <center>1 </center>
- </td>
- <td ROWSPAN="10" NOSAVE>
- <center><img SRC="graphics/comp.gif" ALT="Computer" BORDER=0 height=33 width=30 align=BOTTOM></center>
- </td>
- <td BGCOLOR="#FFFFFF">
- <center><img SRC="graphics/right.gif" ALT="===>" BORDER=0 height=13 width=22 align=BOTTOM></center>
- </td>
- <td ROWSPAN="10" NOSAVE>
- <center><img SRC="graphics/calc.gif" ALT="Calculator" BORDER=0 height=35 width=60 align=BOTTOM></center>
- </td>
- <td WIDTH="80%" BGCOLOR="#FFFFFF">REQ with data type=19h (see <a href="packet.html#19h">note
- under Type ID's</a> for variable header format) and with a particular filter.</td>
- </tr>
- <tr>
- <td WIDTH="7%" BGCOLOR="#FFFFFF">
- <center>2 </center>
- </td>
- <td BGCOLOR="#FFFFFF">
- <center><img SRC="graphics/left.gif" ALT="<===" BORDER=0 height=13 width=22 align=BOTTOM></center>
- </td>
- <td WIDTH="80%" BGCOLOR="#FFFFFF">ACK</td>
- </tr>
- <tr>
- <td WIDTH="7%" BGCOLOR="#FFFFFF">
- <center>3 </center>
- </td>
- <td BGCOLOR="#FFFFFF">
- <center><img SRC="graphics/left.gif" ALT="<===" BORDER=0 height=13 width=22 align=BOTTOM></center>
- </td>
- <td WIDTH="80%" BGCOLOR="#FFFFFF">VAR - a variable information packet (see
- format below)</td>
- </tr>
- <tr>
- <td WIDTH="7%" BGCOLOR="#FFFFFF">
- <center>4 </center>
- </td>
- <td BGCOLOR="#FFFFFF">
- <center><img SRC="graphics/right.gif" ALT="===>" BORDER=0 height=13 width=22 align=BOTTOM></center>
- </td>
- <td WIDTH="80%" BGCOLOR="#FFFFFF">ACK</td>
- </tr>
- <tr>
- <td WIDTH="7%">
- <center>5 </center>
- </td>
- <td>
- <center><img SRC="graphics/right.gif" ALT="===>" BORDER=0 height=13 width=22 align=BOTTOM></center>
- </td>
- <td WIDTH="80%">CTS</td>
- </tr>
- <tr>
- <td WIDTH="7%">
- <center>6 </center>
- </td>
- <td>
- <center><img SRC="graphics/left.gif" ALT="<===" BORDER=0 height=13 width=22 align=BOTTOM></center>
- </td>
- <td WIDTH="80%">ACK</td>
- </tr>
- <tr>
- <td WIDTH="7%">
- <center>7 </center>
- </td>
- <td>
- <center><img SRC="graphics/left.gif" ALT="<===" BORDER=0 height=13 width=22 align=BOTTOM></center>
- </td>
- <td WIDTH="80%">DATA - a variable entry (see format below).</td>
- </tr>
- <tr>
- <td WIDTH="7%">
- <center>8 </center>
- </td>
- <td>
- <center><img SRC="graphics/right.gif" ALT="===>" BORDER=0 height=13 width=22 align=BOTTOM></center>
- </td>
- <td WIDTH="80%">ACK</td>
- </tr>
- <tr>
- <td WIDTH="7%">
- <center>9 </center>
- </td>
- <td>
- <center><img SRC="graphics/left.gif" ALT="<===" BORDER=0 height=13 width=22 align=BOTTOM></center>
- </td>
- <td WIDTH="80%">CONT or EOT - if CONT, then go to step 4.</td>
- </tr>
- <tr>
- <td WIDTH="7%">
- <center>10 </center>
- </td>
- <td>
- <center><img SRC="graphics/right.gif" ALT="===>" BORDER=0 height=13 width=22 align=BOTTOM></center>
- </td>
- <td WIDTH="80%">ACK</td>
- </tr>
- </table>
- <p>The request has the following format according to the operation (global
- directory list or local directory list):
- <table BORDER CELLSPACING=0 WIDTH="92%" >
- <tr>
- <th WIDTH="7%" BGCOLOR="#DDDDDD">Offset</th>
- <th WIDTH="8%" BGCOLOR="#DDDDDD">Length</th>
- <th WIDTH="85%" BGCOLOR="#DDDDDD">Description</th>
- </tr>
- <tr>
- <td WIDTH="7%">0</td>
- <td WIDTH="8%">4 bytes</td>
- <td WIDTH="85%">Always {00h, 00h, 00h, 00}.</td>
- </tr>
- <tr>
- <td WIDTH="7%">4</td>
- <td WIDTH="8%">1 bytes</td>
- <td WIDTH="85%">This byte always has a value of 19h (directory list request).</td>
- </tr>
- <tr>
- <td WIDTH="7%">5</td>
- <td WIDTH="8%">1 byte</td>
- <td WIDTH="85%">The length, in characters, of the name field. Here, it
- is always 0. </td>
- </tr>
- </table>
- <p>The data in the variable information packet has the following format:
- <table BORDER CELLSPACING=0 WIDTH="92%" >
- <tr>
- <th WIDTH="7%" BGCOLOR="#DDDDDD">Offset</th>
- <th WIDTH="8%" BGCOLOR="#DDDDDD">Length</th>
- <th WIDTH="85%" BGCOLOR="#DDDDDD">Description</th>
- </tr>
- <tr>
- <td WIDTH="7%">0</td>
- <td WIDTH="8%">4 bytes</td>
- <td WIDTH="85%">Unknown.</td>
- </tr>
- <tr>
- <td WIDTH="7%">4</td>
- <td WIDTH="8%">1 bytes</td>
- <td WIDTH="85%">This byte always has a value of 53h (???).</td>
- </tr>
- <tr>
- <td WIDTH="7%">5</td>
- <td WIDTH="8%">1 byte</td>
- <td WIDTH="85%">The length, in characters, of the name field. Always 04h.</td>
- </tr>
- <tr>
- <td WIDTH="7%">6</td>
- <td WIDTH="8%">4 bytes</td>
- <td WIDTH="85%">The name of the current folder. Always "main". </td>
- </tr>
- </table>
- <p>The var section (data packet) of the transfer is always 18 bytes long
- and takes the following format:
- <table BORDER CELLSPACING=0 WIDTH="92%" >
- <tr>
- <th WIDTH="7%" BGCOLOR="#DDDDDD">Offset</th>
- <th WIDTH="8%" BGCOLOR="#DDDDDD">Length</th>
- <th WIDTH="85%" BGCOLOR="#DDDDDD">Description</th>
- </tr>
- <tr>
- <td WIDTH="7%">0</td>
- <td WIDTH="8%">4 bytes</td>
- <td WIDTH="85%">These four bytes always have a value of 0.</td>
- </tr>
- <tr>
- <td WIDTH="7%">4</td>
- <td WIDTH="8%">8 bytes</td>
- <td WIDTH="85%">Variable name padded with NULL chars if necessary.</td>
- </tr>
- <tr>
- <td WIDTH="7%">12</td>
- <td WIDTH="8%">1 byte</td>
- <td WIDTH="85%">Variable type ID.</td>
- </tr>
- <tr>
- <td WIDTH="7%">13</td>
- <td WIDTH="8%">1 byte</td>
- <td WIDTH="85%">Variable attribute: 00h = unlocked, 01h = locked.</td>
- </tr>
- <tr>
- <td WIDTH="7%">14</td>
- <td WIDTH="8%">4 bytes</td>
- <td WIDTH="85%">If folders are listed, this field contains the number of variables
- in this folder. <br>
- If variables are listed, this field contains the length, in bytes, of the
- variable data for this variable without the extra four bytes at the beginning
- of the data packet.</td>
- </tr>
- </table>
- <p><u>Example:</u> (to do, my examples are too big !)
- <br>
- <table BORDER=0 CELLSPACING=0 WIDTH="100%" BGCOLOR="#FFFFFF" NOSAVE >
- <tr>
- <td BGCOLOR="#CCFFCC">PC:</td>
- <td WIDTH="50%" BGCOLOR="#CCFFCC"><tt><b>09 A2 06 00 </b>00 00 00 00 19 00
- <b>39 00</b></tt></td>
- <td WIDTH="50%" BGCOLOR="#CCFFCC"><i>Directory list request</i></td>
- </tr>
- <tr>
- <td BGCOLOR="#FFCCCC">TI:</td>
- <td WIDTH="50%" BGCOLOR="#FFCCCC"><b><tt>89 56 00 00</tt></b></td>
- <td WIDTH="50%" BGCOLOR="#FFCCCC"><i>Acknowledgement of request</i></td>
- </tr>
- <tr>
- <td BGCOLOR="#FFCCCC"> </td>
- <td WIDTH="50%" BGCOLOR="#FFCCCC"><tt><b>89 06 0A 00 </b>0E 00 00 00 5304
- 6D 61 69 6E 03 <b>52 02</b></tt></td>
- <td WIDTH="50%" BGCOLOR="#FFCCCC"><i>Variable header - complete directory
- starting with "main".</i></td>
- </tr>
- <tr>
- <td BGCOLOR="#CCFFCC">PC:</td>
- <td WIDTH="50%" BGCOLOR="#CCFFCC"><b><tt>09 56 00 00</tt></b></td>
- <td WIDTH="50%" BGCOLOR="#CCFFCC"><i>Acknowledgement of header</i></td>
- </tr>
- <tr BGCOLOR="#99FFCC" NOSAVE>
- <td BGCOLOR="#CCFFCC"> </td>
- <td WIDTH="50%" BGCOLOR="#CCFFCC" NOSAVE><b><tt>09 09 FF FF</tt></b></td>
- <td WIDTH="50%" BGCOLOR="#CCFFCC"><i>Clear to send</i></td>
- </tr>
- <tr>
- <td BGCOLOR="#FFCCCC">TI:</td>
- <td WIDTH="50%" BGCOLOR="#FFCCCC"><b><tt>89 56 00 00</tt></b></td>
- <td WIDTH="50%" BGCOLOR="#FFCCCC"><i>Acknowledgement of clear to send</i></td>
- </tr>
- <tr BGCOLOR="#FFCCCC" NOSAVE>
- <td BGCOLOR="#FFCCCC"> </td>
- <td WIDTH="50%" BGCOLOR="#FFCCCC" NOSAVE><tt><b>89 15 12 00</b> 00 00 00 00
- 41 00 00 00 00 00 00 00 03 00 01 00 00 00 <b>66 13</b></tt></td>
- <td WIDTH="50%" BGCOLOR="#FFCCCC"><i>Variable entry - Unlocked folder "base"
- with one variable</i></td>
- </tr>
- <tr>
- <td BGCOLOR="#CCFFCC">PC:</td>
- <td WIDTH="50%" BGCOLOR="#CCFFCC"><b><tt>09 56 00 00</tt></b></td>
- <td WIDTH="50%" BGCOLOR="#CCFFCC"><i>Acknowledgement of variable entry</i></td>
- </tr>
- <tr>
- <td bgcolor="#FFCCCC">TI:</td>
- <td width="50%" bgcolor="#FFCCCC"><b><tt>89 78 00 00</tt></b></td>
- <td width="50%" bgcolor="#FFCCCC"><i>Continue</i></td>
- </tr>
- <tr>
- <td bgcolor="#CCFFCC">PC:</td>
- <td width="50%" bgcolor="#CCFFCC"><b><tt>09 56 00 00</tt></b></td>
- <td width="50%" bgcolor="#CCFFCC"><i>Acknowledgement of header</i></td>
- </tr>
- <tr bgcolor="#99FFCC" nosave>
- <td bgcolor="#CCFFCC"> </td>
- <td width="50%" bgcolor="#CCFFCC" nosave><b><tt>09 09 FF FF</tt></b></td>
- <td width="50%" bgcolor="#CCFFCC"><i>Clear to send</i></td>
- </tr>
- <tr>
- <td bgcolor="#FFCCCC">TI:</td>
- <td width="50%" bgcolor="#FFCCCC"><b><tt>89 56 00 00</tt></b></td>
- <td width="50%" bgcolor="#FFCCCC"><i>Acknowledgement of clear to send</i></td>
- </tr>
- <tr bgcolor="#FFCCCC" nosave>
- <td bgcolor="#FFCCCC"> </td>
- <td width="50%" bgcolor="#FFCCCC" nosave><tt><b>89 15 12 00</b> 00 00 00 00
- 42 00 00 00 00 00 00 00 03 00 01 00 00 00 <b>66 13</b></tt></td>
- <td width="50%" bgcolor="#FFCCCC"><i>Variable entry - Unlocked folder "base"
- with one variable</i></td>
- </tr>
- <tr>
- <td bgcolor="#CCFFCC">PC:</td>
- <td width="50%" bgcolor="#CCFFCC"><b><tt>09 56 00 00</tt></b></td>
- <td width="50%" bgcolor="#CCFFCC"><i>Acknowledgement of variable entry</i></td>
- </tr>
- <tr>
- <td BGCOLOR="#FFCCCC">TI:</td>
- <td WIDTH="50%" BGCOLOR="#FFCCCC"><b><tt>89 92 00 00</tt></b></td>
- <td WIDTH="50%" BGCOLOR="#FFCCCC"><i>End of transmission - no more variables</i></td>
- </tr>
- <tr>
- <td BGCOLOR="#CCFFCC">PC:</td>
- <td WIDTH="50%" BGCOLOR="#CCFFCC"><b><tt>09 56 00 00</tt></b></td>
- <td WIDTH="50%" BGCOLOR="#CCFFCC"><i>Acknowledgement of EOT</i></td>
- </tr>
- </table>
- <h4>
- <a NAME="request"></a>Requesting a Variable</h4>
- The protocol for requesting and receiving a variable from the calculator
- is shown below.
- <table BORDER CELLSPACING=0 WIDTH="92%" BGCOLOR="#FFFFFF" NOSAVE >
- <tr>
- <th WIDTH="7%" BGCOLOR="#008800"><font color="#FFFFFF">Step</font></th>
- <th COLSPAN="3" BGCOLOR="#008800"><font color="#FFFFFF">Direction</font></th>
- <th WIDTH="80%" BGCOLOR="#008800"><font color="#FFFFFF">Packet</font></th>
- </tr>
- <tr NOSAVE>
- <td WIDTH="7%" BGCOLOR="#FFFFFF">
- <center>1 </center>
- </td>
- <td ROWSPAN="10" NOSAVE>
- <center><img SRC="graphics/comp.gif" ALT="Computer" BORDER=0 height=33 width=30 align=BOTTOM></center>
- </td>
- <td BGCOLOR="#FFFFFF">
- <center><img SRC="graphics/right.gif" ALT="===>" BORDER=0 height=13 width=22 align=BOTTOM></center>
- </td>
- <td ROWSPAN="10" NOSAVE>
- <center><img SRC="graphics/calc.gif" ALT="Calculator" BORDER=0 height=35 width=60 align=BOTTOM></center>
- </td>
- <td WIDTH="80%" BGCOLOR="#FFFFFF">REQ with expected header including the
- folder name, if necessary</td>
- </tr>
- <tr>
- <td WIDTH="7%" BGCOLOR="#FFFFFF">
- <center>2 </center>
- </td>
- <td BGCOLOR="#FFFFFF">
- <center><img SRC="graphics/left.gif" ALT="<===" BORDER=0 height=13 width=22 align=BOTTOM></center>
- </td>
- <td WIDTH="80%" BGCOLOR="#FFFFFF">ACK (see note below)</td>
- </tr>
- <tr>
- <td WIDTH="7%" BGCOLOR="#FFFFFF">
- <center>3 </center>
- </td>
- <td BGCOLOR="#FFFFFF">
- <center><img SRC="graphics/left.gif" ALT="<===" BORDER=0 height=13 width=22 align=BOTTOM></center>
- </td>
- <td WIDTH="80%" BGCOLOR="#FFFFFF">VAR (specifing the size without the extra
- four bytes) with actual header and no folder name</td>
- </tr>
- <tr>
- <td WIDTH="7%" BGCOLOR="#FFFFFF">
- <center>4 </center>
- </td>
- <td BGCOLOR="#FFFFFF">
- <center><img SRC="graphics/right.gif" ALT="===>" BORDER=0 height=13 width=22 align=BOTTOM></center>
- </td>
- <td WIDTH="80%" BGCOLOR="#FFFFFF">ACK</td>
- </tr>
- <tr>
- <td WIDTH="7%">
- <center>5 </center>
- </td>
- <td>
- <center><img SRC="graphics/right.gif" ALT="===>" BORDER=0 height=13 width=22 align=BOTTOM></center>
- </td>
- <td WIDTH="80%">CTS</td>
- </tr>
- <tr>
- <td WIDTH="7%">
- <center>6 </center>
- </td>
- <td>
- <center><img SRC="graphics/left.gif" ALT="<===" BORDER=0 height=13 width=22 align=BOTTOM></center>
- </td>
- <td WIDTH="80%">ACK</td>
- </tr>
- <tr>
- <td WIDTH="7%">
- <center>7 </center>
- </td>
- <td>
- <center><img SRC="graphics/left.gif" ALT="<===" BORDER=0 height=13 width=22 align=BOTTOM></center>
- </td>
- <td WIDTH="80%">DATA with an extra four bytes at the beginning of the packet</td>
- </tr>
- <tr>
- <td WIDTH="7%">
- <center>8 </center>
- </td>
- <td>
- <center><img SRC="graphics/right.gif" ALT="===>" BORDER=0 height=13 width=22 align=BOTTOM></center>
- </td>
- <td WIDTH="80%">ACK</td>
- </tr>
- <tr>
- <td WIDTH="7%">
- <center>9 </center>
- </td>
- <td>
- <center><img SRC="graphics/left.gif" ALT="<===" BORDER=0 height=13 width=22 align=BOTTOM></center>
- </td>
- <td WIDTH="80%">EOT</td>
- </tr>
- <tr>
- <td WIDTH="7%">
- <center>10 </center>
- </td>
- <td>
- <center><img SRC="graphics/right.gif" ALT="===>" BORDER=0 height=13 width=22 align=BOTTOM></center>
- </td>
- <td WIDTH="80%">ACK</td>
- </tr>
- </table>
- <i>Note: If the requested variable does not exist, step 2 will be the end
- of the transfer.</i>
- <p>As with manual transfers, the data section contains the variable data.
- For information on variable formats,
- <a href="vars.html">click here</a>.
- <p><u>Example:</u>
- <table BORDER=0 CELLSPACING=0 WIDTH="100%" BGCOLOR="#FFCCCC" NOSAVE >
- <tr>
- <td BGCOLOR="#CCFFCC">PC:</td>
- <td WIDTH="50%" BGCOLOR="#CCFFCC"><tt><b>09 A2 0C 00 </b>00 00 00 00 00 06
- 6D 61 69 6E 5C 64 <b>93 02</b></tt></td>
- <td WIDTH="50%" BGCOLOR="#CCFFCC"><i>Request Known Variable "d" in the
- "main" folder</i></td>
- </tr>
- <tr>
- <td BGCOLOR="#FFCCCC">TI:</td>
- <td WIDTH="50%" BGCOLOR="#FFCCCC"><b><tt>89 56 00 00</tt></b></td>
- <td WIDTH="50%" BGCOLOR="#FFCCCC"><i>Acknowledgement of request</i></td>
- </tr>
- <tr>
- <td BGCOLOR="#FFCCCC"> </td>
- <td WIDTH="50%" BGCOLOR="#FFCCCC"><tt><b>89 06 08 00 </b>05 00 00 00 00 01
- 64 <b>6A 00</b></tt></td>
- <td WIDTH="50%" BGCOLOR="#FFCCCC"><i>Variable Header: String "d"</i></td>
- </tr>
- <tr>
- <td BGCOLOR="#CCFFCC">PC:</td>
- <td WIDTH="50%" BGCOLOR="#CCFFCC"><b><tt>09 56 00 00</tt></b></td>
- <td WIDTH="50%" BGCOLOR="#CCFFCC"><i>Acknowledgement of variable header</i></td>
- </tr>
- <tr>
- <td BGCOLOR="#CCFFCC"> </td>
- <td WIDTH="50%" BGCOLOR="#CCFFCC"><b><tt>09 09 FF FF</tt></b></td>
- <td WIDTH="50%" BGCOLOR="#CCFFCC"><i>Clear to send variable</i></td>
- </tr>
- <tr>
- <td BGCOLOR="#FFCCCC">TI:</td>
- <td WIDTH="50%" BGCOLOR="#FFCCCC"><b><tt>89 56 00 00</tt></b></td>
- <td WIDTH="50%" BGCOLOR="#FFCCCC"><i>Acknowledgement of CTS</i></td>
- </tr>
- <tr>
- <td BGCOLOR="#FFCCCC"> </td>
- <td WIDTH="50%" BGCOLOR="#FFCCCC"><tt><b>89 15 09 00 </b>00 00 00 00 00 03
- 01 01 1F <b>24 00</b></tt></td>
- <td WIDTH="50%" BGCOLOR="#FFCCCC"><i>Variable data: ?</i></td>
- </tr>
- <tr>
- <td BGCOLOR="#CCFFCC">PC:</td>
- <td WIDTH="50%" BGCOLOR="#CCFFCC"><b><tt>09 56 00 00</tt></b></td>
- <td WIDTH="50%" BGCOLOR="#CCFFCC"><i>Acknowledgement of variable data</i></td>
- </tr>
- <tr NOSAVE>
- <td BGCOLOR="#FFCCCC">TI:</td>
- <td WIDTH="50%" BGCOLOR="#FFCCCC" NOSAVE><b><tt>89 92 00 00</tt></b></td>
- <td WIDTH="50%" BGCOLOR="#FFCCCC"><i>End Of Transmission</i></td>
- </tr>
- <tr BGCOLOR="#99FFCC" NOSAVE>
- <td BGCOLOR="#CCFFCC">PC:</td>
- <td WIDTH="50%" BGCOLOR="#CCFFCC" NOSAVE><b><tt>09 56 00 00</tt></b></td>
- <td WIDTH="50%" BGCOLOR="#CCFFCC" NOSAVE><i>Acknowledgement of EOT</i></td>
- </tr>
- </table>
- <h4>
- <a NAME="rts"></a>Sending a Variable</h4>
- There are two ways to send a variable: with a folder name (such as 'main\str')
- or without a folder name (such as 'str'). If no folder is specified, the
- variable is sent to the current directory on the calculator.
- <p>The protocol for sending a variable to the calculator is shown below.
- <table BORDER CELLSPACING=0 WIDTH="92%" BGCOLOR="#FFFFFF" >
- <tr>
- <th WIDTH="7%" BGCOLOR="#008800"><font color="#FFFFFF">Step</font></th>
- <th COLSPAN="3" BGCOLOR="#008800"><font color="#FFFFFF">Direction</font></th>
- <th WIDTH="80%" BGCOLOR="#008800"><font color="#FFFFFF">Packet</font></th>
- </tr>
- <tr>
- <td WIDTH="7%" BGCOLOR="#FFFFFF">
- <center>1 </center>
- </td>
- <td ROWSPAN="8">
- <center><img SRC="graphics/comp.gif" ALT="Computer" BORDER=0 height=33 width=30 align=BOTTOM></center>
- </td>
- <td BGCOLOR="#FFFFFF">
- <center><img SRC="graphics/right.gif" ALT="===>" BORDER=0 height=13 width=22 align=BOTTOM></center>
- </td>
- <td ROWSPAN="8">
- <center><img SRC="graphics/calc.gif" ALT="Calculator" BORDER=0 height=35 width=60 align=BOTTOM></center>
- </td>
- <td WIDTH="80%" BGCOLOR="#FFFFFF">RTS (specifing the size with the extra
- four bytes)</td>
- </tr>
- <tr>
- <td WIDTH="7%" BGCOLOR="#FFFFFF">
- <center>2 </center>
- </td>
- <td BGCOLOR="#FFFFFF">
- <center><img SRC="graphics/left.gif" ALT="<===" BORDER=0 height=13 width=22 align=BOTTOM></center>
- </td>
- <td WIDTH="80%" BGCOLOR="#FFFFFF">ACK</td>
- </tr>
- <tr>
- <td WIDTH="7%" BGCOLOR="#FFFFFF">
- <center>3 </center>
- </td>
- <td BGCOLOR="#FFFFFF">
- <center><img SRC="graphics/left.gif" ALT="<===" BORDER=0 height=13 width=22 align=BOTTOM></center>
- </td>
- <td WIDTH="80%" BGCOLOR="#FFFFFF">CTS or SKIP/EXIT (see note below)</td>
- </tr>
- <tr>
- <td WIDTH="7%" BGCOLOR="#FFFFFF">
- <center>4 </center>
- </td>
- <td BGCOLOR="#FFFFFF">
- <center><img SRC="graphics/right.gif" ALT="===>" BORDER=0 height=13 width=22 align=BOTTOM></center>
- </td>
- <td WIDTH="80%" BGCOLOR="#FFFFFF">ACK</td>
- </tr>
- <tr>
- <td WIDTH="7%">
- <center>5 </center>
- </td>
- <td>
- <center><img SRC="graphics/right.gif" ALT="===>" BORDER=0 height=13 width=22 align=BOTTOM></center>
- </td>
- <td WIDTH="80%">DATA</td>
- </tr>
- <tr>
- <td WIDTH="7%">
- <center>6 </center>
- </td>
- <td>
- <center><img SRC="graphics/left.gif" ALT="<===" BORDER=0 height=13 width=22 align=BOTTOM></center>
- </td>
- <td WIDTH="80%">ACK</td>
- </tr>
- <tr>
- <td WIDTH="7%" BGCOLOR="#FFFFFF">
- <center>7 </center>
- </td>
- <td BGCOLOR="#FFFFFF">
- <center><img SRC="graphics/right.gif" ALT="===>" BORDER=0 height=13 width=22 align=BOTTOM></center>
- </td>
- <td WIDTH="80%" BGCOLOR="#FFFFFF">EOT<i> -</i> if there are several variables
- to transmit, steps 7 and 8 can be skipped until the last variable.</td>
- </tr>
- <tr>
- <td WIDTH="7%" BGCOLOR="#FFFFFF">
- <center>8 </center>
- </td>
- <td BGCOLOR="#FFFFFF">
- <center><img SRC="graphics/left.gif" ALT="<===" BORDER=0 height=13 width=22 align=BOTTOM></center>
- </td>
- <td WIDTH="80%" BGCOLOR="#FFFFFF">ACK</td>
- </tr>
- </table>
- <i>Note: If the calculator sends a MEM packet in step 3, it does not have
- enough free memory to accomodate the variable. In this case, step 3 will
- be the end of the transfer.</i>
- <p>Again, the data section contains the variable data.
- <p><u>Example:</u>
- <table BORDER=0 CELLSPACING=0 WIDTH="100%" >
- <tr>
- <td BGCOLOR="#CCFFCC">PC:</td>
- <td WIDTH="50%" BGCOLOR="#CCFFCC"><tt><b>09 06 0D 00 </b>0C 00 00 00 0C 07
- 74 64 73 5C 73 74 72 <b>20 03</b></tt></td>
- <td WIDTH="50%" BGCOLOR="#CCFFCC"><i>Request to send String "str" in the
- "tds" folder</i></td>
- </tr>
- <tr>
- <td BGCOLOR="#FFCCCC">TI:</td>
- <td WIDTH="50%" BGCOLOR="#FFCCCC"><b><tt>89 56 00 00</tt></b></td>
- <td WIDTH="50%" BGCOLOR="#FFCCCC"><i>Acknowledgement of request</i></td>
- </tr>
- <tr>
- <td BGCOLOR="#FFCCCC"> </td>
- <td WIDTH="50%" BGCOLOR="#FFCCCC"><b><tt>89 09 00 00</tt></b></td>
- <td WIDTH="50%" BGCOLOR="#FFCCCC"><i>Clear to send variable</i></td>
- </tr>
- <tr>
- <td BGCOLOR="#CCFFCC">PC:</td>
- <td WIDTH="50%" BGCOLOR="#CCFFCC"><b><tt>09 56 00 00</tt></b></td>
- <td WIDTH="50%" BGCOLOR="#CCFFCC"><i>Acknowledgement of CTS</i></td>
- </tr>
- <tr>
- <td BGCOLOR="#CCFFCC"> </td>
- <td WIDTH="50%" BGCOLOR="#CCFFCC"><tt><b>09 15 0C 00 </b>00 00 00 00 00
- 06 00 61 62 63 00 2D <b>59 01</b></tt></td>
- <td WIDTH="50%" BGCOLOR="#CCFFCC"><i>Variable data: "abc"</i></td>
- </tr>
- <tr>
- <td BGCOLOR="#FFCCCC">TI:</td>
- <td WIDTH="50%" BGCOLOR="#FFCCCC"><b><tt>89 56 00 00</tt></b></td>
- <td WIDTH="50%" BGCOLOR="#FFCCCC"><i>Acknowledgement of data</i></td>
- </tr>
- <tr>
- <td BGCOLOR="#CCFFCC">PC:</td>
- <td WIDTH="50%" BGCOLOR="#CCFFCC"><b><tt>09 92 00 00</tt></b></td>
- <td WIDTH="50%" BGCOLOR="#CCFFCC"><i>End Of Transmission</i></td>
- </tr>
- <tr>
- <td BGCOLOR="#FFCCCC">TI:</td>
- <td WIDTH="50%" BGCOLOR="#FFCCCC"><b><tt>89 56 00 00</tt></b></td>
- <td WIDTH="50%" BGCOLOR="#FFCCCC"><i>Acknowledgement of EOT</i></td>
- </tr>
- </table>
- <p> </p><table BORDER=0 CELLSPACING=0 WIDTH="100%" >
- <tr>
- <td WIDTH="32%">
- <center><a href="manual.html"><img SRC="graphics/prevpage.gif" ALT="[previous page]" BORDER=2 height=32 width=32 align=BOTTOM></a>
- <br><a href="manual.html">Manual Transfers</a></center>
- </td>
- <td WIDTH="34%">
- <center><a href="index.html"><img SRC="graphics/home.gif" ALT="[home]" BORDER=2 height=32 width=32 align=BOTTOM></a>
- <br><a href="index.html">Table of Contents</a></center>
- </td>
- <td WIDTH="34%">
- <center><a href="backup.html"><img SRC="graphics/nextpage.gif" ALT="[next page]" BORDER=2 height=32 width=32 align=BOTTOM></a>
- <br><a href="backup.html">Backups</a></center>
- </td>
- </tr>
- </table>
- <hr ALIGN="CENTER"><i>Site maintained by Romain Liévin (<a href="mailto:roms@lpg.ticalc.org">roms@lpg.ticalc.org</a>)
- and Tim Singer (<a href="mailto:tsinger@gladstone.uoregon.edu">tsinger@gladstone.uoregon.edu</a>)</i>
- </body>
- </html>
|