Reproduced At instruction detailed

Source: Internet
Author: User

Reprint Address: http://blog.chinaunix.net/uid-2630593-id-2138590.html

Common at Command manuals

1. Common operation
1.1 at
Command explanation: Check whether Module and serial port is connected, can receive at command;
Command Format:at<cr>
Command return: OK (communication with serial port is normal)
(no return, communication with serial port is not connected)
Test Result: at
Ok

1.2 AT+CSQ
Command explanation: Check network signal strength
Command Format:at+csq<cr>
Command return: +CSQ: **,##
where * * should be between 10 and 31, the larger the value indicates the better the signal quality, # #为误码
The value is between 0 and 99.
Otherwise you should check that the antenna or SIM card is properly installed
Test result:at+csq<cr>
+csq:20,5

1.3 At+cpin?
Command explanation: Check the password to log in to the mobile device (ME).
Command Format:at+cpin?<cr>
Command return: +cpin: status
Where the status value might be:
Ready (indicates that the SIM card is normal and does not require a login password),
Sim Pin (indicates me waiting for a pin that provides a SIM card)
Sim Puk (indicates that me is waiting to provide the PUK code for the SIM card)
Sim PIN2 (indicates me waiting for PIN2 code to provide SIM card)
Sim PUK2 (indicates me waiting for PUK2 code to provide SIM card)
Ph-sim PIN (indicates the device is locked SIM card, me waiting to provide password from phone to SIM card)
Ph-net PIN (indicates that the device is locked network, me waiting to provide a network personalization password)
ERROR (indicates that the SIM card failed or did not insert the SIM card)
Test result:at+cpin?<cr>
+cpin:ready
Indicates that the SIM card is normal and does not require a login password.

1.4 At+cops?
Command explanation: Query Operator selection status.
Command Format:at+cops?<cr>
Command return: +cops: <mode>,<format>,<operator>
The value of <mode> is 0 to 4, and the default value is 0
The value of <format> is 0 to 2, and the default value is 2
<Operator> value for carrier code, China Mobile Code is 46000, Unicom's code is 46001
Test results:at+cops?<cr> Tech-link t&e Limited Common A T Command Manual
-2-
+cops:0, 2, 46000

1.5 at+wopen=2
Command explanation: The query module supports open at the Library version and whether there is an open at application in the module.
Command format: at+ wopen=2<cr>
Command return: +wopen:2, "Open at Library version", "Open at application Version"
Open at library version represents the module support for the Open at Library edition, which is typically displayed
The value is "at v04.1x" or "at V04.2X"
Open at application version represents the module support for the Open at Library Edition, which is usually explicitly
The value shown is "at v04.1x" or "at V04.2X"
Note: the "Open at Library version" and "Open at application Version" two values must be a
Consistent (except for the last one), this can cause the Open at program to be unstable.
If there is no data in the return value "Open at application Version", only the
+wopen:2, "at v04.10" indicates that there is no Open at application program in the module.
Test result:at+wopen=2<cr>
+wopen:2, "at v04.10", "at v04.11"
Ok

1.6 at+wopen=0
Command explanation: Stop the Open at application program.
Command format: at+ wopen=0<cr>
Command return: OK or ERROR
Test result:at+wopen=0<cr>
Ok

1.7 at+wopen=4
Command explanation: Delete the Open at application program.
Command format: at+ wopen=4<cr>
Command return: OK or ERROR
Test result:at+wopen=4<cr>
Ok
Note: Before deleting an open at application program, you must first stop the open at program with At+wopen=0.

1.8 At+wopen=1
Command explanation: Open the Open at Application program.
Command format: at+ wopen=1<cr>
Command return: OK or ERROR
Test result:at+wopen=1<cr>
Ok

1.9 at+wipcfg=3
Command explanation: Query the WIP software version.
Command format: at+ wipcfg=3<cr>
Command return: <revision > or ERROR
Test result:at+wipcfg=3<cr>
WIP Soft v201 on Open at OS v411
OK Tech-link t&e Limited Common at command manual
-3-
Note: Before you use the at+wipcfg=3 command, you must make sure that the open at program is open (that is, at+wopen=1).
The software version of WIP Soft v201 on behalf of WIP is V201, and on Open at OS v411 represents the previous v201
The WIP software was developed on the v411-based Opean at development platform.
The WIP software is the TCP/IP protocol station

1.10 At+cscs?
Command explanation: Query the character set of the terminal adapter (TE).
Command format: at+ cscs?<cr>
Command returns:< character set encoding format >
The return value is usually one of the following.
"GSM"-----GSM default symbol set (refer to GSM 03.38 section 6.2.1).
"PCCP437"----PC Character Set code page 437.
"Custom"----user-defined.
Hex----Hexadecimal: (Value range: 00 to FF.) For example: 052fe6 means 3 8bit words
characters, converted to decimal, 5, 47, 230, are forbidden to convert to the Me original character set).
Test result:at+cscs?<cr>
+cscs: "PCCP437"
Ok

1.11 AT+CGSN
Command explanation: Query the IMEI number of the module.
Command format: at+ cgsn<cr>
Command returns:<imei>
Test result:at+cgsn<cr>
012345678901234
Ok
Note: If the display 012345678901234 indicates that the module does not write the IMEI number, there is an IMEI number
Should be displayed as 35xxxxxxxx (15 digits total).

1.12 ATI7
Command explanation: Query speech encoding features
Command Format:ati7<cr>
Command return: SPEECH CODINGS:FR,EFR,HR,AMR

1.13 A TZ
Command explanation: Restore default settings
Command Format:atz<cr>
Command return: OK

1.14 AT+CGMR (This command function is equivalent to ATI3)
Command Explanation: Query module version;
Command Format:at+cgmr<cr>
Command return: <revision >
+cmeerror <err>
Test result:at+cgmr<cr>
661_09gg. q2686h 1925236 100506 11:13
OK Tech-link t&e Limited Common at command manual
-4-
Explanation: The Firmware version number of the module is 661

1.15 AT+IPR
Command explanation: Modify the serial port 1 baud rate;
Command format: At+ipr=<value ><CR>
Command return: ERROR
Ok
Test result:at+ipr=115200<cr>
Ok
Note: The serial port baud rate is modified to 115200 to set the baud rate of the serial debugging tool to the corresponding wave
The module will return after a special rate.

1.16 At&w
Command Explanation: Save module settings;
Command Format:at&w<cr>
Command return: OK
ERROR (save not successful)
Test Result: At&w <CR>
Ok

1.17; &w
Command explanation: Continuous Save command
The command format:atxxx;&w<cr> (at XXX represents the command to be set, immediately following; &w indicates that the setting
Save this setting at the same time)
Command return: OK
For example, to set the baud rate of a module to 115200 and save it, you can do the following directly:
Test Result: At+ipr=115200;&w <CR>

1.18 At+cgmi
Command Explanation: Query module manufacturer's logo;
Command Format:at+cgmi<cr>
Command return: WAVECOM MODEM
Test Result: At+cgmi <CR>
WAVECOM MODEM

1.19 AT+CGMM
Command explanation: Gets the frequency bands supported by the module;
Command Format:at+cgmm<cr>
Command return: Multiband 900E 1800
900E
1800
1900
G850
Multiband G850 1900
Test Result: AT+CGMM <CR>
Multiband 900E 1800 (indicates that the module supports Multiband and the preferred band is 900E 1800)
Tech-link t&e Limited Common at command manual
-5-
1.20 A/
Command explanation: Repeat the last command;
Command Format:a/<cr>
Command return: The value returned by the last at command
This command repeats the previous command executed

1.21 AT+CPOF
Command explanation: Shutdown; This special command stops the GSM software stack and the hardware layer
Command Format:at+cpof<cr>
Command return: OK
Test Result: At+cpof <CR>
Ok
Note: at+cpof<cr> is used to stop the GSM software stack, which functions the same as at+cfun=0.
Execute at+cfun=1<cr> to re-run the GSM software stack.
A t+cpof=1<cr> is used to stop the GSM hardware layer, after running this command at will lose the response, must
The module can be re-worked by a hardware reset module.

1.22 At+cmee
Command explanation: Error reporting of the module;
Command formats:at+cmee=0<cr> and at+cmee=1<cr>
Command return: OK
At+cmee=0<cr> indicates an error report to close the module, and when the module's at execution error, the return value
is only "ERROR"
At+cmee=1<cr> indicates an error report to open the module, and when the module's at execution error, the return value
For "+cme error:xxx" [XXX represents the error code, the error type can be queried according to this code]

1.23 AT+CCLK
Command explanation: Clock management;
Command format:at+cclk?<cr> used to query the current time of the module
Command return: +CCLK: "Yy/mm/dd,hh:mm:ss"
Another: at+cclk= "08/03/17,10:34:23" <CR> for setting the module's clock, after executing this command, the modulo
The clock of the block will be set to March 17, 08 10:34 23 seconds

1.24 At+creg
Command explanation: Network registration and Status inquiry;
Command Format:at+creg=mode<cr>
Command return: OK
What if I enter At+creg? <CR> return +creg: <mode>, <stat> [,<lac>,<ci>]
Note: The value of <mode> has three options, 0 or 1 or 2, where 0 is the result of closing the network registration
Code, 1 indicates that the network registration result code is activated when the network registration status changes, and 2 indicates the activation network
The registration result code displays both regional and community information.
There are three return values for <stat>, 0, 1, and 2,3,4,5, 0 of which are not registered networks at the same time
The module did not find the carrier, 1 generations registered to the local network, 2 for the operator but did not
There are registered networks, 3 for registration is denied, 4 for unknown data, 5 for registration on roaming
State.
<lac> indicates the network area code, hexadecimal format, such as: "279C"
<ci> indicates the cell ID of the owning network, the hexadecimal format is displayed, such as: "0eb2" Tech-link t&e Limited Common at Command manuals
-6-
Note: If the value of <mode> is set to 0 or 1, the return value of <lac>,<ci> is not displayed.
Test Result: A t+creg=0 <CR>
Ok
At+creg? <CR>
+creg:0,1

At+creg=1 <CR>
Ok
At+creg? <CR>
+creg:1,1

at+creg=2 <CR>
Ok
At+creg? <CR>
+creg:2,1, "279C", "0EB2"


2. Call operation
2.1 ATD
Command explanation: Make a phone call
Command Format:atd**********;<cr> (* * * = phone number)
Command return: No return (return OK when connected)
No DIAL TONE (no dial tone)
No CARRIER (no carrier)
No ANSWER (no response from the other party)
Note: The dialed voice number needs to be added after the phone number, no need to dial the data number;

2.2 Atdl
Command explanation: Redial last phone number
Command Format:atdl<cr>
Command return: ******* (******* is the phone number of the last call)
Other return values similar to ATD return values

2.3 RING
Command explanation: There is a phone call in
Command format: The serial port automatically sends out the RING string when there is a call.
Command return: None

2.4 ATA
Command explanation: Off-hook
Command Format:ata<cr>
Command return: OK
Test Result: RING
RING
Ata<cr> (input when the serial port receives the RING)
Ok
Answer the phone. Tech-link t&e Limited Common at command manual
-7-

2.5 ATH
Command explanation: Hanging machine
Command Format:ath<cr>
Command return: OK
Test result:ath<cr>
Ok
The phone hangs up (during the call)

2.6 A T+vts
Command explanation: Dialing an extension
Command format: at+vts= "extension number" <CR>
Command return: OK
Test Result: atd26743050;<cr>
Ok
at+vts= "7" <CR>
Ok
At+vts= "8" <CR>
Ok
at+vts= "9" <CR>
Ok
at+vts= "2" <CR>
Ok
The above operation is through the 26743050 switchboard dial to 7892 of the extension.

2.7 ATS0
Command explanation: Auto answer
Command Format:ats0<cr>
Command return: OK
Test result:ats0?<cr>
000
Ok
ats0=003 (auto answer after ringing three beeps)
Ok

2.8 AT+VGR
Command explanation: Speaker Receive volume control
Command format:at+vgr=xxx<cr> (xxx value between 0~255, each 16 numeric gain change 2db)
Command return: +vgr:xxx
Ok

2.9 AT+VGT
Command explanation: Mic Output Volume Control
Command format:at+vgt=xxx<cr> (xxx value between 0~255, each 32 numeric gain change 3db)
Command return: +vgt:xxx
Ok
Tech-link t&e Limited Common at command manual
-8-
2.10 At+cmut
Command explanation: Microphone Mute Control
Command Format:at+cmut=x<cr>
Command return: OK
Note: The value of the above x contains 0 and 1, 0 for the mute function, and 1 for the mute function.

Reproduced At instruction detailed

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.