Common AT commands

Source: Internet
Author: User

Atz soft reset modem.

At & K0 disable traffic control.

At & K3 uses the RTS/CTS stream control.

At & W0 saves the current settings to the factory settings configuration file 0 written to the permanent storage of the modem.

At & y0: When the modem is powered on, it automatically calls factory settings 0. This ensures that the preset parameters are restored each time the modem is powered on.

Atdn dialing, where N is the phone number. It must be the last command in the command line. After the ATD command disconnects the modem, it dials according to the input parameters to establish a connection. ++ Exit character. Switch the modem from the online status to the command status without interrupting the data connection.

ATA response. It must be the last command in the command line. The modem continues to execute the Connection Program in the response mode.

After switching the carrier with the remote modem, it enters the connection status. If no carrier is detected, the modem will be suspended. During the connection, any letter entered through DTE will interrupt this command.

ATH0 enable the modem to host ate0 and disable the command character echo ate1 open the command character echo at & F the factory settings of the modem ats0 = N set the modem to automatic response, when the modem detects the vibration tone on the line, it starts counting. When there are n consecutive sound tones, the modem automatically picks up the machine and responds to the call. Note: after each at command is entered (except ++), + CHR (13) is input, that is, the "enter" key is used to send the command. If it is sent in hex format, press enter and line feed code at the beginning and end of the command. For example: ATE0----0D 0a 41 45 30 0d 0a common responses are: OK response is correct. Error code. Ring. Busy is busy. No answer has no response. Connect 9600 dialing successful. No carrier is mounted to the other party. No dialtone dialing has no response. Dial phone: When "ATD" + phone number + CHR (13) is sent, modem starts to dial up. It takes some time to dial up, during the dialing process, you can constantly read the status of the modem's CD indicator. When the phone is switched over, the CD indicator will light up. And return the "Connect + baud rate" information. If the modem of the other party cannot be detached, "No dialtone" is returned, and the CD indicator is off. If the recipient's phone number is busy, "busy" is returned ". The CD indicator is off. When data is sent through the modem, the modem can automatically transmit the data in the serial sending buffer through the telephone line to the modem of the other party, and the modem of the other party transmits the information to a device, modem also sends the information returned by the device to the buffer zone of a computer. The whole process is completed automatically, so you don't have to worry about whether your information can be sent out. When a phone call is called, the modem no longer receives the AT command. To make it return to the command status, it must send the "++" message to bring the modem back to the command status, then, send "ath" + CHR (13) to stop the call. Example: (take the serial port debugging assistant as an example) I have a built-in modem in the serial port com3. Use a serial port tool to open this serial port and input atd87650467. Note: Press enter to press Enter. Do not press more. Then, click "manually send" and you will hear the sound of modem burst. (Of course, you must connect to the telephone line.) then, you can control the modem to dial the number 87650467. For example, if you connect a modem on the terminal 87650454, open the serial port in the same way and enter ATA and click "manually send ". Hey, so that everyone will be connected. Then you can enter any character and click the send button to chat. Interesting. Let's see what new things you can use to entertain yourself. For example, in online games, it's good to have a game player.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.