Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Hayes AT command set
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Example session === The following represents two computers, computer A and computer B, both with modems attached, and the user controlling the modems with [[terminal emulator]] software. Terminal-emulator software typically allows the user to send Hayes commands directly to the modem, and to see the responses. In this example, the user of computer A makes the modem dial the phone number of modem B at phone number (212) 555-0100 (long distance). After every command and response, there is a [[carriage return]] sent to complete the command. {| class="wikitable" ! Modem A !! Modem B !! Comment |- | '''ATDT12125550100''' || || User at modem A issues a dial command: AT-Get the modem's ATtention; D-Dial; T-Touch-Tone; 12125550100-Call this number |- | || ''RING'' || Modem A begins dialing. Modem B's phone-line rings, and the modem reports the fact. |- | || '''ATA''' || Computer at modem B issues answer command. |- | ''CONNECT'' || ''CONNECT'' || The modems connect, and both modems report "connect". (In practice, most modems report more information after the word CONNECT β specifying the speed of the connection.) Also, at this time, both modems will raise the DCD, or Data Carrier Detect signal, on the serial port. |- | '''abcdef''' || ''abcdef'' || When the modems are connected, any characters typed at either side will appear on the other side. The person at computer A starts typing. The characters pass through the modem and appear on computer B's screen. (User A may not see his own typed characters β depending on the terminal software's [[echo (computing)|local echo]] setting). |- | || '''+++''' || The person at computer B issues the modem escape command. (Alternately, and more commonly, the computer B could drop the DTR, or Data Terminal Ready signal, to achieve a hangup, without needing to use +++ or ATH.) |- | || ''OK'' || The modem acknowledges it. |- | || '''ATH''' || The person at computer B issues a hang up command. |- | ''NO CARRIER'' || ''OK'' || Both modems report that the connection has ended. Modem B responds "OK" as the expected result of the command; modem A says [[NO CARRIER]] to report that the remote side interrupted the connection. The modems on both sides drop their DCD signals as well. |}
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Hayes AT command set
(section)
Add topic