m35 at Command3
m35 at Command3
Parameter
<index> The index of the socket for sending data. This parameter is necessary only if AT+QIMUX
was set as 1 (refer to AT+QIMUX). When AT+QIMUX was set as 0, the parameter MUST
be omitted
<length> A numeric parameter which indicates the length of data to be sent, it MUST be less than
1460
NOTES
1. This command is used to send data on the TCP or UDP connection that has been established
already. Ctrl+Z is used as a termination symbol. ESC is used to cancel sending data.
2. The maximum length of the data to input at a time is 1460.
3. This command is invalid when QIMUX is 1 (refer to AT+QIMUX).
4. There are at most 1460 bytes that can be sent each time.
5. Only send data at the status of connection, otherwise respond with ERROR.
6. SEND OK means the data have been put into the send window to send rather than it has received
the ACK message for the data from the remote node. To check whether the data has been sent to the
remote note, it is necessary to execute the command AT+QISACK to query it.
Parameter
<index> The index of the socket for sending data. This parameter is necessary only if AT+QIMUX
was set as 1 (refer to AT+QIMUX). When AT+QIMUX was set as 0, the parameter MUST
be omitted
NOTES
NOTES
1. Except at the status of IP INITIAL, you can deactivate GPRS/CSD PDP context by AT+QIDEACT.
After closing the connection, the status becomes to IP INITIAL.
2. CSD context is not supported at present.
OK
Read Command Response
AT+QILPORT? <mode>: <port>
<CR><LF><mode>: <port>
OK
Write Command Response
AT+QILPORT=<mode>,<port> OK
ERROR
Reference
Parameter
NOTES
11.6. AT+QIREGAPP Start TCPIP Task and Set APN, User Name and
Password
AT+QIREGAPP Start TCPIP Task and Set APN, User Name and Password
Test Command Response
AT+QIREGAPP=? +QIREGAPP: "APN","USER","PWD"
OK
Read Command Response
AT+QIREGAPP? +QIREGAPP: <apn>,<user name>,<password>
OK
Write Command Response
AT+QIREGAPP=<apn>,<user OK
name>,< password>[,<rate>] ERROR
Execution Command Response
AT+QIREGAPP OK
ERROR
Reference
Parameter
<apn> A string parameter which indicates the GPRS access point name or the call number of CSD
<user name>A string parameter which indicates the GPRS/CSD user name
<password> A string parameter which indicates the GPRS/CSD password
<rate> The speed of data transmit for CSD
NOTES
1. The write command and execution command of this command is valid only at the status of IP
INITIAL. After operating this command, the status will become to IP START.
2. The value of QICSGP (please refer to AT+QICSGP) defines what kind of bearer (GPRS or CSD) the
parameters are used for.
3. CSD function and related configuration are not supported at present.
NOTES
1. AT+QIACT only activates GPRS/CSD context at the status of IP START. After operating this
command, the status will become to IP CONFIG. If TA accepts the activated operation, the status will
become to IP IND; after GPRS/CSD context is activated successfully, the status will become to IP
GPRSACT, respond with OK, and otherwise respond with ERROR.
2. CSD context is not supported at present.
Parameter
<IP address> A string parameter which indicates the IP address assigned from GPRS or CSD
network
NOTES
1. Only at the following status: IP GPRSACT, IP STATUS, TCP/UDP CONNECTING, CONNECT OK, IP
CLOSE can get local IP address by AT+QILOCIP, otherwise respond ERROR. And if the status
before executing the command is IP GPRSACT, the status will become to IP STATUS after the
command.
2. CSD function is not supported at present.
STATE: <state>
When AT+QIMUX=1, respond
List of
(+QISTAT: <index>,<mode>,<addr>,<port><CR><LF>)
OK
Reference
Parameter
If ATV was set to 0 by the command ATV0, the TCPIP stack gives the following numeric to
indicate the former status
0 "IP INITIAL"
1 "IP START"
2 "IP CONFIG"
3 "IP IND"
4 "IP GPRSACT"
5 "IP STATUS"
NOTES
1. Display former style of response when QIMUX=0 and the later style of response when QIMUX=1.
2. CSD context is not supported at present.
STATE: <state>
When AT+QIMUX=1, respond
OK
STATE: <state>
+QISTAT: <index>,<mode>,<addr>,<port>,<socketstate>
OK
Otherwise respond
ERROR
Reference
Parameter
When AT+QIMUX=0:
"IP INITIAL" The TCPIP stack is in idle state
"IP START" The TCPIP stack has been registered
"IP CONFIG" It has been start-up to activate GPRS/CSD context
"IP IND" It is activating GPRS/CSD context
"IP GPRSACT" GPRS/CSD context has been activated successfully
"IP STATUS" The local IP address has been gotten by the command
AT+QILOCIP
"TCP CONNECTING" It is trying to establish a TCP connection
"UDP CONNECTING" It is trying to establish a UDP connection
"IP CLOSE" The TCP/UDP connection has been closed
"CONNECT OK" The TCP/UDP connection has been established successfully
"PDP DEACT" GPRS/CSD context was deactivated because of unknown
reason
When AT+QIMUX=1:
"IP INITIAL" The TCPIP stack is in idle state
"IP START" The TCPIP stack has been registered
"IP CONFIG" It has been start-up to activate GPRS/CSD context
"IP IND" It is activating GPRS/CSD context
"IP GPRSACT" GPRS/CSD context has been activated successfully
"IP STATUS" The local IP address has been gotten by the command
AT+QILOCIP
“IP PROCESSING” Data phase. Processing the existing connection now
"PDP DEACT" GPRS/CSD context was deactivated because of unknown
reason
<index> The index of the connection, the range is (0-5)
<mode> The type of the connection
"TCP" TCP connection
"UDP" UDP connection
<addr> The IP address of the remote
<port> The port of the remote
<socketstate> A string parameter to indicate the status of the access connection, including
INITIAL,CONNECTED
S: <ServerState>
When AT+QIMUX=1, respond
OK
S: <ServerState>
C : <index>,<mode>,<addr>,<port>
Otherwise respond
ERROR
Reference
Parameter
SecondaryDns: <sec_dns>
OK
Write Command Response
AT+QIDNSCFG=<pri_dns>[,<sec_dns OK
>] ERROR
Reference
Parameter
<pri_dns> A string parameter which indicates the IP address of the primary domain name server
<sec_dns> A string parameter which indicates the IP address of the secondary domain name server
NOTES
1. Because TA will negotiate to get the DNS server from GPRS/CSD network automatically when
activating GPRS/CSD context, it is STRONGLY recommended to configure the DNS server at the
status of IP GPRSACT, IP STATUS, CONNECT OK and IP CLOSE if it is necessary.
2. CSD function and configuration are not supported currently.
Parameter
OK
Read Command Response
AT+QIDNSIP? +QIDNSIP: <mode>
OK
Write Command Response
AT+QIDNSIP=<mode> OK
ERROR
Reference
Parameter
<mode> A numeric parameter indicates which kind of server format is used when establishing the
connection: IP address server or domain name server
0 The address of the remote server is a dotted decimal IP address
1 The address of the remote server is a domain name
OK
Read Command Response
AT+QIHEAD? +QIHEAD: <mode>
OK
Write Command Response
AT+QIHEAD=<mode> OK
ERROR
Reference
Parameter
<mode> A numeric parameter which indicates whether or not to add an IP header before the
received data
0 DO Not add IP header
1 Add a header before the received data, and the format is "IPD(data length):"
OK
Read Command Response
AT+QIAUTOS? +QIAUTOS: <mode>,<time>
OK
Write Command Response
AT+QIAUTOS=<mode>[,<time>] OK
ERROR
Reference
Parameter
<mode> A numeric parameter which indicates whether or not to set timer when sending data
OK
Read Command Response
AT+QIPROMPT? +QIPROMPT: <send prompt>
OK
Write Command Response
AT+QIPROMPT=<send prompt> OK
ERROR
Reference
Parameter
<send prompt> A numeric parameter which indicates whether or not to echo prompt ">" after
issuing AT+QISEND Command
0 No prompt ">" and show "SEND OK" when sending successes
1 Echo prompt ">" and show "SEND OK" when sending successes
2 No prompt and not show "SEND OK" when sending successes
3 Echo prompt ">" and show “socket ID” "SEND OK" when sending
successes
OK
Execution Command Response
AT+QISERVER OK
ERROR
If configured as server successfully, return:
SERVER OK
If configured as server unsuccessfully, return:
CONNECT FAIL
Write Command Response
AT+QISERVER=<type>[,<max>] OK
ERROR
If configured as server successfully, return:
SERVER OK
If configured as server unsuccessfully, return:
CONNECT FAIL
Reference
Parameter
NOTES
1. This command configures the module as a TCP server and the maximum allowed client is 1.
2. The parameter <max> is excluded when QIMUX is 0.
OK
Read Command Response
AT+QICSGP? +QICSGP: <mode>
OK
Write Command Response
AT+QICSGP=<mode>[,(<apn>,<user OK
name>,<password>)/(<dial ERROR
number>,<user
name>,<password>,<rate>)]
Reference
Parameter
GPRS parameters:
<apn> A string parameter which indicates the access point name
<user name> A string parameter which indicates the user name
<password> A string parameter which indicates the password
CSD parameters:
<dial number> A string parameter which indicates the CSD dial numbers
<user name> A string parameter which indicates the CSD user name
<password> A string parameter which indicates the CSD password
<rate> A numeric parameter which indicates the CSD connection rate
0 2400
1 4800
2 9600
3 14400
NOTE
OK
Read Command Response
AT+QISRVC? +QISRVC: <connection>
OK
Write Command Response
AT+QISRVC=<connection> OK
ERROR
Reference
Parameter
NOTE
There could be two connections at one time: one connection is that MS connects with a remote server as
a client; the other connection is that MS accepts a remote client as a server. Using this Command to
specify which connection data will be sent through.
Sender
OK
Read Command Response
AT+QISHOWRA? +QISHOWRA: <mode>
OK
Write Command Response
AT+QISHOWRA=<mode> OK
ERROR
Reference
Parameter
<mode> A numeric parameter which indicates whether to show the address (including IP address
in dotted decimal style and port of the remote end) before the received data or not
0 DO NOT show the address. Default
1 Show the address; the format to show the address is like: RECV FROM:
<IP ADDRESS>:<PORT>
OK
Execution Command Response
AT+QISCON OK
Reference
Parameter
The following four parameters are only for transparent transfer mode.
<nmRetry> See AT+QITCFG
<waitTm> See AT+QITCFG
<sendSz> See AT+QITCFG
<esc> See AT+QITCFG
NOTES
1. The execution command TA saves TCPIP Application Context which consists of the following AT
Command parameters, and when system is rebooted, the parameters will be loaded automatically:
AT+QIDNSIP,AT+QIPROMPT,AT+QIHEAD,AT+QISHOWRA, AT+QICSGP, AT+QITCFG.
2. The execution command only save the corresponding parameters of the foreground context (refer to
AT+QIFGCNT).
3. CSD configuration is not supported at present.
OK
Read Command Response
AT+QIMODE? +QIMODE: <mode>
OK
Write Command Response
AT+QIMODE=<mode> OK
ERROR
Reference
Parameter
<mode> 0 Normal mode. In this mode, the data should be sent by the command
AT+QISEND
1 Transparent mode. In this mode, UART will enter data mode after TCP/UDP
connection has been established. In data mode, all input data from UART will be
sent to the remote end. +++ can help to switch data mode to command mode. And
then ATO can help to switch command mode to data mode
OK
Read Command Response
OK
Write Command Response
AT+QITCFG=<NmRetry>,<WaitTm>,< OK
SendSz>,<esc> ERROR
Reference
Parameter
NOTES
Type
OK
Read Command Response
AT+QISHOWPT? +QISHOWPT: <mode>
OK
Write Command Response
AT+QISHOWPT=<mode> OK
ERROR
Reference
Parameter
<mode> 0 DO NOT show the transport protocol type at the end of header of the received
TCP/UDP data
1 Show the transport protocol type at the end of header of the received TCP/UDP
data as the following format.IPD(data length)(TCP/UDP):
NOTE
Session
OK
Read Command Response
AT+QIMUX? +QIMUX: <mode>
OK
Write Command Response
AT+QIMUX=<mode> OK
ERROR
Reference
Parameter
Address
OK
Read Command Response
AT+QISHOWLA? +QISHOWLA: <mode>
OK
Write Command Response
AT+QISHOWLA=<mode> OK
ERROR
Reference
Parameter
<mode> A numeric parameter indicates whether to show the destination address before the
received data or not
0 DO NOT show the destination address
1 Show the destination address: TO:<IP ADDRESS>
NOTE
Because M35 can activate two GPRS contexts at the same time. i.e. M35 can get two local IP addresses.
It is necessary to point out the destination of the received data when two GPRS contexts have been
activated at the same time.
OK
Read Command Response
OK
Write Command Response
AT+QIFGCNT=<id> OK
ERROR
Reference
Parameter
<id> A numeric indicates which context will be set as foreground context. The range is 0-1
<channel> A numeric indicates which channel is controlling the context <id>
0 VIRTUAL_UART_1
1 VIRTUAL_UART_2
2 VIRTUAL_UART_3
3 VIRTUAL_UART_4
255 The context is not controlled by any channel
NOTE
When CMUX is opened, if the status of the context defined by <id> is not IP_INITIAL and the context is
controlled by the other channel, it will return ERROR.
OK
Write Command Response
AT+QISACK=<n> +QISACK: <sent>, <acked>, <nAcked>
OK
Reference
Parameter
NOTES
1. This command is invalid when QIMUX was set as 0 by the command AT+QIMUX=0.
2. This command could be affected by the command AT+QISRVC. If the QISRVC was set as 1, this
command is used to query the information of sending data during the session in which M35 serves as
a client. If the QISRVC was set as 2, this command is used to query the data information for sending
during the session in which M35 serves as a server.
OK
Read Command Response
AT+QINDI? +QINDI: <m>
OK
Write Command Response
AT+QINDI=<m> OK
ERROR
Reference
Parameter
<m> A numeric indicates how the mode handles the received data
0 Output the received data through UART directly. In the case, it probably includes
header at the beginning of a received data packet. Please refer to the commands.
AT+QIHEAD,AT+QISHOWRA, AT+QISHOWPT,AT+QISHOWLA
1 Output a notification statement “+QIRDI: <id>,<sc>,<sid>” through UART. This
statement will be displayed only one time until all the received data from the
connection (defined by <id>,<sc>,<sid>) has been retrieved by the command
AT+QIRD<id> A numeric points out which context the connection for the received
data is based on. Please refer to the parameter <id> in the command
AT+QIFGCNT. The range is 0-1
<sc> A numeric points out the role of M35 in the connection for the received data.
1 The module serves as the client of the connection
2 The module serves as the server of the connection
<sid> A numeric indicates the index of the connection for the received data. The range is 0-5
When QIMUX was set as 0 by the command AT+QIMUX=0, this parameter will be always
0.
OK
Write Command Response
AT+QIRD=<id>,<sc>,<sid>,<len> [+QIRD:
<ipAddr>:<port>,<type>,<length><CR><LF><data>]
OK
ERROR
Reference
Parameter
<id> A numeric points out which context the connection for the received data is based on.
Please refer to the parameter <id> in the command AT+QIFGCNT. The range is 0-1
<sc> A numeric points out the role of M35 in the connection for the received data
1 The module serves as the client of the connection
2 The module serves as the server of the connection
<sid> A numeric indicates the index of the connection for the received data. The range is 0-5.
When QIMUX was set as 0 by the command AT+QIMUX=0, this parameter will be always
0
<len> The maximum length of data to be retrieved. The range is 1-1500
<ipAddr> The address of the remote end. It is a dotted-decimal IP
<port> The port of the remote end
<type> An alpha string without quotation marks indicates the transport protocol type
TCP the transport protocol is TCP
NOTES
1. <id>, <sc> and <sid> are the same as the parameters in the statement “+QIRDI: <id>,<sc>,<sid>”.
2. If it replies only OK for the write command, it means there is no received data in the buffer of the
connection.
11.32. AT+QISDE Control Whether or Not to Echo the Data for QISEND
OK
Read Command Response
AT+QISDE? +QISDE: <m>
OK
Write Command Response
AT+QISDE=<m> OK
ERROR
Reference
Parameter
<m> A numeric indicates whether or not to echo the data for AT+QISEND
0 Do not echo the data
1 Echo the data
OK
Write Command Response
AT+QPING=“<host>”[,[<timeout>][,<p OK
ingnum>]]
[+QPING:
<result>[,<ipAddr>,<bytes>,<time>,<ttl>]<CR><LF>
…]<CR><LF>
+QPING:<finresult>[,<sent>,<rcvd>,<lost>,<min>,<max>,
<avg>]
ERROR
Reference
Parameter
<host> The host address in string style. It could be a domain name or a dotted decimal IP address
<timeout> A numeric gives the maximum time to wait for the response of each ping request. Unit:
second. Range: 1-255. Default: 1
<pingnum> A numeric indicates the maximum time of ping request. Range: 1-10. Default: 4
<result> The result of each ping request
0 Received the ping response from the server. In the case, it is followed by
“,<ipAddr>,<bytes>,<time>,<ttl>”
1 Timeout for the ping request. In the case, no other information follows it
<ipAddr> The IP address of the remote server. It is a dotted decimal IP
<bytes> The length of sending each ping request
<time> The time expended to wait for the response for the ping request. Unit: ms
<ttl> The value of time to live of the response packet for the ping request
<finresult> The final result of the command
2 It is finished normally. It is successful to activate GPRS and find the host. In the
case, it is followed by “,<sent>,<rcvd>,<lost>,<min>,<max>,<avg>”
3 The TCP/IP stack is busy now. In the case, no other information follows it
4 Do NOT find the host. In the case, no other information follows it
5 Failed to activate PDP context. In the case, no other information follows it
<sent> Total number of sending the ping requests
<rcvd> Total number of the ping requests that received the response
<lost> Total number of the ping requests that were timeout
<min> The minimum response time. Unit: ms
<max> The maximum response time. Unit: ms
<avg> The average response time. Unit: ms
OK
Read Command Response
AT+QNTP? +QNTP: "<server>",<port>
OK
Execution Command Response
AT+QNTP OK
+QNTP: <result>
Write Command Response
AT+QNTP="<server>"[,<port>] OK
+QNTP: <result>
ERROR
Reference
Parameter
<server> The address of the Time Server in string style. It could be a domain name or a dotted
decimal IP address
<port> The port of the Time Server
<result> The result of time synchronization
0 Successfully synchronize the local time
1 Failed to synchronize the local time because of unknown reason
2 Failed to receive the response from the Time Server
3 The TCP/IP stack is busy now
4 Do Not find the Time Server
5 Failed to activate PDP context
NOTE
The factory Time Server is the National Time Service Centre of China whose address is "210.72.145.44"
and port is 123.
12 Supplementary Service
Commands
OK
If error is related to ME functionality:
+CME ERROR: <err>
Write Command Response
AT+CACM=[<passwd>] TA resets the advice of charge related Accumulated Call
Meter (ACM) value in SIM file EF (ACM). ACM contains the
total number of home units for both the current and preceding
calls.
OK
If error is related to ME functionality:
+CME ERROR: <err>
Reference
GSM 07.07
Parameter
<acm> String type; three bytes of the current ACM value in hexa-decimal format (e.g. “00001E”
indicates decimal value 30)
000000 – FFFFFF
<passwd> String type: SIM PIN2
Query
OK
If error is related to ME functionality:
+CME ERROR: <err>
Write Command Response
AT+CAMM=[<acmmax>[,<passwd>]] TA sets the advice of charge related Accumulated Call Meter
maximum value in SIM file EF (ACM max). ACM max
contains the maximum number of home units allowed to be
consumed by the subscriber.
OK
If error is related to ME functionality:
+CME ERROR: <err>
Reference
GSM 07.07
Parameter
<acmmax> String type; three bytes of the max. ACM value in hex-decimal format (e.g. “00001E”
indicates decimal value 30)
000000
Disable ACM max feature
000001-FFFFFF
<passwd> String type: SIM PIN2
OK
Read Command Response
AT+CAOC? +CAOC: <mode>
OK
Write Command Response
AT+CAOC=<mode> TA sets the advice of charge supplementary service function
mode.
If error is related to ME functionality:
+CME ERROR: <err>
If <mode>=0, TA returns the current call meter value
+CAOC: <ccm>
OK
If <mode>=1, TA deactivates the unsolicited reporting of
CCM value
OK
If <mode>=2. TA activates the unsolicited reporting of CCM
value
OK
Reference
GSM 07.07
Parameter
OK
Write Command Response
AT+CCFC=<reads>,<mode>[,<numbe TA controls the call forwarding supplementary service.
OK
If no call forwarding numbers are registered (and therefore all
classes are
inactive):
+CCFC: <status>, <class>
OK
where <status>=0 and <class>=15
If error is related to ME functionality:
+CME ERROR: <err>
Reference
GSM 07.07
Parameter
<reads> 0 Unconditional
1 Mobile busy
2 No reply
3 Not reachable
4 All call forwarding (0-3)
5 All conditional call forwarding (1-3)
<mode> 0 Disable
1 Enable
2 Query status
3 Registration
4 Erasure
<number> Phone number in string type of forwarding address in format specified by <type>
<type> Type of address in integer format; default value is 145 when dialing string includes
international access code character “+”, otherwise 129
<subaddr> String type sub-address of format specified by <satype>
<satype> Type of sub-address in integer
<class> 1 Voice
2 Data
4 FAX
7 All telephony except SMS
8 Short message service
16 Data circuit sync
32 Data circuit async
<time> 1…30 When “no reply” (<reads>=no reply) is enabled or queried, this gives the time in
seconds to wait before call is forwarded, default value is 20
<status> 0 Not active
1 Active
Example
AT+CCFC=0,3,”15021012496” // Register the destination number for unconditional call
forwarding (CFU)
OK
AT+CCFC=0,2 // Query the status of CFU without specifying <class>
+CCFC: 1,1,"+8615021012496",145
+CCFC: 1,4,"+8615021012496",145
+CCFC: 1,32,"+8615021012496",145
+CCFC: 1,16,"+8615021012496",145
OK
AT+CCFC=0,4 // Erase the registered CFU destination number
OK
AT+CCFC=0,2 // Query the status, no destination number
+CCFC: 0,7
OK
OK
Write Command Response
AT+CCUG=[<n>][,<index>[,<info>]] TA sets the closed user group supplementary service
parameters as a default adjustment for all following calls.
OK
If error is related to ME functionality:
+CME ERROR: <err>
Reference
GSM 07.07
Parameter
OK
Read Command Response
AT+CCWA? +CCWA: <n>
OK
Write Command Response
AT+CCWA=[<n>][,<mode>[,<class>]] TA controls the call waiting supplementary service. Activation,
deactivation and status query are supported.
If <mode><>2 and command successful
OK
If <mode>=2 and command successful
+CCWA:<status>,<class1>[<CR><LF>+CCWA:<status>,<
class2>[...]]
OK
If error is related to ME functionality:
+CME ERROR: <err>
Reference
GSM 07.07
Parameter
NOTES
1. <status>=0 should be returned only if service is not active for any <class> i.e. +CCWA: 0, 7 will be
returned in this case.
2. When <mode>=2, all active call waiting classes will be reported. In this mode the command is
abortable by pressing any key.
3. Unsolicited result code
When the presentation call waiting at the TA is enabled (and call waiting is enabled) and a terminating
call set up during an established call, an unsolicited result code is returned:
+CCWA: <number>,<type>,<class>[,<alpha>]
Parameters
<number> Phone number in string type of calling address in format specified by <type>
<type> Type of address octet in integer format
129 Unknown type (IDSN format number)
145 International number type (ISDN format )
<alpha> Optional string type alphanumeric representation of <number> corresponding to the
entry found in phone book
Example
OK
Write Command Response
AT+CHLD=[<n>] TA controls the supplementary services call hold, multiparty
and explicit call transfer. Calls can be put on hold, recovered,
released, added to conversation and transferred.
OK
If error is related to ME functionality:
+CME ERROR: <err>
Reference
GSM 07.07
Parameter
<n> 0 Terminate all held calls or UDUB (User Determined User Busy) for a waiting call. If
a call is waiting, terminate the waiting call. Otherwise, terminate all held calls (if
any)
1 Terminate all active calls (if any) and accept the other call (waiting call or held
call). It can not terminate active call if there is only one call
1X Terminate the specific call number X (X= 1-7)( active, waiting or held)
2 Place all active calls on hold (if any) and accept the other call (waiting call or held
call) as the active call
2X Place all active calls except call X (X= 1-7) on hold
3 Add the held call to the active calls
NOTE
These supplementary services are only available to the teleservice 11 (Speech: Telephony).
Example
ATD10086; // Establish a call
OK
OK
AT+CHLD=21 // Place the active call except call X=1 on hold
OK
AT+CLCC
+CLCC: 1,0,0,0,0,"10086",129,"" // The first call becomes active
OK
AT+CHLD=3 // Add a held call to the active calls in order to set up a
conference (multiparty) call
OK
AT+CLCC
+CLCC: 1,0,0,0,1,"10086",129,""
+CLCC: 2,1,0,0,1,"02154450293",129,""
OK
OK
Read Command Response
AT+CLIP? +CLIP: <n>,<m>
OK
Write Command Response
AT+CLIP=[<n>] TA enables or disables the presentation of the calling line
identity (CLI) at the TE. It has no effect on the execution of the
supplementary service CLIP in the network.
OK
If error is related to ME functionality:
+CME ERROR: <err>
Reference
GSM 07.07
Parameter
NOTE
Example
AT+CPBW=1,"02151082965",129,"QUECTEL"
OK
AT+QCLIP=1
OK
AT+CLIP=1
OK
RING
+CLIP: "02151082965",129,"",,"QUECTEL",0
OK
Read Command Response
AT+CLIR? +CLIR: <n>,<m>
OK
Write Command Response
AT+CLIR=[<n>] TA restricts or enables the presentation of the calling line
identity (CLI) to the called party when originating a call.
The command overrides the CLIR subscription (default is
restricted or allowed) when temporary mode is provisioned as
a default adjustment for all following outgoing calls. This
adjustment can be revoked by using the opposite Command.
OK
If error is related to ME functionality:
+CME ERROR: <err>
Reference
GSM 07.07
Parameter
<m> (Parameter shows the subscriber CLIR service status in the network)
0 CLIR not provisioned
1 CLIR provisioned in permanent mode
2 Unknown (e.g. no network, etc.)
3 CLIR temporary mode presentation restricted
4 CLIR temporary mode presentation allowed
OK
Read Command Response
AT+COLP? +COLP: <n>,<m>
OK
Write Command Response
AT+COLP=[<n>] TA enables or disables the presentation of the COL
(Connected Line) at the TE for a mobile originating a call. It
has no effect on the execution of the supplementary service
COLR in the network.
Intermediate result code is returned from TA to TE before any
+CR or V.25ter responses.
OK
Reference
GSM 07.07
Parameter
<n> (Parameter sets/shows the result code presentation status in the TA)
0 Disable
1 Enable
<m> (Parameter shows the subscriber COLP service status in the network)
0 COLP not provisioned
1 COLP provisioned
2 Unknown (e.g. no network, etc.)
NOTE
Example
AT+CPBW=1,"02151082965",129,"QUECTEL"
OK
AT+QCOLP=1
OK
AT+COLP=1
OK
ATD02151082965;
+COLP: "02151082965",129,"",0,"QUECTEL"
OK
OK
Write Command Response
AT+CPUC=<currency>,<ppu>[,<pass OK
wd>] If error is related to ME functionality:
+CME ERROR: <err>
Reference
GSM 07.07
Parameter
<currency> String type; three-character currency code (e.g. "GBP", "DEM"); character set as specified
by command select TE character set +CSCS
<ppu> String type; price per unit; dot is used as a decimal Separator (e.g. "2.66")
<passwd> String type; SIM PIN2
OK
Read Command Response
AT+CCWE? +CCWE: <mode>
OK
Write Command Response
AT+CCWE=[<mode>] OK
If error is related to ME functionality:
+CME ERROR: <err>
Reference
GSM 07.07
Parameter
NOTE
OK
Read Command Response
AT+CUSD? +CUSD: <n>
OK
Write Command Response
AT+CUSD=[<n>[,<str>[,<dcs>]] OK
If error is related to ME functionality:
+CME ERROR: <err>
Reference
GSM 07.07
Parameter
<n> A numeric parameter which indicates control of the unstructured supplementary service data
0 Disable the result code presentation in the TA
1 Enable the result code presentation in the TA
2 Cancel session (not applicable to read command response)
<str> String type USSD-string
<dcs> Cell Broadcast Data Coding Scheme in integer format (default 0)
Example
AT+CSCS=“UCS2”
OK
AT+CUSD=1,"002A0031003000300023"
+CUSD:
1,"0031002E59296C14000A0032002E65B095FB000A0033002E8BC15238000A0034002E5F6979680
00A0035002E751F6D3B000A0036002E5A314E50000A0037002E5E385DDE98CE91C7000A002A002
E900051FA000A", 72
OK
OK
Read Command Response
AT+CSSN? +CSSN: <n>,<m>
OK
Write Command Response
AT+CSSN=[<n>[,<m>]] OK
If error is related to ME functionality:
+CME ERROR: <err>
Reference
GSM 07.07
Parameter
13 Audio Commands
Parameter
NOTE
The two commands ATL and ATM are implemented only for V.25 compatibility reasons and have no
effect.
Parameter
NOTE
The two commands ATL and ATM are implemented only for V.25 compatibility reasons and have no
effect.
OK
Read Command Response
AT+VTD? +VTD: <internalduration>,<duration>
OK
Write Command Response
AT+VTD=<internalduration>[,<duratio This command refers to an integer <internalduration> that
n>] defines the length of tones emitted as a result of the +VTS
command. This does not affect the D command.
OK
Reference
GSM 07.07
Parameter
OK
Write Command Response
AT+VTS=<dtmf-string> This command allows the transmission of DTMF tones and
arbitrary tones in voice mode. These tones may be used (for
example) when announcing the start of a recording period.
OK
If error is related to ME functionality:
+CME ERROR: <err>
Reference
GSM 07.07
Parameter
<dtmf-string> It has a max length of 20 characters, must be entered between double quotes (" ") and
consists of combinations of the following separated by commas. But a single character
does not require quotes
1) <dtmf> A single ASCII characters in the set 0-9, #,*, A-D. This is
interpreted as a sequence of DTMF tones whose duration
is set by the +VTD command
2) {<dtmf>, <duration>} This is interpreted as a DTMF tone whose duration is
determined by <duration>
<duration> Duration of the tone in 1/10 seconds range :1-255
Example
ATD10086; // Establish a call
OK
AT+VTS=1 // Send a single DTMF tone according to the prompts of voice
OK
OK
Read Command Response
AT+CALM? +CALM: <mode>
OK
Write Command Response
AT+CALM=<mode> OK
If error is related to ME functionality:
+CME ERROR: <err>
Reference
GSM 07.07
Parameter
OK
Read Command Response
AT+CRSL? +CRSL: <level>
OK
Write Command Response
AT+CRSL=<level> OK
If error is related to ME functionality:
+CME ERROR: <err>
Reference
GSM 07.07
Parameter
<level> Integer type value(0-100) with manufacturer specific range (Smallest value represents the
lowest sound level)
OK
Read Command Response
AT+CLVL? +CLVL: <level>
OK
Write Command Response
AT+CLVL=<level> OK
If error is related to ME functionality:
+CME ERROR: <err>
Reference
GSM 07.07
Parameter
<level> Integer type value(0-100) with manufacturer specific range (Smallest value represents
the lowest sound level)
OK
Read Command Response
AT+CMUT? +CMUT: <n>
OK
Write Command Response
AT+CMUT=<n> OK
If error is related to ME functionality:
+CME ERROR: <err>
Reference
GSM 07.07
Parameter
OK
Read Command Response
AT+QSIDET? +QSIDET(NORMAL_AUDIO): <gainlevel>
OK
+QSIDET(HEADSET_AUDIO): <gainlevel>
OK
Write Command Response
AT+QSIDET=<gainlevel> OK
If error is related to ME functionality:
+CME ERROR: <err>
Reference
GSM 07.07
Parameter
NOTES
OK
Read Command Response
AT+QMIC? +QMIC:
<gainlevel(Normal_Mic)>,<gainlevel(Headset_Mic)>,<gai
nlevel(Loudspeaker_Mic)>
OK
Write Command Response
AT+QMIC=<channel>,<gainlevel> OK
If error is related to ME functionality:
+CME ERROR: <err>
Reference
Parameter
AT+CCLK Clock
Test Command Response
AT+CCLK=? OK
Read Command Response
AT+CCLK? +CCLK: <time>
OK
Write Command Response
AT+CCLK=<time> OK
If error is related to ME functionality:
+CME ERROR: <err>
Reference
GSM 07.07
Parameter
<time> String type value; format is "yy/MM/dd,hh:mm:ss±zz", where characters indicate year (two
last digits),month, day, hour, minutes, seconds and time zone (indicates the difference,
expressed in quarters of an hour, between the local time and GMT; range -48...+48). E.g.
May 6th, 1994, 22:10:00 GMT+2 hours equals to "94/05/06,22:10:00+08"
Example
AT+CCLK? // Query the local time
+CCLK: "08/01/04, 00:19:43+00"
OK
OK
Execution Command Response
AT+CBC +CBC: <bcs>, <bcl>,<voltage>
OK
If error is related to ME functionality:
+CME ERROR: <err>
Reference
GSM 07.07
Parameter
Temperature
OK
Read Command Response
AT+QTEMP? QTEMP: <mode><Temperature>
OK
Write Command Response
AT+ QTEMP=<mode> OK
ERROR
Reference
Parameter
OK
Read Command Response
AT+QSCLK? +QSCLK: <n>
OK
Write Command Response
AT+QSCLK=<n> OK
Reference
Parameter
15 Others Commands
NOTE
This command does not work when the serial multiplexer is active. It does not have to end with
terminating character.
Example
AT
OK
A/ // Re-issues the previous command
OK
Parameter
OK
Write Command Response
ATS3=<n> This parameter setting determines the character recognized
by TA to terminate an incoming command line. The TA also
returns this character in output.
OK
Reference
V.25ter
Parameter
OK
Write Command Response
ATS4=<n> This parameter setting determines the character generated
by the TA for result code and information text.
OK
Reference
V.25ter
Parameter
OK
Write Command Response
ATS5=<n> This parameter setting determines the character recognized
by TA as a request to delete the immediately preceding
character from the command line.
OK
Reference
V.25ter
Parameter
OK
Read Command Response
AT+DS? +DS: <p0>,<n>,<p1>,<p2>
OK
Write Command Response
AT+DS=[<p0>[,<n>[,<p1>[,<p2>]]]] This parameter setting determines the possible data
Parameter
<p0> 0 NONE
<n> 0 Allow negotiation of <p0> down
1 Do not allow negotiation of <p0> - disconnect on difference
<p1> 512-4096 Dictionary size
<p2> 6-250 Maximum string size (Default value is 6)
NOTES
OK
Read Command Response
AT+DR? +DR: <value>
OK
Write Command Response
AT+DR=[<value>] This parameter setting determines whether or not
intermediate result code of the current data compressing is
reported by TA to TE after a connection is established.
OK
Reference
V.25ter
Parameter
OK
Read Command Response
AT+QRIMODE? +QRIMODE: <timemode>
OK
Write Command Response
AT+QRIMODE=<timemode> OK
Parameter
16 Appendix A Reference
Abbreviation Description
ME Mobile Equipment
TA Terminal Adapter
MS Mobile Station
TE Terminal Equipment