TI-85 Link Protocol Guide v1.0 - Silent Variable Transfers
"Silent Linking" is a capability that Texas Instruments built into the TI-83, TI-83+, TI-86, 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.
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 directory listing 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 variable request action must be initiated by the computer. Finally, if variables are to be uploaded, a request-to-send action must be sent by the computer.
The TI-85 does not have the directory listing feature, and therefore does not support full silent linking. Nevertheless, the TI-85 implements two silent linking commands for use with the CBL/CBR:
The protocol for requesting and receiving a variable from the calculator is shown below.
Step | Direction | Packet | ||
---|---|---|---|---|
1 |
|
|
|
REQ with expected header |
2 |
|
ACK | ||
3 |
|
VAR with actual header | ||
4 |
|
ACK | ||
5 |
|
CTS or SKIP/EXIT - if exit, quit. | ||
6 |
|
ACK | ||
7 |
|
DATA | ||
8 |
|
ACK |
As with manual transfers, the data section contains the variable data. For information on variable formats, click here.
Example:
PC: | 05 A2 0C 00 00 00 1E 01 41 00 00 00 00 00 00 00 60 00 | Request Unknown "A" |
TI: | 85 56 00 00 | Acknowledgement of request |
85 06 0C 00 0A 00 00 01 41 00 00 00 00 00 00 00 4C 00 | Variable Header: Real Number "A" | |
PC: | 05 56 00 00 | Acknowledgement of variable header |
05 09 00 00 | Clear to send variable | |
TI: | 85 56 00 00 | Acknowledgement of CTS |
85 15 0A 00 00 00 FC 62 83 18 53 07 18 00 5B 02 | Variable data: "6.28318530718" | |
PC: | 05 56 00 00 | Acknowledgement of variable data |
The protocol for sending a variable from the calculator to a computer or CBL/CBR is shown below.
Step | Direction | Packet | ||
---|---|---|---|---|
1 |
|
|
|
RTS |
2 |
|
ACK | ||
3 |
|
CTS | ||
4 |
|
ACK | ||
5 |
|
DATA | ||
6 |
|
ACK |
Examples:
TI: | 85 C9 0C 00 0A 00 00 01 41 20 20 20 20 20 20 20 2C 01 | Request to send Real Number "A" |
PC: | 05 56 00 00 | Acknowledgement of request |
05 09 00 00 | Clear to send variable | |
TI: | 85 56 00 00 | Acknowledgement of CTS |
85 15 0A 00 00 00 FC 62 83 18 53 07 18 00 5B 02 | Variable data: "6.28318530718" | |
PC: | 05 56 00 00 | Acknowledgement of data |