home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 3 / hamradioversion3.0examsandprograms1992.iso / packet / packet2 / packet2.txt < prev   
Encoding:
Text File  |  1987-05-21  |  7.9 KB  |  160 lines

  1.  
  2.  
  3. TYP PACKET.IN2
  4. (Continued from PACKET.INT in the XA9 HamNet Database)
  5.  
  6. WHAT IS A PACKET?
  7.  
  8.    A packet is the basic message unit in packet radio. It ord-
  9. inarily consists of a text message typed in by the operator,
  10. sandwiched between the header and tail information required by 
  11. the protocol. In a typical QSO, a packet would be encoded and sent
  12. out by the TNC when the operator ends a line of typing by hitting 
  13. the RETURN or ENTER key. In any event, the length of a packet is
  14. limited, usually to 128 characters. This helps to prevent a single
  15. user from "hogging" the channel, as well as making sure that the
  16. sending and receiving TNC's don't get swapmed with information.
  17.  
  18.    A packet need not consist of ASCII or Baudot character strings,
  19. however. It could contain information in other coding systems, such
  20. as BCD or EBCDIC, or even binary data such as a compiled computer
  21. program. The TNC, which uses a "bit oriented protocol" based on a
  22. standard called High Level Data Link Control (HDLC), can encode
  23. any of these equally easily. An advantage to this choice of proto-
  24. col is that the functions it requires are available on a single
  25. large-scale integration (LSI) chip, which simplifies the TNC hard-
  26. ware and software. A second advantage of HDLC protocol is that the
  27. beginning and end of the entire message are flagged, making the
  28. "start" and "stop" bits for each character unnecessary when the
  29. packet is transmitted in "synchronous" format.
  30.  
  31.    The "frame" of an HDLC packet is represented below. Each field
  32. of the packet is encoded as a sequence of 1's and 0's (bits) to
  33. be transmitted as "mark" and "space" tones. With the exception of
  34. the DATA field, all these fields are generated by the TNC as it
  35. assembles the packet for transmission. The operator is concerned
  36. only with the contents of the DATA field.
  37.  
  38.  ------------------------------------------------------------
  39.  | Flag | Address | Control |       Data       | FCS | Flag |
  40.  ------------------------------------------------------------
  41.  
  42.    The FLAG is a unique bit sequence which identifies the begin-
  43. ning of a packet to the HDLC controller. This pattern corresponds
  44. to no sequence which would be encountered in any of the other
  45. fields, except possibly in the transmission of binary data. Even
  46. in this case, there are provisions for distinguishing data from
  47. the flag sequence.
  48.  
  49.    The ADDRESS field contains routing information for the packet.
  50. This information may include the destination station, the origin-
  51. ating station, and possibly intermediate routing information if
  52. the packet will be relayed to the destination. The destination
  53. and originating stations mights be identified by a network address
  54. number of by amateur call sign, depending on the exact form of the
  55. protocol being used.
  56.  
  57.    The CONTROL field describes the purpose of the packet to the
  58. network. It identifies packets with such functions as network
  59. check-in or check-out request, packet acknowledgements, or
  60. request for information from net control. It may also contain a 
  61. sequence number for a multi-packet message which must be received
  62. in the correct order.
  63.  
  64.    The DATA field contains the message being sent, which will 
  65. ordinarily be the text typed in by the user, converted into an
  66. ASCII data string. In the case of a packet identified in the 
  67. control field as performing a control function, the DATA field
  68. may be absent.
  69.  
  70.    The FCS allows the receiving station to verify that the packet
  71. has been received correctly. If the FCS calculated by the
  72. receiving TNC matches the FCS of the packet, an acknowledgement
  73. is sent; otherwise the packet is ignored.
  74.  
  75. WHAT IS A PACKET NETWORK?
  76.  
  77.    A local area packet radio network (LAN) consists of a net
  78. control station and a number of individual operators. The net 
  79. control station is sometimes referred to as the "station node"
  80. and the individual stations as "terminal nodes". The net may also
  81. contain a digital repeater or "digipeater", which may be the net
  82. control station or a separate repeater station. The repeater
  83. station may be a single-frequency simplex repeater which re-
  84. transmits any correctly received packets, or it can be "normal"
  85. split frequency repeater.
  86.  
  87.    As operators sign on to the net, they are recognized by the
  88. net control and given net address codes. An operator desiring to
  89. start a QSO with another net station will subsequently have his
  90. transmissions addressed to that station. Any operator may choose
  91. to have his TNC receive all transmissions, rather than just those
  92. addressed to his station. Of course, the TNC will only acknowledge
  93. those transmissions intended for that station. The operator whose 
  94. station is functioning as net control participates in exactly the
  95. same way as other operators. The net control functions are taked
  96. care of automatically by his TNC.
  97.  
  98.    As more packet radio LAN's become active, there will be the
  99. possibility of link stations with access to two distinct LAN's.
  100. These stations can be members of both nets and serve as communic-
  101. ations links thorugh which packets originating in one net can be
  102. funneled to an addressee in the other net.
  103.  
  104.    A more sophisticated possibility is that of a "gateway" 
  105. station, which will be a specialized station having access to some
  106. long-distance mode of communications. The gateway station will
  107. reformat packets with another layer of protocol containing inter-
  108. network linking information and transmit it to another gateway
  109. station in a distant LAN. Three possibilities are being explored
  110. for long-distance links.
  111.  
  112.    TERRACON will be a high-speed ground-based linking system
  113. utilizing UHF and/or microwave relays. It could potentially 
  114. handle most long-distance packet radio communications in the
  115. United States and Canada. It will probably be a few years before
  116. TERRACON is0implemented as a useful system, and somewhat longer 
  117. before the continent is linked.
  118.  
  119.    AMICON will be a satellite-based network utilizing one of the
  120. special-services channels on the AMSAT Phase III-B satellite.
  121. AMICON will allow intercontinental linking and contact with
  122. isolated areas not accessible to TERRACON. High data rate exper-
  123. iments are being planned for the 23cm uplink/70cm downlink (mode
  124. L) translator. There are also plans for a packet radio digital
  125. repeater aboard the AMSAT Phase III-C satellite.
  126.  
  127.    SKIPCON is AMRAD's projected HF network of LAN gateway
  128. stations. The nature of HF propagation will require slower data
  129. rates (75 to 600 baud) and error correction as well as error
  130. detection protocol. SKIPCON experiments have been conducted
  131. since the end of 1981.
  132.  
  133. HOW TO GET IN ON PACKET RADIO
  134.  
  135.    There are currently two TNC designs available. The first
  136. packet radio TNC was designed by the Vancouver Amateur Digital
  137. Communications Group (VADCG). The Vancouver TNC is available
  138. as a bare board, and requires a power supply, and external 
  139. modem, and parts. It comes with instructions and notes on the
  140. power supply. A modem kit is also available from VADCG. The TNC
  141. design is based on the Intel 8085 CPU and 8273 HDLC controller
  142. and includes 4K bytes of 2114 RAM and 4 K bytes of 2708 EPROM.
  143. The TNC requires an 8250 (serial ports) or an 8255 (parallel
  144. ports) for interface to the terminal, as well as an interface 
  145. to the radio.
  146.  
  147.    The Tucson Amateur Packet RaĆ io group (TAPR) is currently
  148. testing a second TNC design. This TNC has the modem, radio
  149. interface, serial and parallet terminal interfaces, and power
  150. supply circuitry (exclusive of the transformer) on a single
  151. board. It is based on the 6502 microprocessor (Editor's note:
  152. the board will now use the Motorola 6809E microprocessor),
  153. and can hold a total of 48K bytes of RAM and ROM on the board.
  154. the 1933 HDLC chip it uses is compatible with the 8273 chip
  155. used on the VADCG board, and the TAPR TNC will be capable of
  156. VADCG-compatible protocol.
  157.    Additional information on TAPR activites is available from
  158. Tucson Amateur Packet Radio, PO Box 22888, Tucson, AZ 85734.
  159.  
  160.  
  161.