Modem Negotiation

Recall that voiceband data modems convert bit sequences into voice-like sounds for transmission over the telephone network. But they actually do much more than this. Consider the following familiar sounds:

If you had a java-enabled browser, you would see an applet here.

These are the sounds of a modem dialing a telephone line, another modem answering, and the two modems negotiating to determine at what speed to communicate. Generally the modems will try to communicate at the highest speed that is supported by both modems. A (simplified) state machine describing the behavior of the modem that initiates the call is given below: