| 1 |
<HTML> |
| 2 |
<HEAD> |
| 3 |
<TITLE>Yapp-protocols extension (Appendix 19)</TITLE> |
| 4 |
</HEAD> |
| 5 |
<BODY BACKGROUND="/back_fbb.jpg"> |
| 6 |
<P> |
| 7 |
<IMG SRC="/fbb.gif" WIDTH="32" HEIGHT="32"> |
| 8 |
<H1 ALIGN=Center> |
| 9 |
Extensions to YAPP-protocol<SMALL>.</SMALL> |
| 10 |
</H1> |
| 11 |
<P ALIGN=Center> |
| 12 |
(Appendix 19) |
| 13 |
<P> |
| 14 |
<PRE> |
| 15 |
These extensions are used in TPK 1.65a (and up) and FBB 5.14 and up. |
| 16 |
|
| 17 |
HEADER extension. |
| 18 |
|
| 19 |
The header now carries the DATE and TIME of the file being transmitted. |
| 20 |
[SOH] [Len] [Filename] [NUL] [File Size] [NUL] [Date] [Time] [NUL] |
| 21 |
|
| 22 |
The Date and Time are the values reported by DOS, coded in 4 hexadecimal |
| 23 |
digits and are sent in ASCII (8 characters). |
| 24 |
|
| 25 |
The receiver has the choice of using either extended Yapp with checksum or |
| 26 |
normal Yapp. |
| 27 |
|
| 28 |
The normal Yapp reply is RF, as before and the receiver can keep the date |
| 29 |
and time information . |
| 30 |
|
| 31 |
The extended Yapp reply is : RT Receive_TPK and is coded : [ACK] [ACK] |
| 32 |
|
| 33 |
If the receiver reply is RT the protocol used will be what I have called |
| 34 |
YappC for Yapp with checksum. When the sender gets this packet he MUST use |
| 35 |
YappC. |
| 36 |
|
| 37 |
Data Packets extension. |
| 38 |
|
| 39 |
If the receivers reply is RT the protocol used will be YappC. The checksum |
| 40 |
allows detection of packets corrupted along the link, particularly on the |
| 41 |
RS232 lines where there is no error control or correction (or it's very |
| 42 |
poor!) |
| 43 |
|
| 44 |
Data packets : [STX] [Len] [Data] [Checksum] |
| 45 |
|
| 46 |
Checksum is the sum of all data bytes anded with FF in 8 bits like Xmodem. |
| 47 |
|
| 48 |
If the checksum is bad then the receiver must send a Cancel and enters CW |
| 49 |
state. |
| 50 |
|
| 51 |
Crash Recovery. |
| 52 |
|
| 53 |
A new field has been added to the resume reply to tell the sender if the |
| 54 |
receiver can use YappC or not. Resume is sent instead of RF (or RT). |
| 55 |
|
| 56 |
Resume reply for Yapp: (as used before by TPK and FBB) |
| 57 |
|
| 58 |
[NAK] [Len] [R] [NUL] [Received Length] [NUL] |
| 59 |
I I I |
| 60 |
I I +-- in ASCII as in the header |
| 61 |
I +-- as Resume ! |
| 62 |
I |
| 63 |
+------- len of the following bytes |
| 64 |
|
| 65 |
Resume reply for YappC: |
| 66 |
|
| 67 |
[NAK] [Len] [R] [NUL] [Received Length] [NUL] [C] [NUL] |
| 68 |
I |
| 69 |
Tells sender I can use YappC -----+ |
| 70 |
|
| 71 |
When the sender gets this packet then he must also use YappC. |
| 72 |
|
| 73 |
|
| 74 |
|
| 75 |
<A HREF="doc.htm"><IMG SRC="/contents.gif" WIDTH="108" HEIGHT="28"></A> |
| 76 |
|
| 77 |
<A HREF="/"><IMG SRC="../button_home.gif" WIDTH="90" HEIGHT="29"></A> |
| 78 |
|
| 79 |
<FONT COLOR="#800000">This page was last updated <!--#config timefmt="%d-%b-%y"--><!--#echo var="LAST_MODIFIED"--></FONT> |
| 80 |
|
| 81 |
</PRE> |
| 82 |
</BODY></HTML> |