home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 24 / CD_ASCQ_24_0995.iso / vrac / aprs72a.zip / README / DIGIS.TXT < prev    next >
Text File  |  1995-07-17  |  20KB  |  337 lines

  1. DIGIS.TXT 7.1c     AUTOMATIC PACKET REPORTING SYSTEM DIGIPEATERS
  2.  
  3.  
  4.     To satisfy the objective of a distributed network without dependence
  5. on specific nodes, APRS stations are designed to begin operating without
  6. any prior knowledge of the network.  This is done by having all APRS
  7. stations initialized to act as a digipeater with the alias of RELAY and
  8. to send all UI frames via the UNPROTO path of RELAY.  With this form of
  9. generic digipeating (RELAY), a mobile, or new station does not have to
  10. know anything about the network in advance in order to be seen by adjacent
  11. nodes.  After 10 minutes and his map begins to show the location of all
  12. stations and digipeaters on frequency, he can then customize his outgoing
  13. Unproto path to specific digipeaters to cover his intended area without as
  14. much QRM.
  15.  
  16. CAUTION:  Since the preferred APRS frequency of 145.79 is adjacent to the 
  17. SATELLITE band at 145.8, all APRS users should run minimum power.  High
  18. and WIDE digipeaters should operate at 10 watts or lower to minimimze
  19. QRM.  The purpose of WIDE digipeaters is to HEAR mobiles, NOT to be an
  20. aligator!
  21.  
  22.      It is important in any APRS network to avoid using the generic RELAY
  23. addressing, when possible, to minimize unnecessary QRM on frequency.
  24. The D-list command lets you see what digipeater paths other stations
  25. are using and it also marks stations that you can hear direct.  Also under 
  26. the OPS-DIGI command, users can save up to 12 different DIGIpeater paths.  
  27. Users can select any given path that is optimum for their present 
  28. application with a single key stroke.  The MAPS-PLOTS-POWER command will 
  29. display a range circle around all stations proportional to their power, 
  30. antenna height above average terain, and gain.  Users can use these plots 
  31. to estimate what paths, through what stations, might be useful.
  32.  
  33.      Although digipeating is not good practice for AX.25 level 2
  34. connections, it is ideal for APRS operation using UI frames only.  All
  35. along the east coast we have more than a dozen WIDE area DIGI's on the
  36. frequency of 145.79 acting as a backbone for mobile position reporting.  
  37. The low duty cycle of this mode, also permits Keyboard QSO's and other 
  38. UI frame applications.  Even Personal mail boxes are welcome on the 
  39. frequency, since mail is posted at keyboard rates and is read NOT by 
  40. radio by the mailbox owner without QRM.  Users are NOT welcome to READ 
  41. PBBS mail on the frequency.  Other CONNECTED mode operation of BBS's, 
  42. mail forwarding, file transfers, TCP-IP and DX clusters are discouraged.
  43.  
  44. GENERIC BACKBONE DIGIPEATING:  To make these WIDE area digipeaters respond 
  45. to not only mobiles and new stations, but to also have a unique identity
  46. as a backbone node, they have TWO digipeater aliases, RELAY and WIDE.  The 
  47. KPC-3, PK-12, TINY-2's running X1J software and other TNC's can be set up 
  48. to digipeat either of these generic RELAY/WIDE packets.  Set MYAlias to 
  49. WIDE and set one of the other TNC functional callsigns to RELAY (such as 
  50. MYnode, or MYhost, etc).  If your TNC does not have dual aliases, AND 
  51. yours is the only WIDE around, you can temporarily make its MYcall be 
  52. WIDE and its MYalias be RELAY, but be sure to put the FCC callsign in the 
  53. BText to keep it legal.  You can also have one other DIGI with the opposite
  54. MYcall RELAY and MYalias WIDE without confusion.  These WIDE/RELAY back- 
  55. bone Digi's are spaced several tens of miles apart so that they are not 
  56. too close, but that they can hit their adjacent other WIDE digi's.  All 
  57. mobiles then can set their UNPROTO path to APRS VIA RELAY,WIDE and it will 
  58. not matter whether they are near a DIGI or someone's home station to be 
  59. picked up by the network. 
  60.  
  61.     Even if these WIDE/RELAY backbone nodes are 30 to 50 miles apart, it 
  62. is easy to select an UNPROTO path prior to a road trip which will assure
  63. that your location packets will always get back to your home area. 
  64. The following example shows a string of digipeaters along the east coast. 
  65. The MYcalls of SOUTH and NORTH are used for clarity.
  66.  
  67. MYCALL:      NORTH-2    NORTH-1   HOME     SOUTH-1   SOUTH-2   SOUTH-3
  68. ALIAS:        WIDE       WIDE     RELAY     WIDE      WIDE      WIDE
  69.  
  70.     If the mobile is going south for the day, and will be operating in the
  71. vicinity of SOUTH-3 digipeater, the operator can preset his UNPROTO path
  72. to be via RELAY,WIDE,SOUTH-1.  Notice that his packets will get back home
  73. whether he is near SOUTH-1, 2, or 3!  Similarly, stations in the vicinity
  74. of SOUTH-3 will be alerted to his travel towards them not when he leaves
  75. home, but as soon as he gets in the vicinity of SOUTH-2.  Or he can set
  76. via RELAY,SOUTH-2,WIDE and he will be seen on the S-3 digi as soon as he
  77. leaves home, but NOT while he is passing through the S-2 area.  As you can 
  78. see, having the flexibility to alternate the generic alias's of RELAY or 
  79. WIDE with specific CALLS gives a good degree of flexibility without having 
  80. to change the UNPROTO path while on the road.  Using the three digipeater 
  81. string, he can wander up to 150 miles in his planned direction and still 
  82. be tracked by the XYL.  If he has no idea where he is going, he can always 
  83. use the path of RELAY,WIDE,WIDE and go anywhere, but with greater QRM on 
  84. the channel.  Yes, RELAY,WIDE,WIDE should NEVER be used by a home 
  85. station, but since a mobile can rarely, if ever, hit more than 1 digi the 
  86. first time, the number of repeats is not much worse than a typical home 
  87. station via WIDE,WIDE.
  88.  
  89. CAUTION: Fixed stations that can hit 2 or more WIDES should NEVER use three
  90. generic RELAY/WIDE callsigns in a row, and RELAY should NEVER be anywhere 
  91. except the FIRST in the list.   FIXED stations should always avoid any 
  92. GENERIC calls if possible after the first two.   Although generic paths
  93. for mobiles are the normal mode of operation, special consideration must
  94. be given whenever there will be a great convergence of gnenric mobiles
  95. using RELAY,WIDE paths.  Remember, every APRS station INCLUDING MOBILES
  96. will also have the ALIAS of RELAY, so when they all get within range of
  97. each other, there is quite a conflagration!  To minimize these problems
  98. here are the typical recommended settings for ALIASES and PATHS:
  99.  
  100.    TYPICAL MOBILE  (1-5 watts):  UN APRS V RELAY,WIDE     MYAlias = RELAY
  101.                    (25-50 w  ):  UN APRS V WIDE,WIDE      MYAlias = RELAY
  102.  
  103.    STAND ALONE TRACKERS:  MYAlias = NONE
  104.  
  105. All Mobiles converging to one location should hit CONTROLS-BANDS-HF which
  106. will change their MYAlias from RELAY to ECHO.  This will eliminate everyone
  107. from digipeating everyone else's VIA RELAY packets.  They should also
  108. choose a new UNPROTO path specific to that location, without beginnning
  109. with RELAY!  The alias of stand-alone trackers should be typicaly set
  110. to NONE since they cannot be quickly changed in the field.
  111.  
  112.  
  113. DEDICATED WIDE AREA APRS DIGIPEATER SET UP
  114.  
  115.    To set up a WIDE area APRS digi, simply connect a TNC to a radio, and put
  116. it as high as you can get it.  Set the following minimum commands:
  117.  
  118. cmd:   MY W3XYZ-x                 (the digipeater call and SSID)
  119.        MYA WIDE                   (this makes it digipeat WIDE packets)
  120.        MYN RELAY                  (This works on KPC-3s as a second alias
  121.        MYG RELAY                  (on PK-12)
  122.        UNPROTO APRS VIA WIDE,WIDE,DIGI3...     (so the whole net sees it)
  123.        B E 60                     (Sets Beacon to once every 10 minutes)
  124.  
  125.        BT !DDMM.mmN/DDDMM.mmW#Pwr5360/WIDE-RELAY...(identifying comments)
  126.             |         |      | | ||||  |___|_ makes station show up green
  127.             |         |      | | ||||________ Omni (Direction of max gain)
  128.             |         |      | | |||_________ Ant gain in dB
  129.             |         |      | | ||__________ Height = log2(HAAT/10)
  130.            LAT      LONG     | | |___________ Power = SQR(P)
  131.                              | |_____________ Power-Height-Gain PHG indicator
  132.                              |_______________ # is symbol for digipeater
  133.  
  134. As you can see by the integers in the Pwr string, there are only 9 plus 0
  135. possible values for each of these fields as follows:
  136.  
  137.   DIGITS   0  1  2   3   4   5   6    7    8    9  as used in the Pwr field
  138.   -------------------------------------------------------------------------
  139.   POWER    0, 1, 4,  9, 16, 25, 36,  49,  64,  81  watts  SQR(P)
  140.   HEIGHT  10,20,40, 80,160,320,640,1280,2560,5120  feet   LOG2(H/10)
  141.   GAIN     0, 1, 2,  3,  4,  5,  6,   7,   8,   9  dB
  142.   DIR      0,45,90,135,180,225,270, 315, 360,   .  deg    D/45  This offsets
  143.                                                    the range circle in the
  144.                                                    indicated direction
  145.                                        
  146. NOTE ABOUT POWER LEVELS:  There is little justification for making a WIDE
  147. area digi run any more power than 10 watts.  The function of the WIDE-RELAY 
  148. nodes are to HEAR MOBILES and to relay those posits to fixed stations.  The 
  149. mobile is usually at ground level and is using an omni directional whip.  
  150. If his path gets him into the digipeater, then he should be able to hear 
  151. it.  Home stations with higher antennas can easily hear the digipeater.  
  152. Both WIDE area digipeaters that I have installed use only about 5 watts.  
  153. Running high power just adds QRM beyond the effective range of the repeater.
  154. ALSO run low power to minimize QRM to SATELLITE users operating at 145.8 !!
  155.  
  156.  
  157. SETTING UP THE X1J NODES:  You may set up an X1J node to act as a generic
  158. WIDE area APRS digi, depending on whether the ALIAS callsigns are not 
  159. already in use.  The X1J permits 5 callsigns.  The first two are the NODE 
  160. callsign and the NODE alias.  These pertain to level-4 NODE operation and 
  161. can NEVER be made WIDE or you will LOCK-UP the network.  The next three 
  162. ALIASES are for a BBS, DXCLUSTER or HOST mode operation.  By enabling two 
  163. of these extra aliases to WIDE and RELAY, then the node will digipeat APRS 
  164. UI frames as long as the following commands are also performed:
  165.  
  166.    PARM / 23 1   Digipeat enable  (This info provided by WA4HEI 906 341-5718
  167.    MODE / 14 1   Extra alias monitoring enable
  168.    MODE / 17 3   Refuse digipeated L2 node uplinks & downlinks
  169.  
  170.  
  171. OPERATIONS WITH RELAY AND WIDE:
  172.  
  173.      Although the GENERIC WIDE/RELAY digipeating works well to get an APRS
  174. net going, once you have more than two WIDES, the generic calls should be
  175. avoided by all fixed stations to minimize unnecessary duplicates and
  176. collisions.  Using SPECIFIC callsigns significantly reduces QRM.
  177.  
  178.      While building a new network, APRS has a special SETUP-WIDE command 
  179. that permits some well situated stations to change their default RELAY
  180. alias to WIDE.  This command should be used with caution and with the 
  181. agreement of all stations on the net.  Too many WIDE's, too close together 
  182. causes too much QRM.  When you use the SETUP-WIDE command, the word WIDE 
  183. will be installed in your POSIT comment field.  This signals all stations
  184. to display your station symbol as GREEN (which indicates a WIDE alias).
  185. This color will be lost, however, if you have a weather station
  186. hooked up to COM2, since it re-writes the POSIT string every few minutes.
  187. Also, every time you switch from HF to VHF or the reverse, your ALIAS is
  188. re-written to RELAY or ECHO.
  189.  
  190. SEE README.HF for setting up your UNPROTO path for HF and HF/VHF gateways..
  191.  
  192.  
  193.  
  194. **********     WIDE-N ALL DIRECTION GENERIC DIGIPEATING!     ****************
  195.           THE ULTIMATE SOLUTION FOR MOBILE POSITION REPORTING
  196.  
  197.     This may be the simplest mechanism for making an order of magnitude
  198. improvement in APRS status and position reporting networks.  In a WIDE-N
  199. network, each WIDE digi simply repeats ANY packet with the VIA address of
  200. WIDE-N; but ONLY ONCE.  If it keeps a copy of the last 30 seconds of packets,
  201. (or at least a copy of the FCS) and compares each new packet that it hears
  202. with the LAST one that it digipeated, then it could decide NOT TO TRANSMIT
  203. it again!  This would completely eliminate the multiple round-robin
  204. multiplication of packets generated when a mobile station uses the present
  205. generic path of WIDE,WIDE,WIDE.  As it is now, such a 3 tier path launched in
  206. the middle of 3 WIDE digipeaters that all hear each other can generate as many
  207. as  3x3x3 or 27 duplicates in the area.  If each WIDE-N only digipeated the
  208. packet once, then there would only be 3 local copies generated, and the packet
  209. would still propagate outward 3 levels in all directions in the usual manner!
  210. Since this algorithm has uses on ALL amateur packet networks needing a
  211. FLOODing mechanism for special packets of interest to everyone, I am calling
  212. it the FLOOD-N algorithm.  For APRS, however, I will still refer to it as
  213. the WIDE-N algorithm.
  214.  
  215. NUMBER OF HOPS:  Using the via path of WIDE-N, each DIGI that repeats the
  216. packet decrements the WIDE-SSID by one.  This way, each packet carries along
  217. with it information on how many times it has bounced through the network.
  218. The user specifies how far it goes, by the initial setting of the SSID!
  219. If he sets it to WIDE-7, then the packet could be digipeated as many as
  220. seven times outward.  A local commuter might select WIDE-2 to cover his
  221. area while limiting DX QRM.
  222.  
  223.  
  224. NEW TNC COMMANDS REQUIRES:  To make this work, there are three new TNC
  225. commands needed:
  226.  
  227.      MYFlood:  This command, similar to MYAlias, sets up the callsign at the
  228.      digipeater to be used as the FLOOD-N callsign.  In APRS networks, we
  229.      will use WIDE.  THIS IS FOR UI FRAMES ONLY!  That plus the AGELimit
  230.      below, makes it un-useable for connected frames, and for abuse.
  231.  
  232.      HOPLimit:  This is a SYSOP parameter that can be used to limit the
  233.      maximum number of HOPS permitted in a network.  Already the maximum
  234.      number of hops is limited to 7, since the upper bit of the SSID is
  235.      reserved for future use.  However, on NON-APRS networks, some SYSOPS may
  236.      feel empowered to limit the maximum number of hops to some smaller number.
  237.  
  238.      AGELimit:  The WIDE-N digi has to keep a copy of all digipeated packets
  239.      for a brief period for comparison with new packets heard.  This is the
  240.      key to the WIDE-N algorithm.  Every digi that hears a UI packet will
  241.      digipeat it, BUT ONLY ONCE.  To do this, it compares each new packet with
  242.      all packets digipeated in the last X seconds.  This X age-limit needs to
  243.      be a variable depending on the speed of the network.  If the time is too
  244.      long, then the list is big, If it is too short, then there is the chance
  245.      that a packet may propogate in a circle and get repeated again.  My guess
  246.      is that 30 seconds is a good default value for 1200 baud channels.  Howie
  247.      Goldstein, N2WX has improved the effeciency of this idea, by only saving
  248.      and comparing the CHECKSUM of the packets, instead of the whole packet.
  249.  
  250.      If ALL APRS WIDE area digipeaters changed over to the WIDE-N code, we
  251. would HAVE THE ULTIMATE GENERIC MOBILE GPS NETWORK!  Metropolitan area
  252. commuters could set their digi paths to WIDE-2 and Mobiles on extended trips
  253. within a 200 mile radius of home could be tracked with a path of WIDE-5,
  254. without fear of clogging the network!  This WIDE-N algorithm is so powerful
  255. that it could even be added to ALL TNC's as a FLOOD-N mode.  It would only
  256. work on UI frames and would default to the generic callsign of FLOOD.
  257. That way, on ANY packet frequency, a UI frame launched into the air, could
  258. be seen by EVERYONE!
  259.  
  260.  
  261. ADDITIONAL GENERIC ALIAS FOR APRS DIGIPEATERS:
  262.  
  263.     In the meantime, until we get the WIDE-N algorithm in most TNC's, the
  264. WIDE-RELAY concept works nicely.  We should encourage the TNC manufacturers
  265. to include a SECOND ALIAS FOR UI FRAME DIGIPEATING only.  Lets call this
  266. the MYA2 command.  With this second UI ALIAS, we can set a digipeatr to have
  267. both the WIDE and RELAY aliases as noted above for some models.
  268.  
  269.  
  270. LEVEL FOUR and TheNET CONSIDERATIONS:
  271.  
  272.      Since NODES are so much smarter than digipeating, the ultimate solution
  273. is to have the NODES do all UI frame routing.  The APRS station simply sends
  274. his UI frame TO APRS VIA HOME;  Any NODE hearing that transmission that has
  275. knowledge of the route to HOME, will send the single packet via the NODE
  276. network (internode, level 4) to the HOME node!  When it arrives at the HOME
  277. node, it is transmitted once as a UI frame.  With this arrangement, a mobile
  278. only has to specify his one intended destination, no matter where he travels!
  279.  
  280.     The G8BPQ TheNET code for the DataEngine includes a DIGIon command that
  281. can restrict Digipeating to UI frames only.  This is very useful, in that it
  282. allows SYSOPS to leave DIGI ON without inviting LEVEL-3 connects to use it
  283. which is detrimental to normal level-4 operation.  The problem, however, is
  284. that the generic APRS RELAY and WIDE aliases cannot be used on a NODE, since
  285. the digipeat ALIAS is the same as the NODE alias, and you cannot operate more
  286. than one NODE with the same ALIAS on the same frequency or even in the same
  287. network!  We are asking NODES to consider adding a secondary ALIAS for UI
  288. frames only that is not tied to any of the node functions.
  289.  
  290.  
  291. DIGI/NODE COMPATIBILITY:  Since the user should not have to change his digi
  292. path as he drives from one area to another, he should be able to specify a
  293. path that is compatible with both nodes and digipeaters.  This is easily
  294. accomplished by assuming that the LAST field in an UNPROTO digi list is the
  295. HOME NODE and should be the ultimate destination for the UI frame through any
  296. level 4 network.  Any and all preceeding fields are assumed to be DIGI's only.
  297. With this arrangement, the user could use an UNPROTO path of APRS VIA WIDE,
  298. HOME so that any generic WIDE digipeaters would repeat his position to their
  299. local area as would any WIDE NODES in the usual digi fashion.  Only the
  300. node that hears the direct packet would also forward it through the network
  301. at level 4 to the HOME NODE.  If only one field is included in the digipeater
  302. string, it would be interpreted as both a digi and a HOME destination without
  303. any difficulty.  Digi's and NODEs would digipeat it, and nodes (hearing it
  304. direct) would forward it at level-4.  It is important that NODES hearing
  305. digipeated UI frames from other digis do NOT enter the packet into the network,
  306. to eliminate duplication.  Only the ones hearing the direct signal should
  307. be repsonsible for doing the level 4 routing..
  308.  
  309. EXAMPLE:  A typical mobile just wanting to keep his spouse informed of his
  310. whereabouts might want to just use the UNPROTO path of APRS VIA HOME.  Then
  311. his UI frames will be digipeated by the local HOME node or digi and will
  312. also be routed back to HOME by all NET-NODES along his travels.  If he also
  313. wants to be seen by most HAMS in the areas of his travels, then he sets
  314. his path to APRS VIA WIDE,HOME.  If he travels through a region that has
  315. both DIGIs and NODES, he might choose APRS VIA WIDE,WIDE,HOME.  This way any
  316. areas with digis would digipeat via WIDE,WIDE and if he gets to an area with
  317. nodes which are aware of the path to HOME, then they will forward his packet
  318. there.
  319.  
  320.      Finally, since most regional area Tracking networks are dedicated to
  321. APRS, the node should also permit the SYSOP to turn off other level 4 
  322. routing.  Without this feature, such a network could be swamped if all of 
  323. the BBS and other CONNECTED protocol users began to use it, and the original 
  324. purpose of the network would be defeated.
  325.  
  326.    Still, most of these APRS support ideas could be included in all NODES so
  327. that a minimum of APRS tracking could be supported by ALL networks on all
  328. frequencies, especially where there is not yet a dedicated APRS TRACKING
  329. NETWORK.  I think there are other undeveloped applications for shipping UI
  330. frames through ALL networks which have not yet been explored.  The capability
  331. should be there, in any case, so that experimentation can proceed.  Time will
  332. tell.  These few paragraphs were primarily written to the NODE CODE writers
  333. such as John G8BPQ and Mr. Roberts of X1-J.  But are included here in general
  334. distribution for all to read.
  335.  
  336.  
  337.