silent.html 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845
  1. <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  5. <meta name="GENERATOR" content="Mozilla/4.7 [en] (X11; I; Linux 2.4.0-test6 i586) [Netscape]">
  6. <title>TI-89 Link Protocol Guide - Silent Transfers</title>
  7. </head>
  8. <body bgcolor="#FFFFE8">
  9. <b>TI-92 Link Protocol Guide</b> - Silent Variable Transfers
  10. <center>
  11. <h2>
  12. <hr ALIGN="CENTER">Silent Variable Transfers</h2></center>
  13. "Silent Linking" is a capability that Texas Instruments built into the
  14. TI-83, TI-83+, TI-92, TI-89, TI-92 and TI-92+. It enables the calculator
  15. to transfer data to and from a computer without any special preparation
  16. required on the calculator end. The only drawback to the silent linking
  17. method is that when using this protocol, the calculator will automatically
  18. overwrite any data in a variable that has the same name as one being sent
  19. to it. Any program that incorporates silent linking must check for this;
  20. otherwise data may be lost.
  21. <p>Because silent linking protocols are one-sided (i.e. the user interaction
  22. is solely on the computer), there are three different transfer sequences
  23. required. First a <a href="#dir">directory listing</a> must be downloaded
  24. from the calculator in order to choose the variables to transfer or to
  25. check for duplicate names and out-of-memory conditions. Then, if variables
  26. are to be downloaded, a <a href="#request">variable request</a> action
  27. must be initiated by the computer. Finally, if variables are to be uploaded,
  28. a <a href="#rts">request-to-send</a> action must be sent by the computer.
  29. <h4>
  30. <a NAME="dir"></a>Directory Listing</h4>
  31. A directory listing is a list of all user variables in the calculator's
  32. memory and a number specifying how many bytes of free memory are left.
  33. <br>
  34. On the TI92 calculator, the directory list is done in a single pass (contrary
  35. to TI89/92+).
  36. <p>The protocol for requesting a directory listing is shown below. For
  37. information on packet formats, <a href="packet.html">click here</a>.
  38. <table BORDER CELLSPACING=0 WIDTH="92%" BGCOLOR="#FFFFFF" NOSAVE >
  39. <tr>
  40. <th WIDTH="7%" BGCOLOR="#008800"><font color="#FFFFFF">Step</font></th>
  41. <th COLSPAN="3" BGCOLOR="#008800"><font color="#FFFFFF">Direction</font></th>
  42. <th WIDTH="80%" BGCOLOR="#008800"><font color="#FFFFFF">Packet</font></th>
  43. </tr>
  44. <tr NOSAVE>
  45. <td WIDTH="7%" BGCOLOR="#FFFFFF">
  46. <center>1&nbsp;</center>
  47. </td>
  48. <td ROWSPAN="10" NOSAVE>
  49. <center><img SRC="graphics/comp.gif" ALT="Computer" BORDER=0 height=33 width=30 align=BOTTOM></center>
  50. </td>
  51. <td BGCOLOR="#FFFFFF">
  52. <center><img SRC="graphics/right.gif" ALT="===>" BORDER=0 height=13 width=22 align=BOTTOM></center>
  53. </td>
  54. <td ROWSPAN="10" NOSAVE>
  55. <center><img SRC="graphics/calc.gif" ALT="Calculator" BORDER=0 height=35 width=60 align=BOTTOM></center>
  56. </td>
  57. <td WIDTH="80%" BGCOLOR="#FFFFFF">REQ with data type=19h (see <a href="packet.html#19h">note
  58. under Type ID's</a> for variable header format) and with a particular filter.</td>
  59. </tr>
  60. <tr>
  61. <td WIDTH="7%" BGCOLOR="#FFFFFF">
  62. <center>2&nbsp;</center>
  63. </td>
  64. <td BGCOLOR="#FFFFFF">
  65. <center><img SRC="graphics/left.gif" ALT="<===" BORDER=0 height=13 width=22 align=BOTTOM></center>
  66. </td>
  67. <td WIDTH="80%" BGCOLOR="#FFFFFF">ACK</td>
  68. </tr>
  69. <tr>
  70. <td WIDTH="7%" BGCOLOR="#FFFFFF">
  71. <center>3&nbsp;</center>
  72. </td>
  73. <td BGCOLOR="#FFFFFF">
  74. <center><img SRC="graphics/left.gif" ALT="<===" BORDER=0 height=13 width=22 align=BOTTOM></center>
  75. </td>
  76. <td WIDTH="80%" BGCOLOR="#FFFFFF">VAR - a variable information packet (see
  77. format below)</td>
  78. </tr>
  79. <tr>
  80. <td WIDTH="7%" BGCOLOR="#FFFFFF">
  81. <center>4&nbsp;</center>
  82. </td>
  83. <td BGCOLOR="#FFFFFF">
  84. <center><img SRC="graphics/right.gif" ALT="===>" BORDER=0 height=13 width=22 align=BOTTOM></center>
  85. </td>
  86. <td WIDTH="80%" BGCOLOR="#FFFFFF">ACK</td>
  87. </tr>
  88. <tr>
  89. <td WIDTH="7%">
  90. <center>5&nbsp;</center>
  91. </td>
  92. <td>
  93. <center><img SRC="graphics/right.gif" ALT="===>" BORDER=0 height=13 width=22 align=BOTTOM></center>
  94. </td>
  95. <td WIDTH="80%">CTS</td>
  96. </tr>
  97. <tr>
  98. <td WIDTH="7%">
  99. <center>6&nbsp;</center>
  100. </td>
  101. <td>
  102. <center><img SRC="graphics/left.gif" ALT="<===" BORDER=0 height=13 width=22 align=BOTTOM></center>
  103. </td>
  104. <td WIDTH="80%">ACK</td>
  105. </tr>
  106. <tr>
  107. <td WIDTH="7%">
  108. <center>7&nbsp;</center>
  109. </td>
  110. <td>
  111. <center><img SRC="graphics/left.gif" ALT="<===" BORDER=0 height=13 width=22 align=BOTTOM></center>
  112. </td>
  113. <td WIDTH="80%">DATA - a variable entry (see format below).</td>
  114. </tr>
  115. <tr>
  116. <td WIDTH="7%">
  117. <center>8&nbsp;</center>
  118. </td>
  119. <td>
  120. <center><img SRC="graphics/right.gif" ALT="===>" BORDER=0 height=13 width=22 align=BOTTOM></center>
  121. </td>
  122. <td WIDTH="80%">ACK</td>
  123. </tr>
  124. <tr>
  125. <td WIDTH="7%">
  126. <center>9&nbsp;</center>
  127. </td>
  128. <td>
  129. <center><img SRC="graphics/left.gif" ALT="<===" BORDER=0 height=13 width=22 align=BOTTOM></center>
  130. </td>
  131. <td WIDTH="80%">CONT or EOT - if CONT, then go to step 4.</td>
  132. </tr>
  133. <tr>
  134. <td WIDTH="7%">
  135. <center>10&nbsp;</center>
  136. </td>
  137. <td>
  138. <center><img SRC="graphics/right.gif" ALT="===>" BORDER=0 height=13 width=22 align=BOTTOM></center>
  139. </td>
  140. <td WIDTH="80%">ACK</td>
  141. </tr>
  142. </table>
  143. <p>The request has the following format according to the operation (global
  144. directory list or local directory list):
  145. <table BORDER CELLSPACING=0 WIDTH="92%" >
  146. <tr>
  147. <th WIDTH="7%" BGCOLOR="#DDDDDD">Offset</th>
  148. <th WIDTH="8%" BGCOLOR="#DDDDDD">Length</th>
  149. <th WIDTH="85%" BGCOLOR="#DDDDDD">Description</th>
  150. </tr>
  151. <tr>
  152. <td WIDTH="7%">0</td>
  153. <td WIDTH="8%">4 bytes</td>
  154. <td WIDTH="85%">Always {00h, 00h, 00h, 00}.</td>
  155. </tr>
  156. <tr>
  157. <td WIDTH="7%">4</td>
  158. <td WIDTH="8%">1 bytes</td>
  159. <td WIDTH="85%">This byte always has a value of 19h (directory list request).</td>
  160. </tr>
  161. <tr>
  162. <td WIDTH="7%">5</td>
  163. <td WIDTH="8%">1 byte</td>
  164. <td WIDTH="85%">The length, in characters, of the name field. Here, it
  165. is always 0.&nbsp;</td>
  166. </tr>
  167. </table>
  168. <p>The data in the variable information packet has the following format:
  169. <table BORDER CELLSPACING=0 WIDTH="92%" >
  170. <tr>
  171. <th WIDTH="7%" BGCOLOR="#DDDDDD">Offset</th>
  172. <th WIDTH="8%" BGCOLOR="#DDDDDD">Length</th>
  173. <th WIDTH="85%" BGCOLOR="#DDDDDD">Description</th>
  174. </tr>
  175. <tr>
  176. <td WIDTH="7%">0</td>
  177. <td WIDTH="8%">4 bytes</td>
  178. <td WIDTH="85%">Unknown.</td>
  179. </tr>
  180. <tr>
  181. <td WIDTH="7%">4</td>
  182. <td WIDTH="8%">1 bytes</td>
  183. <td WIDTH="85%">This byte always has a value of 53h (???).</td>
  184. </tr>
  185. <tr>
  186. <td WIDTH="7%">5</td>
  187. <td WIDTH="8%">1 byte</td>
  188. <td WIDTH="85%">The length, in characters, of the name field. Always 04h.</td>
  189. </tr>
  190. <tr>
  191. <td WIDTH="7%">6</td>
  192. <td WIDTH="8%">4 bytes</td>
  193. <td WIDTH="85%">The name of the current folder. Always "main".&nbsp;</td>
  194. </tr>
  195. </table>
  196. <p>The var section (data packet) of the transfer is always 18 bytes long
  197. and takes the following format:
  198. <table BORDER CELLSPACING=0 WIDTH="92%" >
  199. <tr>
  200. <th WIDTH="7%" BGCOLOR="#DDDDDD">Offset</th>
  201. <th WIDTH="8%" BGCOLOR="#DDDDDD">Length</th>
  202. <th WIDTH="85%" BGCOLOR="#DDDDDD">Description</th>
  203. </tr>
  204. <tr>
  205. <td WIDTH="7%">0</td>
  206. <td WIDTH="8%">4 bytes</td>
  207. <td WIDTH="85%">These four bytes always have a value of 0.</td>
  208. </tr>
  209. <tr>
  210. <td WIDTH="7%">4</td>
  211. <td WIDTH="8%">8 bytes</td>
  212. <td WIDTH="85%">Variable name padded with NULL chars if necessary.</td>
  213. </tr>
  214. <tr>
  215. <td WIDTH="7%">12</td>
  216. <td WIDTH="8%">1 byte</td>
  217. <td WIDTH="85%">Variable type ID.</td>
  218. </tr>
  219. <tr>
  220. <td WIDTH="7%">13</td>
  221. <td WIDTH="8%">1 byte</td>
  222. <td WIDTH="85%">Variable attribute: 00h = unlocked, 01h = locked.</td>
  223. </tr>
  224. <tr>
  225. <td WIDTH="7%">14</td>
  226. <td WIDTH="8%">4 bytes</td>
  227. <td WIDTH="85%">If folders are listed, this field contains the number of variables
  228. in this folder. <br>
  229. If variables are listed, this field contains the length, in bytes, of the
  230. variable data for this variable without the extra four bytes at the beginning
  231. of the data packet.</td>
  232. </tr>
  233. </table>
  234. <p><u>Example:</u> (to do, my examples are too big !)
  235. <br>&nbsp;
  236. <table BORDER=0 CELLSPACING=0 WIDTH="100%" BGCOLOR="#FFFFFF" NOSAVE >
  237. <tr>
  238. <td BGCOLOR="#CCFFCC">PC:</td>
  239. <td WIDTH="50%" BGCOLOR="#CCFFCC"><tt><b>09 A2 06 00 </b>00 00 00 00 19 00
  240. <b>39 00</b></tt></td>
  241. <td WIDTH="50%" BGCOLOR="#CCFFCC"><i>Directory list request</i></td>
  242. </tr>
  243. <tr>
  244. <td BGCOLOR="#FFCCCC">TI:</td>
  245. <td WIDTH="50%" BGCOLOR="#FFCCCC"><b><tt>89 56 00 00</tt></b></td>
  246. <td WIDTH="50%" BGCOLOR="#FFCCCC"><i>Acknowledgement of request</i></td>
  247. </tr>
  248. <tr>
  249. <td BGCOLOR="#FFCCCC">&nbsp;</td>
  250. <td WIDTH="50%" BGCOLOR="#FFCCCC"><tt><b>89 06 0A 00 </b>0E 00 00 00 5304
  251. 6D 61 69 6E 03 <b>52 02</b></tt></td>
  252. <td WIDTH="50%" BGCOLOR="#FFCCCC"><i>Variable header - complete directory
  253. starting with "main".</i></td>
  254. </tr>
  255. <tr>
  256. <td BGCOLOR="#CCFFCC">PC:</td>
  257. <td WIDTH="50%" BGCOLOR="#CCFFCC"><b><tt>09 56 00 00</tt></b></td>
  258. <td WIDTH="50%" BGCOLOR="#CCFFCC"><i>Acknowledgement of header</i></td>
  259. </tr>
  260. <tr BGCOLOR="#99FFCC" NOSAVE>
  261. <td BGCOLOR="#CCFFCC">&nbsp;</td>
  262. <td WIDTH="50%" BGCOLOR="#CCFFCC" NOSAVE><b><tt>09 09 FF FF</tt></b></td>
  263. <td WIDTH="50%" BGCOLOR="#CCFFCC"><i>Clear to send</i></td>
  264. </tr>
  265. <tr>
  266. <td BGCOLOR="#FFCCCC">TI:</td>
  267. <td WIDTH="50%" BGCOLOR="#FFCCCC"><b><tt>89 56 00 00</tt></b></td>
  268. <td WIDTH="50%" BGCOLOR="#FFCCCC"><i>Acknowledgement of clear to send</i></td>
  269. </tr>
  270. <tr BGCOLOR="#FFCCCC" NOSAVE>
  271. <td BGCOLOR="#FFCCCC">&nbsp;</td>
  272. <td WIDTH="50%" BGCOLOR="#FFCCCC" NOSAVE><tt><b>89 15 12 00</b> 00 00 00 00
  273. 41 00 00 00 00 00 00 00 03 00 01 00 00 00 <b>66 13</b></tt></td>
  274. <td WIDTH="50%" BGCOLOR="#FFCCCC"><i>Variable entry - Unlocked folder "base"
  275. with one variable</i></td>
  276. </tr>
  277. <tr>
  278. <td BGCOLOR="#CCFFCC">PC:</td>
  279. <td WIDTH="50%" BGCOLOR="#CCFFCC"><b><tt>09 56 00 00</tt></b></td>
  280. <td WIDTH="50%" BGCOLOR="#CCFFCC"><i>Acknowledgement of variable entry</i></td>
  281. </tr>
  282. <tr>
  283. <td bgcolor="#FFCCCC">TI:</td>
  284. <td width="50%" bgcolor="#FFCCCC"><b><tt>89 78 00 00</tt></b></td>
  285. <td width="50%" bgcolor="#FFCCCC"><i>Continue</i></td>
  286. </tr>
  287. <tr>
  288. <td bgcolor="#CCFFCC">PC:</td>
  289. <td width="50%" bgcolor="#CCFFCC"><b><tt>09 56 00 00</tt></b></td>
  290. <td width="50%" bgcolor="#CCFFCC"><i>Acknowledgement of header</i></td>
  291. </tr>
  292. <tr bgcolor="#99FFCC" nosave>
  293. <td bgcolor="#CCFFCC">&nbsp;</td>
  294. <td width="50%" bgcolor="#CCFFCC" nosave><b><tt>09 09 FF FF</tt></b></td>
  295. <td width="50%" bgcolor="#CCFFCC"><i>Clear to send</i></td>
  296. </tr>
  297. <tr>
  298. <td bgcolor="#FFCCCC">TI:</td>
  299. <td width="50%" bgcolor="#FFCCCC"><b><tt>89 56 00 00</tt></b></td>
  300. <td width="50%" bgcolor="#FFCCCC"><i>Acknowledgement of clear to send</i></td>
  301. </tr>
  302. <tr bgcolor="#FFCCCC" nosave>
  303. <td bgcolor="#FFCCCC">&nbsp;</td>
  304. <td width="50%" bgcolor="#FFCCCC" nosave><tt><b>89 15 12 00</b> 00 00 00 00
  305. 42 00 00 00 00 00 00 00 03 00 01 00 00 00 <b>66 13</b></tt></td>
  306. <td width="50%" bgcolor="#FFCCCC"><i>Variable entry - Unlocked folder "base"
  307. with one variable</i></td>
  308. </tr>
  309. <tr>
  310. <td bgcolor="#CCFFCC">PC:</td>
  311. <td width="50%" bgcolor="#CCFFCC"><b><tt>09 56 00 00</tt></b></td>
  312. <td width="50%" bgcolor="#CCFFCC"><i>Acknowledgement of variable entry</i></td>
  313. </tr>
  314. <tr>
  315. <td BGCOLOR="#FFCCCC">TI:</td>
  316. <td WIDTH="50%" BGCOLOR="#FFCCCC"><b><tt>89 92 00 00</tt></b></td>
  317. <td WIDTH="50%" BGCOLOR="#FFCCCC"><i>End of transmission - no more variables</i></td>
  318. </tr>
  319. <tr>
  320. <td BGCOLOR="#CCFFCC">PC:</td>
  321. <td WIDTH="50%" BGCOLOR="#CCFFCC"><b><tt>09 56 00 00</tt></b></td>
  322. <td WIDTH="50%" BGCOLOR="#CCFFCC"><i>Acknowledgement of EOT</i></td>
  323. </tr>
  324. </table>
  325. <h4>
  326. <a NAME="request"></a>Requesting a Variable</h4>
  327. The protocol for requesting and receiving a variable from the calculator
  328. is shown below.
  329. <table BORDER CELLSPACING=0 WIDTH="92%" BGCOLOR="#FFFFFF" NOSAVE >
  330. <tr>
  331. <th WIDTH="7%" BGCOLOR="#008800"><font color="#FFFFFF">Step</font></th>
  332. <th COLSPAN="3" BGCOLOR="#008800"><font color="#FFFFFF">Direction</font></th>
  333. <th WIDTH="80%" BGCOLOR="#008800"><font color="#FFFFFF">Packet</font></th>
  334. </tr>
  335. <tr NOSAVE>
  336. <td WIDTH="7%" BGCOLOR="#FFFFFF">
  337. <center>1&nbsp;</center>
  338. </td>
  339. <td ROWSPAN="10" NOSAVE>
  340. <center><img SRC="graphics/comp.gif" ALT="Computer" BORDER=0 height=33 width=30 align=BOTTOM></center>
  341. </td>
  342. <td BGCOLOR="#FFFFFF">
  343. <center><img SRC="graphics/right.gif" ALT="===>" BORDER=0 height=13 width=22 align=BOTTOM></center>
  344. </td>
  345. <td ROWSPAN="10" NOSAVE>
  346. <center><img SRC="graphics/calc.gif" ALT="Calculator" BORDER=0 height=35 width=60 align=BOTTOM></center>
  347. </td>
  348. <td WIDTH="80%" BGCOLOR="#FFFFFF">REQ with expected header including the
  349. folder name, if necessary</td>
  350. </tr>
  351. <tr>
  352. <td WIDTH="7%" BGCOLOR="#FFFFFF">
  353. <center>2&nbsp;</center>
  354. </td>
  355. <td BGCOLOR="#FFFFFF">
  356. <center><img SRC="graphics/left.gif" ALT="<===" BORDER=0 height=13 width=22 align=BOTTOM></center>
  357. </td>
  358. <td WIDTH="80%" BGCOLOR="#FFFFFF">ACK (see note below)</td>
  359. </tr>
  360. <tr>
  361. <td WIDTH="7%" BGCOLOR="#FFFFFF">
  362. <center>3&nbsp;</center>
  363. </td>
  364. <td BGCOLOR="#FFFFFF">
  365. <center><img SRC="graphics/left.gif" ALT="<===" BORDER=0 height=13 width=22 align=BOTTOM></center>
  366. </td>
  367. <td WIDTH="80%" BGCOLOR="#FFFFFF">VAR (specifing the size without the extra
  368. four bytes) with actual header and no folder name</td>
  369. </tr>
  370. <tr>
  371. <td WIDTH="7%" BGCOLOR="#FFFFFF">
  372. <center>4&nbsp;</center>
  373. </td>
  374. <td BGCOLOR="#FFFFFF">
  375. <center><img SRC="graphics/right.gif" ALT="===>" BORDER=0 height=13 width=22 align=BOTTOM></center>
  376. </td>
  377. <td WIDTH="80%" BGCOLOR="#FFFFFF">ACK</td>
  378. </tr>
  379. <tr>
  380. <td WIDTH="7%">
  381. <center>5&nbsp;</center>
  382. </td>
  383. <td>
  384. <center><img SRC="graphics/right.gif" ALT="===>" BORDER=0 height=13 width=22 align=BOTTOM></center>
  385. </td>
  386. <td WIDTH="80%">CTS</td>
  387. </tr>
  388. <tr>
  389. <td WIDTH="7%">
  390. <center>6&nbsp;</center>
  391. </td>
  392. <td>
  393. <center><img SRC="graphics/left.gif" ALT="<===" BORDER=0 height=13 width=22 align=BOTTOM></center>
  394. </td>
  395. <td WIDTH="80%">ACK</td>
  396. </tr>
  397. <tr>
  398. <td WIDTH="7%">
  399. <center>7&nbsp;</center>
  400. </td>
  401. <td>
  402. <center><img SRC="graphics/left.gif" ALT="<===" BORDER=0 height=13 width=22 align=BOTTOM></center>
  403. </td>
  404. <td WIDTH="80%">DATA with an extra four bytes at the beginning of the packet</td>
  405. </tr>
  406. <tr>
  407. <td WIDTH="7%">
  408. <center>8&nbsp;</center>
  409. </td>
  410. <td>
  411. <center><img SRC="graphics/right.gif" ALT="===>" BORDER=0 height=13 width=22 align=BOTTOM></center>
  412. </td>
  413. <td WIDTH="80%">ACK</td>
  414. </tr>
  415. <tr>
  416. <td WIDTH="7%">
  417. <center>9&nbsp;</center>
  418. </td>
  419. <td>
  420. <center><img SRC="graphics/left.gif" ALT="<===" BORDER=0 height=13 width=22 align=BOTTOM></center>
  421. </td>
  422. <td WIDTH="80%">EOT</td>
  423. </tr>
  424. <tr>
  425. <td WIDTH="7%">
  426. <center>10&nbsp;</center>
  427. </td>
  428. <td>
  429. <center><img SRC="graphics/right.gif" ALT="===>" BORDER=0 height=13 width=22 align=BOTTOM></center>
  430. </td>
  431. <td WIDTH="80%">ACK</td>
  432. </tr>
  433. </table>
  434. <i>Note: If the requested variable does not exist, step 2 will be the end
  435. of the transfer.</i>
  436. <p>As with manual transfers, the data section contains the variable data.
  437. For information on variable formats,
  438. <a href="vars.html">click here</a>.
  439. <p><u>Example:</u>
  440. <table BORDER=0 CELLSPACING=0 WIDTH="100%" BGCOLOR="#FFCCCC" NOSAVE >
  441. <tr>
  442. <td BGCOLOR="#CCFFCC">PC:</td>
  443. <td WIDTH="50%" BGCOLOR="#CCFFCC"><tt><b>09 A2 0C 00 </b>00 00 00 00 00 06
  444. 6D 61 69 6E 5C 64 <b>93 02</b></tt></td>
  445. <td WIDTH="50%" BGCOLOR="#CCFFCC"><i>Request Known Variable&nbsp; "d" in the
  446. "main&quot; folder</i></td>
  447. </tr>
  448. <tr>
  449. <td BGCOLOR="#FFCCCC">TI:</td>
  450. <td WIDTH="50%" BGCOLOR="#FFCCCC"><b><tt>89 56 00 00</tt></b></td>
  451. <td WIDTH="50%" BGCOLOR="#FFCCCC"><i>Acknowledgement of request</i></td>
  452. </tr>
  453. <tr>
  454. <td BGCOLOR="#FFCCCC">&nbsp;</td>
  455. <td WIDTH="50%" BGCOLOR="#FFCCCC"><tt><b>89 06 08 00 </b>05 00 00 00 00 01
  456. 64 <b>6A 00</b></tt></td>
  457. <td WIDTH="50%" BGCOLOR="#FFCCCC"><i>Variable Header: String "d"</i></td>
  458. </tr>
  459. <tr>
  460. <td BGCOLOR="#CCFFCC">PC:</td>
  461. <td WIDTH="50%" BGCOLOR="#CCFFCC"><b><tt>09 56 00 00</tt></b></td>
  462. <td WIDTH="50%" BGCOLOR="#CCFFCC"><i>Acknowledgement of variable header</i></td>
  463. </tr>
  464. <tr>
  465. <td BGCOLOR="#CCFFCC">&nbsp;</td>
  466. <td WIDTH="50%" BGCOLOR="#CCFFCC"><b><tt>09 09 FF FF</tt></b></td>
  467. <td WIDTH="50%" BGCOLOR="#CCFFCC"><i>Clear to send variable</i></td>
  468. </tr>
  469. <tr>
  470. <td BGCOLOR="#FFCCCC">TI:</td>
  471. <td WIDTH="50%" BGCOLOR="#FFCCCC"><b><tt>89 56 00 00</tt></b></td>
  472. <td WIDTH="50%" BGCOLOR="#FFCCCC"><i>Acknowledgement of CTS</i></td>
  473. </tr>
  474. <tr>
  475. <td BGCOLOR="#FFCCCC">&nbsp;</td>
  476. <td WIDTH="50%" BGCOLOR="#FFCCCC"><tt><b>89 15 09 00 </b>00 00 00 00 00 03
  477. 01 01 1F <b>24 00</b></tt></td>
  478. <td WIDTH="50%" BGCOLOR="#FFCCCC"><i>Variable data: ?</i></td>
  479. </tr>
  480. <tr>
  481. <td BGCOLOR="#CCFFCC">PC:</td>
  482. <td WIDTH="50%" BGCOLOR="#CCFFCC"><b><tt>09 56 00 00</tt></b></td>
  483. <td WIDTH="50%" BGCOLOR="#CCFFCC"><i>Acknowledgement of variable data</i></td>
  484. </tr>
  485. <tr NOSAVE>
  486. <td BGCOLOR="#FFCCCC">TI:</td>
  487. <td WIDTH="50%" BGCOLOR="#FFCCCC" NOSAVE><b><tt>89 92 00 00</tt></b></td>
  488. <td WIDTH="50%" BGCOLOR="#FFCCCC"><i>End Of Transmission</i></td>
  489. </tr>
  490. <tr BGCOLOR="#99FFCC" NOSAVE>
  491. <td BGCOLOR="#CCFFCC">PC:</td>
  492. <td WIDTH="50%" BGCOLOR="#CCFFCC" NOSAVE><b><tt>09 56 00 00</tt></b></td>
  493. <td WIDTH="50%" BGCOLOR="#CCFFCC" NOSAVE><i>Acknowledgement of EOT</i></td>
  494. </tr>
  495. </table>
  496. <h4>
  497. <a NAME="rts"></a>Sending a Variable</h4>
  498. There are two ways to send a variable: with a folder name (such as 'main\str')
  499. or without a folder name (such as 'str'). If no folder is specified, the
  500. variable is sent to the current directory on the calculator.
  501. <p>The protocol for sending a variable to the calculator is shown below.
  502. <table BORDER CELLSPACING=0 WIDTH="92%" BGCOLOR="#FFFFFF" >
  503. <tr>
  504. <th WIDTH="7%" BGCOLOR="#008800"><font color="#FFFFFF">Step</font></th>
  505. <th COLSPAN="3" BGCOLOR="#008800"><font color="#FFFFFF">Direction</font></th>
  506. <th WIDTH="80%" BGCOLOR="#008800"><font color="#FFFFFF">Packet</font></th>
  507. </tr>
  508. <tr>
  509. <td WIDTH="7%" BGCOLOR="#FFFFFF">
  510. <center>1&nbsp;</center>
  511. </td>
  512. <td ROWSPAN="8">
  513. <center><img SRC="graphics/comp.gif" ALT="Computer" BORDER=0 height=33 width=30 align=BOTTOM></center>
  514. </td>
  515. <td BGCOLOR="#FFFFFF">
  516. <center><img SRC="graphics/right.gif" ALT="===>" BORDER=0 height=13 width=22 align=BOTTOM></center>
  517. </td>
  518. <td ROWSPAN="8">
  519. <center><img SRC="graphics/calc.gif" ALT="Calculator" BORDER=0 height=35 width=60 align=BOTTOM></center>
  520. </td>
  521. <td WIDTH="80%" BGCOLOR="#FFFFFF">RTS (specifing the size with the extra
  522. four bytes)</td>
  523. </tr>
  524. <tr>
  525. <td WIDTH="7%" BGCOLOR="#FFFFFF">
  526. <center>2&nbsp;</center>
  527. </td>
  528. <td BGCOLOR="#FFFFFF">
  529. <center><img SRC="graphics/left.gif" ALT="<===" BORDER=0 height=13 width=22 align=BOTTOM></center>
  530. </td>
  531. <td WIDTH="80%" BGCOLOR="#FFFFFF">ACK</td>
  532. </tr>
  533. <tr>
  534. <td WIDTH="7%" BGCOLOR="#FFFFFF">
  535. <center>3&nbsp;</center>
  536. </td>
  537. <td BGCOLOR="#FFFFFF">
  538. <center><img SRC="graphics/left.gif" ALT="<===" BORDER=0 height=13 width=22 align=BOTTOM></center>
  539. </td>
  540. <td WIDTH="80%" BGCOLOR="#FFFFFF">CTS or SKIP/EXIT (see note below)</td>
  541. </tr>
  542. <tr>
  543. <td WIDTH="7%" BGCOLOR="#FFFFFF">
  544. <center>4&nbsp;</center>
  545. </td>
  546. <td BGCOLOR="#FFFFFF">
  547. <center><img SRC="graphics/right.gif" ALT="===>" BORDER=0 height=13 width=22 align=BOTTOM></center>
  548. </td>
  549. <td WIDTH="80%" BGCOLOR="#FFFFFF">ACK</td>
  550. </tr>
  551. <tr>
  552. <td WIDTH="7%">
  553. <center>5&nbsp;</center>
  554. </td>
  555. <td>
  556. <center><img SRC="graphics/right.gif" ALT="===>" BORDER=0 height=13 width=22 align=BOTTOM></center>
  557. </td>
  558. <td WIDTH="80%">DATA</td>
  559. </tr>
  560. <tr>
  561. <td WIDTH="7%">
  562. <center>6&nbsp;</center>
  563. </td>
  564. <td>
  565. <center><img SRC="graphics/left.gif" ALT="<===" BORDER=0 height=13 width=22 align=BOTTOM></center>
  566. </td>
  567. <td WIDTH="80%">ACK</td>
  568. </tr>
  569. <tr>
  570. <td WIDTH="7%" BGCOLOR="#FFFFFF">
  571. <center>7&nbsp;</center>
  572. </td>
  573. <td BGCOLOR="#FFFFFF">
  574. <center><img SRC="graphics/right.gif" ALT="===>" BORDER=0 height=13 width=22 align=BOTTOM></center>
  575. </td>
  576. <td WIDTH="80%" BGCOLOR="#FFFFFF">EOT<i> -</i> if there are several variables
  577. to transmit, steps 7 and 8 can be skipped until the last variable.</td>
  578. </tr>
  579. <tr>
  580. <td WIDTH="7%" BGCOLOR="#FFFFFF">
  581. <center>8&nbsp;</center>
  582. </td>
  583. <td BGCOLOR="#FFFFFF">
  584. <center><img SRC="graphics/left.gif" ALT="<===" BORDER=0 height=13 width=22 align=BOTTOM></center>
  585. </td>
  586. <td WIDTH="80%" BGCOLOR="#FFFFFF">ACK</td>
  587. </tr>
  588. </table>
  589. <i>Note: If the calculator sends a MEM packet in step 3, it does not have
  590. enough free memory to accomodate the variable. In this case, step 3 will
  591. be the end of the transfer.</i>
  592. <p>Again, the data section contains the variable data.
  593. <p><u>Example:</u>
  594. <table BORDER=0 CELLSPACING=0 WIDTH="100%" >
  595. <tr>
  596. <td BGCOLOR="#CCFFCC">PC:</td>
  597. <td WIDTH="50%" BGCOLOR="#CCFFCC"><tt><b>09 06 0D 00 </b>0C 00 00 00 0C 07
  598. 74 64 73 5C 73 74 72 <b>20 03</b></tt></td>
  599. <td WIDTH="50%" BGCOLOR="#CCFFCC"><i>Request to send String "str" in the
  600. "tds" folder</i></td>
  601. </tr>
  602. <tr>
  603. <td BGCOLOR="#FFCCCC">TI:</td>
  604. <td WIDTH="50%" BGCOLOR="#FFCCCC"><b><tt>89 56 00 00</tt></b></td>
  605. <td WIDTH="50%" BGCOLOR="#FFCCCC"><i>Acknowledgement of request</i></td>
  606. </tr>
  607. <tr>
  608. <td BGCOLOR="#FFCCCC">&nbsp;</td>
  609. <td WIDTH="50%" BGCOLOR="#FFCCCC"><b><tt>89 09 00 00</tt></b></td>
  610. <td WIDTH="50%" BGCOLOR="#FFCCCC"><i>Clear to send variable</i></td>
  611. </tr>
  612. <tr>
  613. <td BGCOLOR="#CCFFCC">PC:</td>
  614. <td WIDTH="50%" BGCOLOR="#CCFFCC"><b><tt>09 56 00 00</tt></b></td>
  615. <td WIDTH="50%" BGCOLOR="#CCFFCC"><i>Acknowledgement of CTS</i></td>
  616. </tr>
  617. <tr>
  618. <td BGCOLOR="#CCFFCC">&nbsp;</td>
  619. <td WIDTH="50%" BGCOLOR="#CCFFCC"><tt><b>09 15 0C 00 </b>00 00 00 00 00
  620. 06 00 61 62 63 00 2D <b>59 01</b></tt></td>
  621. <td WIDTH="50%" BGCOLOR="#CCFFCC"><i>Variable data: "abc"</i></td>
  622. </tr>
  623. <tr>
  624. <td BGCOLOR="#FFCCCC">TI:</td>
  625. <td WIDTH="50%" BGCOLOR="#FFCCCC"><b><tt>89 56 00 00</tt></b></td>
  626. <td WIDTH="50%" BGCOLOR="#FFCCCC"><i>Acknowledgement of data</i></td>
  627. </tr>
  628. <tr>
  629. <td BGCOLOR="#CCFFCC">PC:</td>
  630. <td WIDTH="50%" BGCOLOR="#CCFFCC"><b><tt>09 92 00 00</tt></b></td>
  631. <td WIDTH="50%" BGCOLOR="#CCFFCC"><i>End Of Transmission</i></td>
  632. </tr>
  633. <tr>
  634. <td BGCOLOR="#FFCCCC">TI:</td>
  635. <td WIDTH="50%" BGCOLOR="#FFCCCC"><b><tt>89 56 00 00</tt></b></td>
  636. <td WIDTH="50%" BGCOLOR="#FFCCCC"><i>Acknowledgement of EOT</i></td>
  637. </tr>
  638. </table>
  639. <p>&nbsp;</p><table BORDER=0 CELLSPACING=0 WIDTH="100%" >
  640. <tr>
  641. <td WIDTH="32%">
  642. <center><a href="manual.html"><img SRC="graphics/prevpage.gif" ALT="[previous page]" BORDER=2 height=32 width=32 align=BOTTOM></a>
  643. <br><a href="manual.html">Manual Transfers</a></center>
  644. </td>
  645. <td WIDTH="34%">
  646. <center><a href="index.html"><img SRC="graphics/home.gif" ALT="[home]" BORDER=2 height=32 width=32 align=BOTTOM></a>
  647. <br><a href="index.html">Table of Contents</a></center>
  648. </td>
  649. <td WIDTH="34%">
  650. <center><a href="backup.html"><img SRC="graphics/nextpage.gif" ALT="[next page]" BORDER=2 height=32 width=32 align=BOTTOM></a>
  651. <br><a href="backup.html">Backups</a></center>
  652. </td>
  653. </tr>
  654. </table>
  655. <hr ALIGN="CENTER"><i>Site maintained by Romain Li&eacute;vin (<a href="mailto:roms@lpg.ticalc.org">roms@lpg.ticalc.org</a>)
  656. and Tim Singer (<a href="mailto:tsinger@gladstone.uoregon.edu">tsinger@gladstone.uoregon.edu</a>)</i>
  657. </body>
  658. </html>