Time Independent Escape Sequence

From Wikipedia, the free encyclopedia
Jump to: navigation, search

The Time Independent Escape Sequence, or TIES, is a modem protocol standard invented to avoid a patent held by Hayes Microcomputer Products. TIES is an escape sequence that switches the modem from "data mode" to "command mode", allowing instructions to be sent to the modem to control it while still connected to the remote modem.

Hayes 302[edit]

When inventing the first Smartmodem, Dale Heatherington was faced with the problem of distinguishing commands from data given that there were only two serial pins available for use in the RS-232C port. He eventually settled on having two modes of operation, switching between them with an escape sequence, +++. Of course, files being sent over the modem could contain the string +++. For instance, this page includes the sequence several times. If the modem simply looked for the string to arrive in the data, it would switch to command mode at inappropriate times. There needed to be some way to distinguish a deliberate command from random data.

Heatherington's solution to this problem was to introduce a delay on either side of the escape sequence, meaning that only a <pause> +++ <pause> would trigger the switch. A file containing the string being sent would not contain the pauses, so the modem would treat it as data to be sent, and stay in data mode. A user typing in the string deliberately would naturally pause after sending it to wait for the modem's response, inserting the pause without even being aware of it.

Hayes had initially filed for a patent on the electronic design of the Smartmodem in June 1981. In September 1983 they purchased a patent from Dr. Eaton of Bizcomp for $2 million, which included both a circuit design as well as a description of an escape sequence to trigger it. Hayes then updated the patent and re-filed it, this time including a lengthy abstract that focused entirely on the guard time and escape sequence, something that was mentioned only in passing in the original version.[1] They received patent #4,549,302 in October 1985, Modem With Improved Escape Sequence With Guard Time Mechanism, commonly known as the "Hayes '302 patent" or the "Heatherington patent". It was this version that contained the description of the guard time.

A year after receiving the patent, Hayes decided to charge a $1 per modem license fee to use it. This included any modem already manufactured, and Hayes sent bills for millions of dollars to a number of major manufacturers. Lawsuits immediately started flying. Within a month of the license being made public U.S. Robotics and Prometheus Products started a lawsuit against Hayes in an attempt to break the patent, followed immediately by Hayes suing both for infringement. Microcom, Multi-Tech, and Ven-Tel then sued Hayes, and Hayes in turn sued Everex and Omnitel for patent infringement. Microcom and U.S. Robotics settled out of court and agreed to license the patent, but Everex, Ven-Tel, and Omnitel stuck it out in court where the Hayes patent was upheld.[1]

TIES[edit]

For makers of low-cost modems, the $1 license fee represented a significant cost. A number of such manufacturers banded together to come up with a new system that avoided the patent, introducing TIES in 1991. TIES was written and freely given to the market in 1992 by Floyd Kling, then Engineering Manager of Ven-Tel Inc. Since the patent was based on the guard time concept, the new system had to be based solely on the string itself. Unfortunately, practically any string selected would eventually appear in a file, most obviously in a file describing the system.

TIES selected the string +++AT[some valid command]<cr> as its escape sequence, the shortest valid command being simply AT<cr>. This relied on any file describing such a system to be unlikely to place the command on a line followed immediately by a carriage return. Nevertheless this was going to occur at some point, and more annoying, could happen at random in a binary file, like a .zip. This would occur, on average, about once per gigabyte, which was at that time an extremely large size – most hard drives of the era were about 40MB. Hayes estimated that a user transmitting files for one hour a day would encounter about six files per year that randomly contained this sequence and drop the modem into command mode. For the average user, this would be extremely mysterious.

Hayes had also licensed the '302 patent to two chipset manufacturers, Rockwell and Silicon Integrated Systems (SiS). In 1991 Rockwell introduced a new low-cost chipset supporting the new v.32bis 14,400 bit/s standard, one of the first to do so. It was an immediate bestseller, and other chipset companies immediately scrambled to catch up, all of them licensing '302 as well. Some even offered versions with both TIES and Hayes escape sequences, which could be determined via AT commands that returned the internal configuration of the modem, typically ATI4.

TIES was seen mostly in "off-brand" 1200 and 2400 bit/s modems, which were never a large market compared to the high-speed models that followed, it quickly disappeared in the early 1990s when almost all manufacturers switched to Rockwell chipsets, or one of its many clones. The one major exception was Telebit, who used TIES in all of their models released after 1991, namely the T1600, T2500 and WorldBlazer. It is particularly interesting that Telebit would not licence the '302 patent, considering that they sold into an upscale market and generally cost over $1000.

Apparently for some time a number of Hayes employees would post to the UseNet with strings like "+++ATH" in the text.[2] This would cause a TIES modem to hang up.[3] It was also used on IRC to disconnect people using dial up Internet access by sending ICMP ECHO REQUEST containing the string +++ATH0 and thus the modem hanging up when the victims' computer sent back the ICMP payload in the reply.

The Hayes patent #4,549,302 expired on October 11, 2003. TIES however is still used today in many modems especially ones by Conexant.[citation needed]

References[edit]

  1. ^ a b Michael Slater, "The Editor's View: Hayes abuses patent to suppress competition", Microprocessor Report, 20 March 1991
  2. ^ "HAYES ANNOUNCES MILLENNIUM 8000 NETWORK SYSTEM", see text at the top of the message
  3. ^ "1+2=3, +++ATH0=Old school DoS", Bugtraq post