home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / amiga / datacomm / 8331 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  5.3 KB

  1. Path: sparky!uunet!uunet.ca!yuggoth!rbharding
  2. From: rbharding@yuggoth.org (Ron Harding)
  3. Newsgroups: comp.sys.amiga.datacomm
  4. Subject: Re: Modem Terminology is Confusing
  5. Distribution: world
  6. Message-ID: <rbharding.038j@yuggoth.org>
  7. X-NewsSoftware: GRn 1.16e (7/4/92) by Mike Schwartz & Michael B. Smith
  8. Date: 22 Dec 92 20:52:40 EST
  9. Organization: The Leningrad Carrot Conspiracy
  10. Lines: 101
  11.  
  12. In article <Bzo8y3.M4H@news.cso.uiuc.edu> ja51359@uxa.cso.uiuc.edu (axelrod) writes:
  13. > Could someone please explain in a followup message what the various protocols
  14. > mean?  i.e. what is v.42/v.32, what do the various MNP levels mean?  Is a
  15. > 14.4K bps modem really 14.4K on purely random data?  What are the capabilities
  16. > of each protocol when sending data both directions at the same time?
  17. > Thanks,
  18. > Jeff
  19.  
  20. Snicker.  Very confusing indeed.  Somebody has fucked up royally with the
  21. names.  Anyway, here's the info:
  22.  
  23.  
  24. V.32    : method for transmitting raw data at 9600 bps full-duplex (both
  25.           directions at once.)
  26.  
  27. V.32bis : method for transmitting raw data at 14400 bps full-duplex.
  28.  
  29. HST 9600    : method for transmitting raw data at 9600 bps in one direction,
  30.               and 2400 bps in the other direction.  A short delay is required
  31.               to the turn the line around.  This is usually not a problem
  32.               in most terminal sessions or while downloading, since data flow
  33.               is quite lopsided in either case.  Unfortunately, it's
  34.               proprietary to US Robotics, and only found in their modems.
  35.               It's quite common now, but with the increasing popularity of
  36.               V.32xxx modems, I think HST's days are numbered.
  37.  
  38. HST 16800   : I don't know anything about this.  Only heard of it a couple
  39.               days ago.  Probably still proprietary.
  40.  
  41. V.42    : error-control protocol.  Should simulate an error-free connection.
  42.           Also known as LAPM (Link Access Procedure for Modems).
  43.  
  44. V.42bis : data compression protocol.  Achieves up to 4x compression, giving
  45.           a max throughput of 57600 bps using V.32bis.  Also known as BTLZ 
  46.           (British Telecom Lempel Ziv).
  47.  
  48. MNP2-4  : Various error-control protocols.  I don't know the differences
  49.           between them.  "Microcom Network Protocol"
  50.  
  51. MNP5    : data compression protocol.  Achieves up to 2x compression.
  52.           Unfortunately it hurts your throughput if you try to send
  53.           uncompressible data through it.
  54.  
  55. In addition to that list, there are also fax protocols, about which I know
  56. very little.
  57.  
  58. A V.32 modem can achieve 9600 bps even on random or compressed data.  A 2400
  59. bps modem using V.42bis, even though you may set your terminal program to
  60. 9600 bps, can only achieve 9600 bps with very compressible data.  Like a
  61. file of all zeroes.
  62.  
  63. In many cases, you don't need to put all your eggs in one protocol basket.
  64. Hayes Optima 144 supports everything up there except the HST standards, and
  65. optionally FAX protocols..  The US Robotics HST Dual Standard supports at 
  66. least HST and the V.32 suite, and probably others but I don't know for
  67. certain.
  68.  
  69. Since we're on the subject, I'll also talk a bit about modem escape sequences.
  70. Escape sequences are sent to the modem to change it from data-transmission
  71. mode to command mode, usually to issue an "ATH" (hang up) sequence.
  72.  
  73. Hayes Improved Escape Sequence with Guard Time (what a mouthful):
  74.     Consists of short delay, followed by three special characters, usually
  75.     '+', followed by another short delay.  Patented (and vigorously enforced)
  76.     by Hayes.
  77.  
  78.  
  79. TIES    : "Time-independant Escape Sequence"  Used by Hayes-pseudo-compatible
  80.           modems.  The sequence consists of the five characters: "+++AT", 
  81.           that is, the Hayes sequence, but without the guard times, followed
  82.           by the "AT" characters that must preceed any Hayes-compatible
  83.           command sequence.
  84.  
  85.  
  86. The debate about escape sequences centers on the fact that there is no 
  87. guarantee that the TIES sequence won't occur accidentally in the middle of
  88. sending some binary file.  Anything can happen in the random-looking
  89. garbage produced by a compression program.  When a random "+++AT" shows up
  90. in the data stream, the modem will pop into command mode, and try to interpret
  91. the rest of the data as modem-commands.
  92.  
  93. The probability of this happening is usually very small.  But consider this:
  94. were I using a TIES modem, I wouldn't be able to send out this posting.  It
  95. contains two TIES escape sequences.  I'm using a Hayes Optima 144, so even
  96. though this file contains the "+++" sequence (there I go again), it won't
  97. have the required delays before and after the '+'s (unless, of course, by
  98. some odd circumstance, my UUCP transfer gets preempted by a higher priority
  99. task before and after sending the "+++".  Even the Hayes sequence isn't
  100. perfect.)
  101.  
  102. In the spirit of complete honesty, let me confess here that I'm a Hayes
  103. employee, albeit in LAN software, not modems.  I've written this on my own
  104. time, on my own system, in my own bedroom while drinking my own homebrew, so
  105. nothing I've said is on behalf of Hayes.  Any errors are likely the fault of
  106. the homebrew.
  107.  
  108. +---------------------------------------------+--------------------------------+
  109. | Nuke'Em: Get them before they get you!      | Ron Harding                    |
  110. | Another quality home game from Butler Bros. | uunet.ca!yuggoth!rbharding     |
  111. +---------------------------------------------+--------------------------------+
  112.