161
Neoway_N10_AT_Set N10 AT Commands Manual Version 1.5

N10 AT Commands Manual - wless.ruwless.ru/files/GSM/Neoway/N10/Neoway_N10_AT_Command... · 2020. 9. 28. · Added GPRS commands, TCU/UDP commands, FTP commands, HTTP commands, HTTPS

  • Upload
    others

  • View
    91

  • Download
    0

Embed Size (px)

Citation preview

  • Neoway_N10_AT_Set

    N10 AT Commands Manual

    Version 1.5

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd i

    Copyright© 2017 Neoway Technology Co.,Ltd

    No part of this document may be reproduced or transmitted in any form or by any means without prior

    written consent of Shenzhen Neoway Technology Co., Ltd.

    is the trademark of Shenzhen Neoway Technology Co., Ltd.

    All other trademarks and trade names mentioned in this document are the property of their respective holders.

    Notice

    This document provides guide for users to use the N10

    This document is intended for system engineers (SEs), development engineers, and test engineers.

    The information in this document is subject to change without notice due to product version update or other

    reasons.

    Every effort has been made in preparation of this document to ensure accuracy of the contents, but all

    statements, information, and recommendations in this document do not constitute a warranty of any kind,

    express or implied.

    Shenzhen Neoway provides customers complete technical support. If you have any question, please contact

    your account manager or email to the following email addresses:

    [email protected]

    [email protected]

    Website:http://www.neoway.com

    mailto:[email protected]

  • Copyright © Neoway Technology Co.,Ltd ii

    Revision Record

    Issue Changes Date

    V1.0 Initial draft 2016-11

    V1.1 Modified the format of some commands

    Added GPRS commands, TCU/UDP commands, FTP commands,

    HTTP commands, HTTPS commands, and some extended

    commands.

    2017-05

    V1.2 Modified the return code format of the following commands:

    AT+TCPSETUP,AT+TCPSEND,AT+UDPSETUP,AT+UDPSEN

    D, and AT+CGSN

    Added paramters for HTTPACTIONand HTTPSACTION

    Added AT+TCPTRANS, AT+UDPTRANS,AT+TRANSCLOSE,

    AT+AMRPLAY, AT+FSWF, AT+FSRF, AT+FSDF, AT+FSFS,

    AT+FSLS, and AT+FSFAT.

    2017-06

    V1.3 Modified the format of AT+DNSand AT+PING

    Modified the default value of AT+CPMS?

    Modified the return code of

    ATI,AT+XBANDSEL=?,AT+CLVL=?,AT+MICL=?,AT+SSTP=

    ?,AT+FTPGET,AT+HTTPSACTION.

    2017-07

    V1.4 Added AT+SINGNAL, AT+TCPREAD, AT+UDPREAD,

    AT+FTPSIZE, and FTPMKDIR commands

    Added TCP server commands, Unlimited UDP server commands,

    SSL certificate commands, SSL TCP commands, FTPS

    commands, FTPS commands, SMTP commands, and POP3

    commands.

    2017-09

    V1.5

    Modified the prameter type of AT+FTPSLOGIN and

    AT+FTPLOGIN.

    Added AT+HTTPSCFG

    Added segement download function to HTTP/HTTPS

    Zhangxiaofeng

  • Copyright © Neoway Technology Co.,Ltd iii

    Contents

    Boot LOG Instruction .................................................................................................................. 1

    1 General Commands .................................................................................................................. 2

    1.1 Querying the Manufacturer: ATI .................................................................................................................. 2

    1.2 Querying the Version: +GMR ...................................................................................................................... 2

    1.3 Querying the Manufacturer: +CGMI ........................................................................................................... 2

    1.4 Querying the Module Model: +CGMM ....................................................................................................... 3

    1.5 Querying the Version: +CGMR ................................................................................................................... 3

    1.6 Querying IMEI: +CGSN .............................................................................................................................. 4

    1.7 Querying the IMSI: +CIMI .......................................................................................................................... 4

    1.8 Obtaining the ICCID of the SIM Card: +CCID ........................................................................................... 5

    1.9 Setting the Signal Indicator Status: +SIGNAL ............................................................................................ 5

    2 Mobile Device Control and Status Report ........................................................................... 7

    2.1 Querying the Module Status: +CPAS ........................................................................................................... 7

    2.2 Querying the Network Registration Status: +CREG .................................................................................... 7

    2.3 GPRS Network Registration: +CGREG ...................................................................................................... 9

    2.4 SettingModule Function: +CFUN .............................................................................................................. 10

    2.5 Enabling or Disabling the Sleep Mode: +ENPWRSAVE .......................................................................... 11

    2.6 Clock: +CCLK ........................................................................................................................................... 12

    2.7 Setting the Baud rate of the Module: +IPR ................................................................................................ 12

    2.8 Entering the PIN Codes: +CPIN ................................................................................................................ 13

    2.9 Enabling PIN and Querying MT and Network Device: +CLCK ............................................................... 14

    2.10 Modifying the Password of the PIN: +CPWD ......................................................................................... 15

    2.11 Enabling & Disabling the Terminal Display: ATE1/ATE0 ....................................................................... 17

    2.12 Setting the Code Result Suppression Mode: ATQ.................................................................................... 17

    2.13 Setting the Response Format of the Device: ATV .................................................................................... 18

    2.14 Resetting to the Default Setting: ATZ ...................................................................................................... 18

    2.15 Saving Parameter Settings: AT&W .......................................................................................................... 19

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd iv

    2.16 Resetting the Module to Factory Settings: AT&F .................................................................................... 19

    2.17 Activating Multiplexing Mode: +CMUX ................................................................................................. 20

    3 Network Service Commands ................................................................................................ 22

    3.1 Querying Signal Quality: +CSQ ................................................................................................................ 22

    3.2 Selecting and Registering a GSM Network: +COPS ................................................................................. 23

    3.3 Setting Band: +XBANDSEL ..................................................................................................................... 24

    3.4 Locking BCCH Channel: $MYBCCH ....................................................................................................... 25

    4 Calling Control Commands .................................................................................................. 28

    4.1 Setting the Voice Volume: +CLVL ............................................................................................................. 28

    4.2 Mute Control: +CMUT .............................................................................................................................. 28

    4.3 Dialing Command: ATD ............................................................................................................................ 29

    4.4 Call Answering: ATA ................................................................................................................................. 30

    4.5 Hanging Up Calls: ATH ............................................................................................................................. 31

    4.6 Caller ID: CLIP .......................................................................................................................................... 31

    4.7 Sending DTMF Tone: +VTS ...................................................................................................................... 32

    4.8 Set DTMF Duration Time:+VTD .............................................................................................................. 33

    4.9 Auto-Answer:ATS0 .................................................................................................................................... 33

    4.10 Starting the DTMF Detection: +DTMFDETECT .................................................................................... 34

    4.11 Setting Echo Suppression Level in the Earphone Mode: +ESL ............................................................... 35

    4.12 Setting Echo Suppression Level in the Receiver Mode: +HESL ............................................................. 35

    4.13 Setting Echo Suppression Level of the Speaker Mode: +LESL ............................................................... 36

    4.14 MIC Volume Control: +MICL ................................................................................................................. 36

    4.15 Switching the Audio Input Channel: +AUDIN ........................................................................................ 37

    4.16 Switching the Audio Output Channel: +AUDOUT ................................................................................. 37

    4.17 Setting the Sidetone Level of Voice Channel: +SSTL ............................................................................. 38

    4.18 Querying Current Calls: +CLCC ............................................................................................................. 39

    5 SMS Commands ...................................................................................................................... 41

    5.1 Selecting SMS Services: CSMS ................................................................................................................ 41

    5.2 Setting Preferred SMS Storage: +CPMS ................................................................................................... 41

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd v

    5.3 Setting SMS Inputting Mode: +CMGF ...................................................................................................... 42

    5.4 Setting the TE Character Set: +CSCS ........................................................................................................ 43

    5.5 Setting the SMS Indication Mode: +CNMI ............................................................................................... 44

    5.6 Reading SMS Messages: +CMGR ............................................................................................................. 45

    5.7 SMS Message List: +CMGL ...................................................................................................................... 47

    5.8 Sending SMS Messages:+CMGS .............................................................................................................. 49

    5.9 Writing SMS Messages:+CMGW .............................................................................................................. 50

    5.10 Sending Stored SMS Messages:+CMSS .................................................................................................. 51

    5.11 Delete SMS messages: +CMGD .............................................................................................................. 52

    5.12 Selecting the Address Type of the Number:+CSTA ................................................................................. 52

    5.13 Setting the SMS Center Number: +CSCA ............................................................................................... 53

    5.14 Setting the Parameters of the Text Mode: +CSMP .................................................................................. 53

    5.15 Displaying the Parameters of the Text Mode: +CSDH ............................................................................ 54

    5.16 Selecting the Type of Cell Broadcast Messages: +CSCB ........................................................................ 55

    5.17 Save Settings:+CSAS ............................................................................................................................... 56

    6 Phonebook Commands .......................................................................................................... 57

    6.1 Selecting Phonebook Storage:+CPBS ........................................................................................................ 57

    6.2 Reading the Phonebook: +CPBR ............................................................................................................... 58

    6.3 Querying the Phonebook: +CPBF .............................................................................................................. 59

    6.4 Writing Information to the Phonebook: +CPBW ....................................................................................... 59

    6.5 Reading My Number:+CNUM .................................................................................................................. 60

    7 GPRS Commands .................................................................................................................... 61

    7.1 Setting PDP Format: CGDCONT .............................................................................................................. 61

    7.2 Sending USSD Data: +CUSD .................................................................................................................... 62

    7.3 Switching Data Mode to Command Mode: +++ ........................................................................................ 63

    7.4 Switching Command Mode to Data Mode: ATO ....................................................................................... 63

    7.5 Setting Network APN: +NETAPN ............................................................................................................. 64

    7.6 Setting Up a PPP Link: +XIIC ................................................................................................................... 64

    7.7 Setting GPRS Attach and Detach: +CGATT .............................................................................................. 65

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd vi

    8 TCP Data Service ..................................................................................................................... 67

    8.1 Setting Up TCP Link: +TCPSETUP .......................................................................................................... 67

    8.2 Sending TCP Data: +TCPSEND ................................................................................................................ 67

    8.3 Receiving TCP Data: +TCPRECV ............................................................................................................. 68

    8.4 Reading TCP Data: +TCPREAD ............................................................................................................... 69

    8.5 Closing TCP Link: +TCPCLOSE .............................................................................................................. 69

    8.6 Querying TCP/UDP Link Status: +IPSTATUS .......................................................................................... 70

    8.7 Querying the Status of Data Sent by the TCP Link: +TCPACK ................................................................ 70

    8.8 Setting Data TX/RX Type: +DATAFORMAT ........................................................................................... 71

    8.9 Setting Data Receiving Mode: +TRANMODE ......................................................................................... 72

    8.10 Setting Local TCP Port: +TCPLPORT .................................................................................................... 72

    8.11 Setting Socket Timeout Parameter: +SSTP .............................................................................................. 73

    9 UDP Data Service .................................................................................................................... 74

    9.1 Setting Up UDP Link: +UDPSETUP ......................................................................................................... 74

    9.2 Sending UDP Data: +UDPSEND .............................................................................................................. 74

    9.3 Receiving UDP Data: +UDPRECV ........................................................................................................... 75

    9.4 Reading UDP Data: +UDPREAD .............................................................................................................. 76

    9.5 Closing UDP Link: +UDPCLOSE ............................................................................................................. 76

    9.6 Setting Local UDP Port: +UDPLPORT ..................................................................................................... 77

    10 Transparent Mode ................................................................................................................. 78

    10.1 Setting Up Transparent TCP Link: +TCPTRANS ................................................................................... 78

    10.2 Setting Up Transparent UDP Link: +UDPTRANS .................................................................................. 78

    10.3 Closing a Transparent Link: +TRANSCLOSE ........................................................................................ 79

    11 TCP Server AT Commands ................................................................................................. 81

    11.1 Setting TCP Listening for the Server: +TCPLISTEN .............................................................................. 81

    11.2 Closing the Listening Connection: +CLOSELISTEN ............................................................................. 81

    11.3 Closing Connections with the Client: +CLOSECLIENT ......................................................................... 82

    11.4 Receiving Data from the Client: +TCPRECV(S) .................................................................................... 82

    11.5 Sending Data to the Client: +TCPSENDS ............................................................................................... 83

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd vii

    11.6 Querying the Connection Status on the Client: +CLIENTSTATUS ........................................................ 84

    11.7 Querying the Status of Data Sent by the TCP Link: +TCPACK .............................................................. 84

    12 Unlimited UDP Server AT Commands............................................................................. 86

    12.1 Setting UDP Listening for Server: +FUDPLISTEN ................................................................................ 86

    12.2 Receiving Data from the Client: +FUDPRECV(S) .................................................................................. 86

    12.3 Sending Data to the Client: +FUDPSENDS ............................................................................................ 87

    12.4 Closing Listening for UDP Server: +CLOSEFUDPLISTEN ................................................................... 87

    13 SSL Certificate ....................................................................................................................... 89

    13.1 Adding SSL Certificate: +CERTADD ...................................................................................................... 89

    13.2 Checking SSL Certificate: +CERTCHECK ............................................................................................. 89

    13.3 Deleting SSL Certificate: +CERTDEL .................................................................................................... 89

    14 SSL TCP Data Service .......................................................................................................... 91

    14.1 Configuring SSL Parameters for TCP: +SSLTCPCFG ............................................................................ 91

    14.2 Setting up TCP Connection over SSL: +SSLTCPSETUP ........................................................................ 92

    14.3 Closing TCP Connection over SSL: +SSLTCPCLOSE ........................................................................... 93

    14.4 Sending TCP Data over SSL: +SSLTCPSEND ....................................................................................... 93

    14.5 Receive TCP Data over SSL: +SSLTCPRECV........................................................................................ 94

    15 FTP AT Commands ............................................................................................................... 95

    15.1 Logging In to the FTP Server: +FTPLOGIN ........................................................................................... 95

    15.2 Logging Out from the FTP Server: +FTPLOGOUT ................................................................................ 96

    15.3 Downloading Data from the FTP Server: +FTPGET ............................................................................... 96

    15.4 Uploading Data to the FTP Server: +FTPPUT ........................................................................................ 98

    15.5 Obtaining File Size on FTP Server: +FTPSIZE ..................................................................................... 100

    15.6 Creating Directory on FTP Server: + FTPMKDIR ................................................................................ 100

    15.7 Querying FTP Link Status: +FTPSTATUS ............................................................................................ 100

    16 FTPS AT Commands .......................................................................................................... 102

    16.1 Configuring SSL Parameters for FTP: +SSLFTPCFG .......................................................................... 102

    16.2 Logging In to the FTPS Server: +FTPSLOGIN ..................................................................................... 103

    16.3 Logging Out from the FTPS Server: +FTPSLOGOUT ......................................................................... 104

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd viii

    16.4 Downloading Data from the FTPS Server: +FTPSGET ........................................................................ 105

    16.5 Uploading Data to the FTPS Server: +FTPSPUT .................................................................................. 107

    16.6 Obtaining File Size on FTPS Server: +FTPSSIZE ................................................................................ 108

    16.7 Creating Directory on FTPS Server: + FTPSMKDIR ............................................................................ 108

    16.8 Configuring IP Filter for Active FTPS Data Connection: + FTPSIPFILTER ........................................ 109

    16.9 Querying FTPS Link Status: +FTPSSTATUS ........................................................................................ 110

    17 HTTP Commands ................................................................................................................ 111

    17.1 Setting HTTP Parameters:+HTTPPARA ............................................................................................... 111

    17.2 Setting Up HTTP Link:+HTTPSETUP .................................................................................................. 111

    17.3 HTTP Request:+HTTPACTION ............................................................................................................ 112

    17.4 Closing HTTP Link: +HTTPCLOSE ..................................................................................................... 115

    17.5 Receiving HTTP Data: +HTTPRECV ................................................................................................... 115

    17.6 HTTP Link Closing: +HTTPCLOSED .................................................................................................. 116

    18 HTTPS Commands ............................................................................................................. 117

    18.1 Configuring SSL Parameters for HTTPS: +HTTPSCFG ....................................................................... 117

    18.2 Setting HTTPS Parameters: +HTTPSPARA .......................................................................................... 118

    18.3 Setting Up HTTPS Link: +HTTPSSETUP ............................................................................................ 118

    18.4 HTTPS Request: +HTTPSACTION ...................................................................................................... 119

    18.5 Closing HTTPS Link: +HTTPSCLOSE ................................................................................................ 121

    18.6 HTTPS Link Closed Report: +HTTPSCLOSED ................................................................................... 122

    19 SMTP Commands ............................................................................................................... 123

    19.1 Setting Parameters for the SMTP Login Server: +SMTPSRV ............................................................... 123

    19.2 Setting SMTP Login Account: +SMTPAUTH ....................................................................................... 123

    19.3 Setting SMTP Sending Parameters: +SMTPFROM .............................................................................. 123

    19.4 Setting SMTP Receiving Parameters: +SMTPRCPT ............................................................................. 124

    19.5 Entering an Email Subject: +SMTPSUB ............................................................................................... 125

    19.6 Entering Email Content: +SMTPBODY ................................................................................................ 125

    19.7 Sending an Email: +SMTPSEND .......................................................................................................... 125

    20 POP3 Commands ................................................................................................................. 127

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd ix

    20.1 Connecting POP3 Server: +POPSRV .................................................................................................... 127

    20.2 Using Account to Log In to the mailbox: +POPAUTH .......................................................................... 127

    20.3 Querying the Email Box Status: +POPSTAT ......................................................................................... 128

    20.4 Querying Specified Email Information: +POPLIST .............................................................................. 128

    20.5 Marking an Email Deleted: +POPDELE ............................................................................................... 131

    20.6 Cancelling All Deleting Marks: +POPRSET ......................................................................................... 131

    20.7 Ending the Session: +POPQUIT ............................................................................................................ 131

    20.8 Reading Emails: +POPRETR ................................................................................................................ 132

    21 File System Commands ...................................................................................................... 134

    21.1 Writing Data to File: +FSWF ................................................................................................................. 134

    21.2 Reading Data from File: FSRF .............................................................................................................. 134

    21.3 Deleting a File: +FSDF .......................................................................................................................... 135

    21.4 Obtaining File List: +FSLIST ................................................................................................................ 136

    21.5 Obtain the Size of a File: +FSFS ........................................................................................................... 136

    21.6 Obtaining the Remaining Storage Size of User Disk: FSLS .................................................................. 136

    21.7 Formatting User Disk:+FSFAT .............................................................................................................. 137

    22 Standard Extended AT Commands ................................................................................. 138

    22.1 Setting Mode and Volume of the Incoming Call Ring: +RINGOUT ..................................................... 138

    22.2 Playing AMR Audio Commands: +AMRPLAY .................................................................................... 138

    22.3 Pausing AMR Audio Playing: +AMRPAUSE ........................................................................................ 139

    22.4 Resume AMR Audio Playing: +AMRRESUME ................................................................................... 139

    22.5 Shutting Down the Module: +CPWROFF ............................................................................................. 140

    22.6 Updating Time:+UPDATETIME ........................................................................................................... 140

    22.7 Querying the IP Address: +DNS ............................................................................................................ 142

    22.8 Ping Function: +PING ........................................................................................................................... 143

    22.9 Obtaining the Location of the Module: +CIPGSMLOC ........................................................................ 144

    22.10 Updating BS Time: +GLTS .................................................................................................................. 145

    A Reference Process of AT Command Programming ....................................................... 147

    A.1 Content of PDU SMS Messages ............................................................................................................. 147

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd x

    A.2 Flowchart of Sending Text SMS Messages (Through UART) ................................................................ 149

    A.3 Flowchart of Sending PDU SMS Messages (Through UART) ............................................................... 150

  • Copyright © Neoway Technology Co.,Ltd 1

    Boot LOG Instruction

    The default baudrate of the module is in automatic detection. The mobile terminal (MT) sends AT\r in

    accordance with the standard baud rate (9600bps, 19200bps, 38400bps, 57600bps, and 115200bps), and the

    module will automatically detect the baud rate. Before users power on the module again, it accomplishes UART

    communications at the automatically detected baud rate. To change the original baud rate during

    communication, set a new baud rate for the module on the MT. Then the MT will change its transmitting baud

    rate.

    If users send AT+IPR to the module to set the baud rate to a certain value, the module cannot automatically

    detect a baud rate unless users run the command AT+IPR=0\r.

    After the module is started, send AT\r to the UART1 of the module. The module returns AT characters,

    indicating that the baud rate matches successfully. Send AT\r to the UART again and the module will return

    OK. Then, the module is ready to execute AT commands.

    Boot log in fixed baud rate mode:

    \r\nMODEM:STARTUP\r\n is output, indicating that the module is initialized.

    \r\n+PBREADY\r\n is outpu, indicating that the phonebook is ready.

    Boot log in automatic baud rate detection

    The module will not output any boot log before an AT command is input because the baud rate is unknown.

    \r\nMODEM:STARTUP\r\n is output if users enter AT/r before starting the module and

    \r\n+PBREADY\r\n is output after the phonebook is ready.

    Only \r\n+PBREADY\r\n is output after the phonebook is ready if users enter AT/r after starting the

    module.

  • Copyright © Neoway Technology Co.,Ltd 2

    1 General Commands

    1.1 Querying the Manufacturer: ATI

    Description To query the manufacturer information, including manufacturer, model and version.

    Format ATI

    Parameter N/A

    Return Value

    OK

    : Module manufacturer information

    Example

    ATI

    NEOWAY

    N10

    V002

    OK

    Remark N/A

    1.2 Querying the Version: +GMR

    Description To obtain the module software version information

    Format AT+GMR

    Parameter N/A

    Return Value

    +GMR:

    OK

    : Module software version

    Example

    AT+GMR

    +GMR: N10_1187_OQS53000_V002

    OK

    Remark N/A

    1.3 Querying the Manufacturer: +CGMI

    Description Queryingthe manufacturer information

    Format AT+CGMI

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 3

    Parameter N/A

    Return Value +CGMI:

    OK

    Example

    AT+CGMI

    +CGMI: Neoway Corp Ltd

    OK

    Remark N/A

    1.4 Querying the Module Model: +CGMM

    Description To query the module model

    Format AT+CGMM

    Parameter N/A

    Return Value +CGMM:

    OK

    Example

    AT+CGMM

    +CGMM: N10

    OK

    Remark N/A

    1.5 Querying the Version: +CGMR

    Description To query the software version

    Format AT+CGMR

    Parameter N/A

    Return Value +CGMR:

    OK

    Example

    AT+CGMR

    +CGMR: N10_1187_ OQS53000_BZ_V002

    OK

    Remark N/A

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 4

    1.6 Querying IMEI: +CGSN

    Description To query the International Mobile Equipment Identity (IMEI) number of the module

    Format AT+CGSN

    Parameter N/A

    Return Value

    OK

    Example

    AT+CGSN

    +CGSN: 355910044336974

    OK

    Remark The IMEI is a character string of 15 digits.

    1.7 Querying the IMSI: +CIMI

    Description To query the international mobile subscriber identification (IMSI) number

    Format AT+CIMI

    AT+CIMI?

    Parameter N/A

    Return Value

    +CIMI:

    OK

    or

    +CIMI: "IMSI"

    OK

    or

    ERROR

    or

    +CME ERROR:

    Example

    AT+CIMI

    +CIMI: 460022201575463

    OK

    Query the IMSI.

    IMSI:460022201575463

    AT+CIMI?

    +CIMI: "460020188385503"

    OK

    Query the IMSI.

    IMSI:460020188385503

    AT+CIMI

    ERROR

    No SIM card is installed, so the module returns

    ERROR.

    AT+CIMI?

    ERROR

    No SIM card is installed, so the module returns

    ERROR.

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 5

    AT+CIMI?

    +CME ERROR: 10

    After AT+CMEE=1 is set, the module returns

    +CME ERROR: 10 if no SIM card is installed.

    Remark IMSI is a character string of 15 digits and starts with 3-bit MCC and 2-bit MNC. It is used

    to authenticate the SIM card.

    1.8 Obtaining the ICCID of the SIM Card: +CCID

    Description To obtain the integrated circuit card identifier (ICCID) number of the SIM card

    Format AT+CCID

    Parameter N/A

    Return Value

    +CCID:

    OK

    or

    ERROR

    Example

    AT+CCID

    +CCID:89860002190810001367

    OK

    Read command

    AT+CCID

    ERROR

    If no SIM card is installed,

    ERRORis returned.

    Remark The ICCID number is a character string of 20 digits.

    1.9 Setting the Signal Indicator Status: +SIGNAL

    Description To set the different blinking status of the signal indicator

    Format AT+SIGNAL=

    AT+SIGNAL?

    AT+SIGNAL=?

    Parameter : Integers, ranging from 0 to 7

    0: Blink once every second in normal situation. Being off or on if any abnormality occurs.

    1: Blink once every second after the module is connected to the GPRS data service. Being

    off in any other situations.

    2: Flash and blink. Flash every 250 ms for the GPRS data service and blink every second in

    other normal situations.

    3: Be on after the GPRS data service is connected and blink every second in other situations.

    4: Be on after the GPRS data service is connected and being off in other situations.

    5: Be off if the SIM card cannot be detected after the module is powered on, blink every

    second if the SIM card is detected, and be on after the GPRS data service is connected.

    6: Four indicator states:

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 6

    If no SIM card is installed or the SIM card does not register network, the indicator

    blinks every one second and is on for 0.1 second.

    If the SIM card registered network, the indicator blinks every three second and is on

    for 0.1 second.

    If the GPRS data service is enabled, the indicator blinks every 250 ms and is on for

    0.1 second.

    The indicator is always on during a call.

    7: four indicator states

    Off: No SIM card, not registered

    On: registered network

    On for 0.2 second and off for 1.8 second: Obtained the IP address

    On for 1.8 second and off for 0.2 second: Connected to the server

    Return Value See the Example.

    Example AT+SIGNAL?

    +SIGNAL: 2

    OK

    The current signal indicator status is 2.

    AT+SIGNAL=3

    OK

    Set current signal indicator status to 3.

    AT+SIGNAL=8

    ERROR

    The parameter is set to an incorrect value.

    AT+SIGNAL=?

    +SIGNAL: (0-7)

    OK

    The available value of the signal indicator

    status ranges from 0 to 7.

    Remarks The default status setting is 7.

    The settingsby this command will be saved after the module is powered off.

  • Copyright © Neoway Technology Co.,Ltd 7

    2 Mobile Device Control and Status Report

    2.1 Querying the Module Status: +CPAS

    Description To query the work status of the module

    Format AT+CPAS

    AT+CPAS=?

    Parameter

    :

    0: ready. The module is ready andis able to execute AT commands.

    1: unavailable. The command is not allowed by the module terminal (MT).

    2: unknown. The status is unknown.

    3: ringing. There is an incoming call and the module is ringing. The module can execute

    AT commands.

    4: call in progress. A call is going on and the module can execute AT commands.

    5: asleep. The module is in sleep mode and not prepared to execute commands.

    Return Value

    +CPAS:

    OK

    or

    +CME ERROR:

    Example

    AT+CPAS

    +CPAS: 0

    OK

    Query the work status of the module.

    The module is ready to execute AT commands.

    AT+CPAS=?

    +CPAS: (0-5)

    OK

    To query the value range of the module work status

    AT+CPAS

    +CME ERROR: This value is returned only after set AT+CMEE=1

    Remark N/A

    2.2 Querying the Network Registration Status: +CREG

    Description To query the network registration status of the module

    Format

    AT+CREG=[]

    AT+CREG?

    AT+CREG=?

    Parameter :

    0: Suppresses the network registration and Provide the result code proactively (default

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 8

    setting)

    1: Allows network registration to proactively provide the result codes

    2: Allows network registration to actively provide the location information (CELL ID,

    LOCAL ID)

    Return Value

    +CREG: ,[,,[,]]

    OK

    or

    ERROR

    or

    +CME ERROR:

    :

    0: Suppresses network registration and Provide the result code proactively (default setting)

    1: Allows network registration to proactively provide the result codes

    2: Allows network registration to actively provide the location information (CELL ID,

    LOCAL ID)

    :

    0: Not registered, the terminal is not currently searching for a new carrier

    1: Registered to local network

    2: Unregistered, the terminal is searching for the new base station

    3: Registration is denied

    4: Unknown code

    5: Registered, in a roaming state

    : string type; two byte location area code in hexadecimal format

    : string type; four-byte cell ID in hexadecimal format

    :

    0: GSM

    2: UTRAN

    3: GSM w/EGPRS

    Example

    AT+CREG=1

    OK

    Enable network registration

    unsolicited codes.

    AT+CREG?

    +CREG: 0,1

    OK

    Query the current network registration

    status of the module

    AT+CREG=?

    +CREG: (0-2)

    OK

    Query the module network

    registration status value range

    AT+CMEE=1

    OK

    AT+CREG=5

    ERROR

    Insert the SIM card, set AT + CMEE

    = 1 (or not set), then send AT + CREG

    = 5,

    The return error code

    AT+CMEE=1 Do not insert the SIM card, set AT +

    CMEE = 1, then send AT + CREG =

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 9

    OK

    AT+CREG=5

    +CME ERROR: 100

    5, the return error code

    Remark N/A

    2.3 GPRS Network Registration: +CGREG

    Description To control the presentation of an unsolicited result code of the module's GPRS network

    registration status

    Format

    AT+CGREG=[]

    AT+CGREG?

    AT+CGREG=?

    Parameter

    : Controls the network registrationunsolicited result code display

    0: Disable network registration unsolicited result code (default setting)

    1: Enable network registration unsolicited result code + CGREG:

    2: Enable network registration unsolicited result code + CGREG: [, , [,

    ]]

    : Network status

    0: Not registered, the terminal is not currently searching for a new carrier

    1: Registered to local network

    2: Unregistered, the terminal is searching for the new base station

    3: Registration is denied

    4: Unknown code

    5: registered, in a roaming state

    : Character, 2-digit hexadecimal location area code

    : Character, 4-digit hexadecimal cell number

    :

    0: GSM

    2: UTRAN

    3: GSM w/EGPRS

    Reutrn Value

    +CGREG: ,[,,[,]]

    OK

    or

    OK

    or

    ERROR

    Example

    AT+CGREG=1

    OK

    AT+CGATT=0

    OK

    Setting the Enable Network Registration

    Unsolicited Result Codes,

    Setting GPRS separation,

    Unsolicited result code returned by the

    module

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 10

    +CGREG: 4

    AT+CGREG=2

    OK

    AT+CGATT=1

    +CGREG: 2, "286F", "00000FCA", 3

    OK

    +CGREG: 1, "286F", "00000FCA", 3

    Setting the Enable Network Registration

    Unsolicited Result Code.

    Set the GPRS attachment.

    Unsolicited result code returned by the

    module

    GPRS attached successfully and return

    OK,

    Unsolicited result code returned by the

    module

    AT+CGREG?

    +CGREG: 0,1

    OK

    When is set to 0, the current GPRS

    network registration status is queried

    AT+CGREG?

    +CGREG: 1,1

    OK

    When the value of is set to 1, the current

    GPRS network registration status is queried

    AT+CGREG?

    +CGREG: 2,1,"286F","00000FCA",3

    OK

    When the value of is set to 2, the current

    GPRS network registration status is queried

    AT+CGREG=3

    ERROR

    The setting parameter is outside the settable

    range and returns an ERROR

    AT+CGREG=?

    +CGREG: (0-2)

    OK

    Query the parameters that the command can

    set

    Remark N/A

    2.4 SettingModule Function: +CFUN

    Description Select the function of the module by setting . Only certain values are supported

    Format

    AT+CFUN=[[,]]

    AT+CFUN?

    AT+CFUN=?

    Parameter

    :

    1: Full function (default)

    0: The minimum function (turn off radio and SIM power)

    :

    0: Does not restart the receiver before setting the function mode

    1: Restart the receiver before setting the function mode

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 11

    Return Value

    +CFUN: (list of supported s),(list of supported s)

    OK

    or

    +CME ERROR:

    or

    ERROR

    Example

    AT+CFUN=1,0

    OK

    Set the module to work with all

    functions.

    AT+CFUN?

    +CFUN: 1

    OK

    Query the current functions.

    All functions are turned on.

    AT+CFUN=?

    +CFUN: (0-1),(0-1)

    OK

    Query the range of the parameter value.

    AT+CMEE=1

    OK

    AT+CFUN

    ERROR

    Set AT+CMEE=1 after a SIM card is

    installed. Send the AT+CFUN

    command and ERROR is returned

    AT+CMEE=1

    OK

    AT+CFUN

    ERROR

    No SIM card is installed and set

    AT+CMEE=1. Send the AT+CFUN

    command and ERROR is returned.

    Remark The setting of this command is not saved after the module is powered off.

    2.5 Enabling or Disabling the Sleep Mode:

    +ENPWRSAVE

    Description To enable or disable the sleep mode

    Format AT+ENPWRSAVE=

    AT+ENPWRSAVE?

    Parameter

    :

    0: Disable the sleep mode. (Default)

    1: Enable the sleep mode (The module enters the sleep mode when the DTR signal is at low

    level and exits from the sleep mode at high level).

    2: Enable the sleep mode (The module enters the sleep mode when the DTR signal is at

    high level and exits from the sleep mode at low level).

    Return value See the Example.

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 12

    Example

    AT+ENPWRSAVE=1

    OK Enable the sleep mode of the module.

    AT+ENPWRSAVE?

    +ENPWRSAVE: 1

    OK

    Query the enabling status of the sleep mode

    of the module.

    Remarks

    The setting of the parameter will not be saved after the module is powered off.

    The DTR signal of the module is at low level by default.

    After the sleep mode is enabled and the DTR signal is at low (or high) level, the

    module can enter the sleep mode only when all circuits of the module allow the sleep

    mode.

    High (or low) level at the DTR signal drive can wake up the module from sleep mode.

    2.6 Clock: +CCLK

    Description To set and query the real-time clock

    Format AT+CCLK=

    AT+CCLK?

    Parameter

    : String, in the format "yy/mm/dd, hh:mm:ss+TZ", indicating year, month, day,

    hour, minute, second

    TZ: 2 digits indicate the difference between local time and GMT. This information is

    optional and is displayed only if the network supports it.

    Return value See the Example.

    Example

    AT+CCLK="11/10/14,09:30:16"

    OK Set the real-time clock of the module.

    AT+CCLK="11/10/14,09:30:"

    ERROR Command format is incorrect.

    AT+CCLK?

    +CCLK: "11/10/14,09:32:04"

    OK

    Query the setting of the real-time clock.

    Remark The settings will not be saved after the module is powered off.

    2.7 Setting the Baud rate of the Module: +IPR

    Description To set the baud rate of the module

    Format

    AT+IPR=

    AT+IPR?

    AT+IPR=?

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 13

    Parameter : 0, 9600, 19200, 38400, 57600, 115200

    Return Value See the Example.

    Example

    AT+IPR=115200

    OK

    Set the baud rate of the module to

    115200.

    AT+IPR=100

    ERROR

    Set the baud rate to 100 that is not a valid

    value. ERROR is returned.

    AT+IPR?

    +IPR: 115200

    OK

    Query the current baud rate of the

    module.

    AT+IPR=?

    +IPR: 0, 9600,19200,38400,57600,115200

    OK

    Query the valid baud rate range of the

    module.

    Remarks The default baud rate is 115200.

    The settings by this command will be saved after the module is powered off.

    2.8 Entering the PIN Codes: +CPIN

    Description To query the PIN status and enter the PIN codes

    Format

    AT+CPIN=[,]

    AT+CPIN=,

    AT+CPIN?

    Parameter

    , :string type with a pair of quotation marks ("")

    : PUK code of the SIM card

    : PIN code of the SIM card

    Return Value

    +CPIN:

    OK

    :

    READY: No password

    SIM PIN: Enter PIN code.

    SIM PUK: Enter PUK code.

    SIM PIN2: Enter PIN2 code.

    SIM PUK2: Enter PUK2 code.

    Example

    AT+CPIN?

    +CPIN: READY

    OK

    Query the PIN code status of the module.

    AT+CPIN?

    ERROR No SIM card is installed.

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 14

    AT+CPIN?

    +CPIN: SIM PIN

    OK

    PIN code is required

    AT+CPIN="1245"

    ERROR PIN code is incorrect.

    AT+CPIN="1234"

    OK The input PIN code is correct.

    AT+CPIN?

    +CPIN: SIM PUK

    OK

    PUK code is required.

    AT+CPIN="78357381","0000"

    OK

    "78357381": Correct PUK code

    "0000": New PIN code

    Remark

    Enter the PIN code to lock the current SIM card (running AT+CLCK="SC",1,"1234")

    and then restart the module.

    After the PIN code is incorrectly inputedthree times, the module asks to enter the PUK

    code to unlock.

    2.9 Enabling PIN and Querying MT and Network

    Device: +CLCK

    Description To lock, unlock or interrogate an MT or a network facility

    Format AT+CLCK=,[,[,]]

    AT+CLCK=?

    Parameter

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 15

    "PC": Corporate authentication

    :

    0: Unlock

    1: Lock

    2: Query the status

    :

    0: not active

    1: active

    : Password or code, string type. A pair of quotation marks is a must for the value.

    :

    1: Voice service

    2: Data service

    4: Fax service

    8: SMS

    16: Synchronous data service

    32: Asynchronous data service

    64: Dedicated packet access

    128: Dedicated PAD access

    Return Value

    When =2 and command successful:

    +CLCK: [, [+CLCK:,

    [...]]

    When is not 2 and command successful:

    OK

    Example

    AT+CLCK="SC",2

    +CLCK: 0

    OK

    AT+CLCK=?

    +CLCK:

    ("PF","SC","AO","OI","OX","AI","IR","AB

    ","AG","AC","FD","PN","PU","PP","PC")

    OK

    Query the network information related to

    the module.

    AT+CLCK="SC",1,"1234"

    OK

    Lock the current SIM card. "1234" is the

    PIN code of the current SIM card.

    AT+CLCK="SC",0,"1234"

    OK

    Unlock the current SIM card. "1234" is the

    PIN code of the current SIM card.

    Remark The settings of this command take effect after the module is restarted.

    2.10 Modifying the Password of the PIN: +CPWD

    Desprition To modify the password of the lock function of the module

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 16

    Format AT+CPWD=,,AT+CPWD=?

    Parameter

    :A pair of quotation marks is a must for the value.

    "P2":SIM PIN2

    "OI": Outgoing international calls

    "AI": All incoming calls

    "IR": Incoming calls when roaming outside the homing place

    "SC": SIM card

    "AO": All outgoing calls

    "OX": All outgoing international calls except to the home country

    "AB": All calling services

    "AG": All outgoing call services

    "AC": All incoming call services

    "FD": Fixed dialing of the SIM card

    "PN": Network authentication

    "PU": Network subsystem authentication

    "PP": Service provider authentication

    "PC": Corporate authentication

    :Old password or code, string type. A pair of quotation marks is a must for the

    value.

    :New password or code, string type. A pair of quotation marks is a must for the

    value.

    Return Value +CPWD:list of supported (,)s

    +CME ERROR:

    Example

    AT+CPWD=?

    +CPWD:

    ("SC",8),("P2",8),("AO",4),("OI",4),

    ("OX",4),("AI",4),("IR",4),("AB",4),

    ("AG",4),("AC",4)

    OK

    Query the service range of the PIN password

    allowed by the module.

    AT+CPWD="SC","1234","0000"

    OK

    Modify the PIN code of the current SIM card.

    "1234" is the old PIN code and "0000" is the

    new PIN code.

    AT+CPWD=SC,1234,0000

    ERROR

    The command format is incorrect. A pair of

    quotation marks ("") is required for each

    parameter.

    Remark To modify the PIN code and to lock the SIM card (running AT+CLCK="SC",1,"1234").

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 17

    2.11 Enabling & Disabling the Terminal Display:

    ATE1/ATE0

    Description To enable or disable the terminal display function of the AT commands

    Format ATE1

    ATE0

    Pamater N/A

    Return Value See the Example

    Example

    ATE1

    OK

    AT

    OK

    Turn on module AT command echo function

    Send AT, serial tools show "AT" and "OK"

    ATE0

    OK

    OK

    Turn off the module AT command echo

    function.

    Send AT, serial tools only show "OK"

    Remark

    The settings by this command will not be saved after the module is powered off.

    The terminal display function is enabled by default.

    If you enter the command mode after dialing up to connect the network, terminal

    display is disabled automatically.

    ATE is equal to ATE1.

    2.12 Setting the Code Result Suppression Mode: ATQ

    Description To set the mode whether to suppress the code result

    Format ATQ[]

    Parameter

    : 0, 1

    0: Output the code result (default)

    1: Suppress the code result

    Return Value See the Example.

    Example

    ATQ1

    AT+CSQ

    +CSQ: 31, 99

    Set to code result suppress mode. (The module does not return

    OK after this command is executed successfully.)

    After the mode is set, the return value for the AT+CSQ command

    does not contain the code result OK.

    ATQ0

    OK

    AT

    Set to the code result output mode.

    After the mode is set, the return value for the AT command

    contains the code result OK.

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 18

    OK

    Remarks

    After mode set to the code result suppression mode, the module does not output OK

    or ERROR to commands.

    The setting by this command cannot be saved after the module is powered off. The

    setting is valid only for the GSM commands and invalid for customized commands.

    ATQ is equal to ATQ1.

    2.13 Setting the Response Format of the Device: ATV

    Description To set the response format of the device

    Format ATV[]

    Parameter

    : 0, 1

    0: Set the response format to output with only some header, footer, and digit text.

    1: Set the response format to output with all headers, footers, and detailed response text

    (default).

    Return Value See the Example.

    Example

    ATV1

    OK

    AT+CSQ

    +CSQ: 31, 99

    OK

    Set the response format to output with all

    headers, footers, and detailed response

    text.

    ATV00

    AT+CSQ

    +CSQ: 31, 990

    Set the response format to output with

    only some header, footer, and digit text.

    The module returns 0 after the format is

    set successfully.

    Remarks

    ATV is equal to ATV1.

    After ATV0isexecuted, the return value for a command in correct format is 0 (default

    setting is OK) which will follow the command; 4 for command in incorrect format

    (default setting is ERROR).

    The setting by this command will not be saved after the module is powered off.

    2.14 Resetting to the Default Setting: ATZ

    Description To reset the module to the default settings

    Format ATZ[]

    Parameter

    : 0, 1

    The command is used to reset the module to the default settings both with valid parameter

    values and without this parameter.

    Return Value See the Example.

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 19

    Example

    ATZ1

    OK Reset the module to the default setting.

    ATZ0

    OK Reset the module to the default setting.

    Remarks If the module is set to the code result suppression mode (ATQ1), reset it to the default

    settings by executing this command.

    2.15 Saving Parameter Settings: AT&W

    Description To save parameter settings

    Format AT&W

    Parameter N/A

    Return Value See the Example

    Example

    AT+REMOTEAT?

    +REMOTEAT: 0

    OK

    AT+REMOTEAT=1

    OK

    AT&W

    OK

    AT+REMOTEAT?

    +REMOTEAT: 1

    OK

    Query the current parameter value. The

    value is 0.

    Set commands that support parameter

    saving.

    Save parameter settings and restart the

    module.

    Query the current parameter value. The

    value is 1.

    AT&W0

    OK

    Save parameter settings. This command

    has the same function as AT&W.

    Remarks

    The following commands support parameter saving:

    ATE, +CMEE, ATV, ATQ, +CSCS, +COPS, +CCWA, +CREG, +CLIP,

    +ENPWRSAVE, +DATAFORMAT, +TRANMODE, +RINGOUT, +REMOTEAT,

    etc.

    AT&W0 is equal to AT&W. To restore to the default settings, execute AT&F or

    ATZ.

    2.16 Resetting the Module to Factory Settings: AT&F

    Description To reset the module to the factory settings

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 20

    Format AT&F[]

    Parameter

    0: Reset the module to factory settings.

    Return Value See the Example.

    Example

    AT&F0

    OK Reset the module to factory settings.

    AT&F

    OK Reset the module to factory settings.

    Remarks

    If the module is set to the code result suppression mode (ATQ1), reset it to factory

    settings by executing this command.

    This command is similar to the ATZ command in function.

    2.17 Activating Multiplexing Mode: +CMUX

    Description To activate multiplexing mode

    Format

    AT+CMUX=[,[,[,[,[,[,[,

    [,]]]]]]]]

    AT+CMUX=?

    Parameter

    : The mode of MUX that is enabled, integer type

    0: Basic option (default value)

    1: Advanced option (not supported currently)

    : Subset of frame format, integer type

    0: UIH frames used only (default value)

    1: UI frames used only (not supported currently)

    : UART port rate, integer type

    1: 9600bit/s

    2: 19200bit/s

    3: 38400bit/s

    4: 57600bit/s

    5: 115200bit/s (default value)

    6: 230400bit/s (not supported currently)

    : Maximum frame size. Integer type, ranging from 1 to 32768. The range of 1 to

    1509 is supported currently. The default value is 31. If Advanced optionfor mode is

    selected, the default value is 64.

    : Acknowledgement timer in unit of ten milliseconds, integer type, ranging from 1

    to 255, where 10 is default (100 ms).

    : Maximum number of re-transmission, integer type, ranging from 1 to 100, where

    3 is the default value. The range of 0 to 5 is supported currently.

    : response timer for the multiplexer control channel in units of ten milliseconds,

    integer type, ranging from 2 to 255, where 30 is default (300 ms)

    : Wake up response timer in seconds, integer type, ranging from 1 to 255, where 10

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 21

    is default (10s)

    If this parameter is not supported and the module returns 0 for it.

    : window size, for Advanced option with Error-Recovery Mode, integer type, ranging

    from 1 to 7, where 2 is default

    If this parameter is not supported and the module returns 0 for it.

    Return Value OK

    Example

    AT+CMUX=0

    OK Basic option. Other parameters are left out.

    AT+CMUX=2

    ERROR

    The set value exceeds the parameter range

    and the module returns ERROR.

    AT+CMUX=0,0,,512,254,5,255

    OK

    Mode: Basic option

    Subset: UIH

    Transmission rate: default value

    Max. frame size: 255

    Acknowledgement timer: 2540 ms

    Max. number of retransmission: 5

    Response timer: 2550 ms

    AT+CMUX=1,0,,512,254,5,255

    ERROR

    Advanced option, which is not supported.

    The module returns ERROR.

    AT+CMUX=?

    +CMUX: (0),(0),(1-6),(16-1510),(1-

    255),(0-100),(2-255),(1-255),(1-7)

    OK

    Query the available range of parameters.

    AT+CMUX?

    ERROR

    The command format is incorrect.

    The module returns ERROR.

    Remarks

    In accordance with the multiplexing protocol, two or more virtual channels are set up

    on one physical port.

    In general, three virtual channels are set up, among which one is used for dialing up

    to access the Internet, and two are used for AT command sending and receiving.

    must be longer than .

    AT+CMUX=0 is recommended to enable the multiplexing protocol control channel.

  • Copyright © Neoway Technology Co.,Ltd 22

    3 Network Service Commands

    3.1 Querying Signal Quality: +CSQ

    Description To check the receiving signal strength indication (RSSI) and the bit error rate (BER) of

    the channel

    Format AT+CSQ

    AT+CSQ=?

    Parameter N/A

    Return Value

    +CSQ: ,

    OK

    :

    The following table shows the relationship between the signal and the RSSI:

    Signal RSSI

    0

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 23

    3.2 Selecting and Registering a GSM Network: +COPS

    Description To select and register a GSM network

    Format

    AT+COPS=[[,[,>[,]]]]

    AT+COPS?

    AT+COPS=?

    Parater

    :To set automatic network selection or manual selection:

    0: Automatic selection (ignore the parameter )

    1: Manual selection

    2: Deregister from the network

    3: Set only

    4: Manual/automatic selection (if the manual selection fails, automatic mode starts)

    :

    0: Long alphanumeric (default value)

    1: Short format alphanumeric

    2: Numeric

    :It is given in . This field may be in 16-character long alphanumeric

    format, 8-characters short alphanumeric format, or 5-character numeric format

    (MCC/MNC).

    : indicates the radio access technology and its value can be 0, 1, and 2.

    0: GSM

    1: GSM compact

    2: UTRAN

    Return Value

    :

    0: Unknown network

    1: Available network

    2: Current network

    3: Forbidden network

    Example

    AT+COPS=0,0

    OK

    Automatic network selection is

    enabled. Long alphanumeric mode.

    AT+COPS=0,2

    OK Set to digital mode

    AT+COPS?

    +COPS: 0,0,"China Mobile"

    OK

    China Mobile

    AT+COPS?

    +COPS: 0,2,"46000"

    OK

    If it is set to digital mode, get the

    number 46000

    AT+COPS?

    +COPS: 0,0,"China Unicom"

    China Unicom

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 24

    OK

    AT+COPS?

    +COPS: 0,2,"46001"

    OK

    If it is set to digital mode, then get the

    number 46001.

    AT+COPS=?

    +COPS:

    (2,"ChinaUnicom","CU-GSM","46001",0),

    (3,"China Mobile","CMCC","46000",0),,

    (0-3),(0-2)

    OK

    Query the range of network selection.

    AT+COPS=2

    OK Deregister the network.

    Remark

    is displayed only during the query of the current network selection parameters

    if the device supports UMTS.

    indicates the access technology of the manual attach procedure if GSM/UMTS

    is set dual mode and select network manually.

    Ignore the parameter if automatic network selection is enabled.

    3.3 Setting Band: +XBANDSEL

    Description To set band

    Format

    AT+XBANDSEL=[,]

    AT+XBANDSEL?

    AT+XBANDSEL=?

    Parameter

    : Band selection

    850: 850M

    900: 900M

    1800: 1800M

    1900: 1900M

    : Set whether to support the band or not. Values can be 0 and 1.

    0: not support

    1: support

    When is omitted, only the current is supported.

    Return Value See the Example

    Example

    AT+XBANDSEL=900

    OK

    Supported band is set to 900M forcibly.

    850M, 1800M, and 1900M are not

    supported.

    AT+XBANDSEL? Query the current band supported.

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 25

    +XBANDSEL:850

    OK

    Support 850M band.

    AT+XBANDSEL=900,1

    OK

    AT+XBANDSEL=1800,1

    OK

    AT+XBANDSEL=850,0

    OK

    AT+XBANDSEL=1900,0

    OK

    Set supported band to 900M forcibly.

    Set supported band to 1800M forcibly.

    Set 850M to band not supported

    forcibly.

    Set 1900M to band not supported

    forcibly.

    AT+XBANDSEL?

    +XBANDSEL:900,1800

    OK

    Query the current band that is set.

    Support 900M and 1800M bands.

    AT+XBANDSEL?

    +XBANDSEL: No Band Support

    OK

    Query the current band supported.

    No band is supported.

    AT+XBANDSEL=?

    +XBANDSEL:(850,900,1800,1900),(0,1)

    OK

    Query the value range of parameters.

    Remark

    The settings by this command are saved after the module is powered off. By default

    all those four bands are supported.

    After this command is executed, the module deregisters the network. After the

    module registers the network again, set AT+COPS=0,0.It takes some time to set

    AT+COPS=0,0.

    3.4 Locking BCCH Channel: $MYBCCH

    Description To lock BCCH channel

    Format

    AT$MYBCCH=[,,,]

    AT$MYBCCH?

    AT$MYBCCH=?

    Parameter

    : Integer. The settings of locked channel can be saved after the module is powered

    off only if you run AT$MYBCCH=1,XX. If the BCCH locked does not exist or its signal

    is weak, the module cannot register network.

    0: Unlock

    1: Lock the BCCH cell

    2: List IDs of seven BCCH channels that have the strongest signals at current place.

    : channel ID

    : the number of BCCH channels in the BA list (7 at most)

    : Mobile country code

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 26

    : mobile network code

    : Location ID, four-byte characters in hexadecimal format

    : Cell ID, hexadecimal

    Return Value

    OK

    $MYBCCH: +BA(num):

    ,,,,

    ,,,,

    ,,,,

    ...

    OK

    $MYBCCH: ,,,,

    OK

    $MYBCCH: UNLOCKED

    OK

    ERROR

    $MYBCCH: ,,…

    OK

    Example

    AT$MYBCCH=2

    $MYBCCH: +BA(7):

    120,460,01,2543,A85D

    734,460,01,2543,AB12

    712,460,01,2543,AFF4

    715,460,01,2543,AB13

    736,460,01,2543,AB14

    115,460,01,2543,A85E

    719,460,01,2543,B04F

    OK

    List IDs of seven BCCH channels that

    have the strongest signals at current

    place.

    AT$MYBCCH=?

    $MYBCCH: (0,1,2),120,734,712

    OK

    Query the value range of parameters in

    this command. Channels 120, 734, and

    712 can be locked.

    AT$MYBCCH=1,120

    OK Lock channel 120.

    AT$MYBCCH=?

    $MYBCCH: (0,1,2),120

    OK

    Query the value range of parameters in

    this command. Channels 120 can be

    locked.

    AT$MYBCCH?

    $MYBCCH: 120,460,01,2543,A85D

    OK

    Query channels that are locked

    currently.

    AT$MYBCCH=0 Unlock

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 27

    OK

    Remarks The settings by this command are saved after the module is powered off.

    This command does not support the BCCH channels of 1900M.

  • Copyright © Neoway Technology Co.,Ltd 28

    4 Calling Control Commands

    4.1 Setting the Voice Volume: +CLVL

    Description To set the level of the voice volume, which is valid before a call or during a call

    Format

    AT+CLVL=

    AT+CLVL?

    AT+CLVL=?

    Parameter :Integers, ranging from 0 to 6. The default value is 3.

    Return Value See the Example

    Example

    AT+CLVL=4

    OK Set the level of the voice volume to 4.

    AT+CLVL?

    +CLVL: 4

    OK

    Query the level of voice volume of the

    module.

    AT+CLVL=?

    +CLVL: (0-6)

    OK

    Query the valid voice volume level for

    the module.

    Remark

    The setting by this command is not saved after the module is powered off.

    This command is used to set the volume level of the current voice outputchannel,

    which can be receiver, earphone, or speaker.

    4.2 Mute Control: +CMUT

    Description To set mute control of the voice calls.

    The setting is valid during a call

    Format

    AT+CMUT=

    AT+CMUT?

    AT+CMUT=?

    Parameter

    :

    0: Mute off (default value)

    1: Mute on

    Return Value See the Example

    Example AT+CMUT=0

    OK Disable the mute mode.

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 29

    AT+CMUT=1

    ERROR Enable mute control during acall.

    AT+CMUT?

    +CMUT: 0

    OK

    Query whetherthe mute mode is

    enabled.

    AT+CMUT=?

    +CMUT: (0,1)

    OK

    Query the value range of mute mode

    function.

    Reamark This command is valid only during a call. ERROR will be returned in any other situations.

    4.3 Dialing Command: ATD

    Description To initialize a data, fax, or voice link.For a voice link, the dialing string consists of

    numbers and modifiers and must end with a semicolon.

    Format ATD[;]

    ATD>

    Parameter :Phone number

    :The location of phone number

    Return Value

    OK

    SPEECH ON

    ALERTING

    If the call is hung up directly on the other side:

    SPEECH OFF

    RELEASE

    BUSY

    The phone is picked up on the other side:

    CONNECT

    If the call is hung up on the other side during the call

    SPEECH OFF

    RELEASE

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 30

    NO CARRIER

    Example

    ATD15889758495;

    OK

    SPEECH ON

    ALERTING

    CONNECT

    Make a call to 15889758495.

    The callee answers.

    ATD>2;

    OK

    SPEECH ON

    ALERTING

    CONNECT

    SPEECH OFF

    RELEASE

    NO CARRIER

    Dial the number with the phonebook location

    of 2

    Remark There are two types of calls: voice call, data or fax call. Semicolon is required for voice

    calls and not required for data or fax calls.

    4.4 Call Answering: ATA

    Decription To answer the call and to establish a call connection

    The return codes containing RING or +CRING indicate an incoming call.

    Format ATA

    Parameter N/A

    Return Value

    SPEECH ON

    OK

    If the call is hung up on the other side during the call, the command returns:

    SPEECH OFF

    RELEASE

    NO CARRIER

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 31

    Example

    ATA

    SPEECH ON

    OK

    Answer the call (voice).

    Remark N/A

    4.5 Hanging Up Calls: ATH

    Description To hang up all call link

    Format ATH

    Parameter N/A

    Return Value

    SPEECH OFF

    RELEASE

    OK

    Example

    ATH

    SPEECH OFF

    RELEASE

    OK

    End the call connection.

    ATH

    RELEASE

    OK

    Refuse the incoming call. Hang up the

    call.

    Remark N/A

    4.6 Caller ID: CLIP

    Description To enable or disable caller ID

    Format

    AT+CLIP=

    AT+CLIP?

    AT+CLIP=?

    Parameter

    :

    0: disable caller ID

    1: enable caller ID (default value)

    Return Value +CLIP:,

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 32

    :

    0: disable

    1: enable

    :

    0: CLIP not provisioned

    1: CLIP provisioned

    2: unknown (no connection, etc.)

    Example

    AT+CLIP=1

    OK Enable the caller ID function.

    RING

    +CLIP: "136********",161,"",0,"",0

    An incoming call from 136********.

    AT+CLIP?

    +CLIP: 1, 1

    OK

    Query the setting of the caller ID.

    AT+CLIP=?

    +CLIP: (0-1)

    OK

    Query the range of the parameters.

    Remark The callee ID function is enabled by default.

    4.7 Sending DTMF Tone: +VTS

    Description To send the DTMF tone

    Only for voice services in GSM

    Format AT+VTS=[,]

    AT+VTS=?

    Parameter < DTMF>:A single ASCII character in the set 0-9, #, *, A-D.

    Return Value See the Exaple

    Example

    AT+VTS=?

    +VTS: (0-9,*,#,A,B,C,D),(1-255)

    OK

    Query the DTMF signal range of the

    module.

    AT+VTS=1,10

    OK

    Set in a call, and sendDTMF: 1.

    DTMF duration is 10*1/10 second.

    AT+VTS="*",10

    OK

    Set in a call, and sendDTMF: *.

    DTMF duration is 10*1/10 second.

    AT+VTS=1

    OK Set during a call.

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 33

    AT+VTS=1

    ERROR Set not during a call.

    Remark

    The settingsby this command will not be saved after the module is powered off.

    This command is valid during a call.

    The quotation marks ("") for are optional.

    4.8 Set DTMF Duration Time:+VTD

    Description To set the duration time of DTMF

    Format

    AT+VTD=

    AT+VTD?

    AT+VTD=?

    Parameter : DTMF duration, ranging from 1 to 255, unit 1/10 second, 1 by default

    Return Value See the Example.

    Example

    AT+VTD=20

    OK

    AT+VTS=1

    OK

    Set the DTMF duration time to 20*1/10

    seconds.

    Send DTMF and its duration is set by

    +VTD, that is, 20*1/10 seconds.

    AT+VTD?

    +VTD: 1

    OK

    Query current parameter settings.

    AT+VTD=?

    +VTD: (1-255)

    OK

    Query the parameter range.

    Remarks The settingsby this command will not be saved after the module is powered off.

    This command is valid during a call or out of a call.

    4.9 Auto-Answer:ATS0

    Description To control the auto-answer mode of the module

    Format ATS0=

    ATS0?

    Parameter :Integers, ranging from 0 to 255

    The default value is 000.

    Return Value See the Example

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 34

    Example

    ATS0=1

    OK Set the auto-answer for one ring.

    ATS0?

    001

    OK

    Query the status of the auto-answer

    function.

    Remark If ATS0=0, the auto-answer function isdisabled; otherwise, the module will automatically

    answer the call after ringing for certain times.

    4.10 Starting the DTMF Detection: +DTMFDETECT

    Description To start the DTMF detection

    Format AT+DTMFDETECT=

    Parameter

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 35

    Remark

    After DTMF detection is started, the module will return DTMF

    KEY(Rec):[,] if it detects DTMF signals from the other side.

    The value of can be 0-9, #, *, and A-D. Please refer to the parater of AT+VTS.

    4.11 Setting Echo Suppression Level in the Earphone

    Mode: +ESL

    Description To set the level of the echo suppression level in the earphone mode

    Format

    AT+ESL=

    AT+ESL?

    AT+ESL=?

    Parameter : Integers, ranging from 0 to 6. The default value is 3.

    Return Value See the example

    Example

    AT+ESL?

    +ESL: 2

    OK

    Query the current echo suppression

    level.

    AT+ESL=1

    OK Set the level of echo suppression to 1.

    AT+ESL=?

    +ESL: (0-6)

    OK

    Query the range of the command

    parameter.

    Remark The setting of this command is saved after the module is powered off.

    4.12 Setting Echo Suppression Level in the Receiver

    Mode: +HESL

    Description To set the level of the echo suppression level in the receiver mode

    Format

    AT+HESL=

    AT+HESL?

    AT+HESL=?

    Parameter :Integers, ranging from 0 to 6. The default value is 3.

    Return Value See the example

    Example AT+HESL?

    +HESL:1

    Query the current echo suppression

    level.

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 36

    OK

    AT+HESL=2

    OK Set the level of echo suppression to 2.

    AT+HESL=?

    +HESL: (0-6)

    OK

    Query the range of the echo

    suppression parameter

    Remark The setting of this command is saved after the module is powered off.

    4.13 Setting Echo Suppression Level of the Speaker

    Mode: +LESL

    Description To set the level of the echo suppression level in the speaker mode

    Format

    AT+LESL=

    AT+LESL?

    AT+LESL=?

    Parameter : Integers, ranging from 0 to 6. The default value is 3.

    Return Value See the Example.

    Example

    AT+LESL?

    +LESL: 1

    OK

    Query the current echo suppression

    level.

    AT+LESL=2

    OK Set the level of echo suppression to 2.

    AT+LESL=?

    +LESL: (0-6)

    OK

    Query the range of the echo

    suppression parameter.

    Remark The settings by this command will be saved after the module is powered off.

    4.14 MIC Volume Control: +MICL

    Description To set the level of the MIC volume in a call

    Format

    AT+MICL=

    AT+MICL?

    AT+MICL=?

    Parameter : Integers, ranging from 0 to 6

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 37

    Return Value See the Example

    Example

    AT+MICL=3

    OK Set the level of the MIC volume to 3.

    AT+MICL?

    +MICL: 3

    OK

    Query the current level of the MIC

    volume.

    AT+MICL=?

    +MICL: (0-6)

    OK

    Query the value range of MIC volume.

    Remark The settings by this command will not be saved after the module is powered off.

    4.15 Switching the Audio Input Channel: +AUDIN

    Description To switch the audio input channel before and in a call

    Format

    AT+AUDIN=

    AT+AUDIN?

    AT+AUDIN=?

    Parameter

    : Interger, ranging from 0 to 1.

    0: Set to MIC0 input

    1: Set to MIC1 input (default)

    Return Value See the Example

    Example

    AT+AUDIN=0

    OK Set the audio input channel to MIC0.

    AT+AUDIN?

    +AUDIN: 0

    OK

    Query the current audio input channel.

    AT+AUDIN=?

    +AUDIN: (0-1)

    OK

    Query the range of the command

    parameter.

    Remark The settings by this command will not be saved after the module is powered off.

    Only MIC0 is supported.

    4.16 Switching the Audio Output Channel: +AUDOUT

    Description To switch the audio output channel before and in a call

    Format AT+AUDOUT=

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 38

    AT+AUDOUT?

    AT+AUDOUT =?

    Parameter

    : Integrer, ranging from 0 to 2.

    0: Set to receiver output (not supported currently)

    1: Set to loud speaker output

    2: Set to earphone output (default)

    Return Value See the Example

    Example

    AT+AUDOUT=0

    OK Set to receiver output.

    AT+AUDOUT?

    +AUDOUT: 0

    OK

    Query the current audio output channel

    AT+AUDOUT=?

    +AUDOUT: (0-2)

    OK

    Query the range of the command

    parameter.

    Remrk The settings by this command will not be saved after the module is powered off.

    Only speaker is supported.

    4.17 Setting the Sidetone Level of Voice Channel: +SSTL

    Description To set the sidetone level of voice channel

    Format AT+SSTL=[,]

    AT+SSTL=?

    Parameter

    : Voice channel, ranging from 0 to 2.

    0: Query (or set) the sidetone level of receiver.

    1: Query (or set) the sidetone level of earphone.

    2: Query (or set) the sidetone level of speaker.

    : sidetone level. Integer, ranging from 0 to 15. The default value is 0.

    Return Value See the Example

    Example

    AT+SSTL=0

    +SSTL: 0,0

    OK

    Query the sidetone level of the receiver.

    AT+SSTL=0,1

    OK Set the sidetone level of the receiver to 1.

    AT+SSTL=?

    +SSTL: (0-2),(0-15)

    OK

    Query the value range of parameters.

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 39

    AT+SSTL=0,16

    ERROR

    The parameter value set in the command

    is not supported. ERROR is returned.

    AT+SSTL=3,3

    ERROR

    Parameters in the command are set

    incorrectly. ERROR is returned.

    Remark

    The settings by this command will be saved after the module is powered off. The

    sidetone levels of the three voice channels are 0 by default (sidetone is disabled).

    The lowest sidetone level is 0 and the highest sidetone is 15.

    4.18 Querying Current Calls: +CLCC

    Description To query current calls and their status

    Format AT+CLCC

    AT+CLCC=?

    Parameter N/A

    Return Value

    [+CLCC:,,,,[,,]

    [+CLCC:,,,,[,,][...]]]

    OK

    +CME ERROR:

    : Callee ID descripted in section 4.5.5.1 of 3GPP TS22.030 [19], integer, this digit can

    be used in the +CHLD command.

    :

    0: Mobile originated calls

    1: Mobile terminated calls

    :Call status

    0: active

    1: held

    2: dialing

    3: alerting

    4: incoming

    5: waiting

    : Call types

    0: voice

    1: data

    2: fax

    : Multiparty calls

    0: Non-multiparty calls

    1: Multiparty calls

    : Specified character phone number

    : Number type, refer to section 10.5.4.7 in TS 24.008 [8]

    Example AT+CLCC

    +CLCC: 1,0,2,0,0,"18665312109",129 Initiate a call

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 40

    OK

    AT+CLCC

    +CLCC: 1,1,4,0,0,"18665312109",129

    OK

    An incoming call is not been answered

    AT+CLCC

    +CLCC: 1,1,0,0,0,"18665312109",129

    OK

    Answer an incoming call

    AT+CLCC

    OK No call

    AT+CLCC=?

    OK Command is available.

    Remarks N/A

  • Copyright © Neoway Technology Co.,Ltd 41

    5 SMS Commands

    5.1 Selecting SMS Services: CSMS

    Description To select an SMS service among SMS-MO, SMS-MT, and SMS-CB

    Format

    AT+CSMS=

    AT+CSMS?

    AT+CSMS=?

    Parameter

    :

    0: GSM03.40 and GSM03.41. SMS-related AT commands support GSM07.05 Phase 2.

    1: GSM03.40 and GSM03.41. SMS-related AT commands support GSM07.05 Phase 2+.

    ,,:

    0: Not support

    1: Support

    Return Value See the Example.

    Example

    AT+CSMS=1

    +CSMS: 1, 1, 1

    OK

    Set SMS service to 1.

    AT+CSMS?

    +CSMS: 1, 1, 1, 1

    OK

    Query the current parameter value.

    AT+CSMS=?

    +CSMS: (0,1)

    OK

    Query the value range of SMS service.

    Remark The default settings of this command are 0, 1, 1, 1.

    5.2 Setting Preferred SMS Storage: +CPMS

    Description To set preferred SMS storage

    Format

    AT+CPMS=

    AT+CPMS?

    AT+CPMS=?

    Parameter

    : String type, for example, "SM", "ME", "MT"

    : Used quantity

    : Total capacity of the storage

    :

    "SM": SIM only

  • N10 AT Command Manual

    Copyright © Neoway Technology Co.,Ltd 42

    "ME": ME only

    "SM_P": SIM prefer, try SIM first, then ME

    "ME_P": ME prefer, try ME first, then SIM

    "MT": any of storages associated with ME(SIM first)

    Return Value

    +CPMS: ,,,,,

    OK

    OR

    +CPMS:,,,,,,,<

    used3>,

    OK

    OR

    +CPMS: (list of supported s),(list of supported s), (list of

    supported s)

    OK

    Example

    AT+CPMS="S