Time Independent Escape Sequence
From Wikipedia, the free encyclopedia
The Time Independent Escape Sequence, or TIES, was short-lived modem standard invented to avoid a patent held by Hayes Microcomputer Products. TIES was an escape sequence that switched the modem from "data mode" to "command mode", allowing instructions to be sent to the modem to control it.
[edit] Background
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 ignore the sequence, considering it spurious. 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. It was the inclusion of the pauses, the "guard time", that allowed Hayes to receive 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".
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 send 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.
[edit] TIES
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. 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 a file describing the system.
TIES selected the string +++AT[some valid command]<cr> as it 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 placing statements like "do you need a new modem? +++ATH" in their "sig". This would cause a TIES modem to hang up. If this is true, examples cannot easily be found in Google's UseNet cache. Hayes apparently did include the string "+++ATH0" in their press releases, however[1].
Note: The Hayes patent #4,549,302 granted in October 1985 should have expired in 2002.