+CPMS: (list of supported <mem1>s),
(list of supported <mem2>s)
<CR><LF><CR><LF>OK<CR><LF>
parameter
<mem1>:Value of character string, indicating the storage media for receiving
list SMS
“MT”:receiving SMS storage
<mem2>:Value of character string, indicating the storage media for writing
SMS
“MO”:sending SMS storage
<used1>:indicating the current number of messages in <mem1>
<total1>:indicating the total number of messages saved in <mem2>
<used2>:indicating the current number of messages in <mem1>
<total2>:indicating the total number of messages saved in <mem2>
note
READ command is used to return the name and using information of current
selected storage media. TEST command is used to return all types of storage
media MT supports
description
Set command is used to set the procedure that new messages are reported to TE.
<CR><LF>+CNMI: (list of supported
<mode>s),(list of supported <mt>s),(list
of supported <bm>s),(list of supported
<ds>s),(list of supported <bfr>s)
<CR><LF><CR><LF>OK<CR><LF>
parameter
<mode>: set the message notice method (currently support mode=1).
0: cache the message notice in ME. If ME‟s cache memory is full, new notice
will cover the older one
1: directly send the message notice to TE. When it is unable to send (e.g.. under
online data mode), give up the notice(default)
2: directly send the message notice and message status report to TE. When it is
unable to send (e.g.. under online data mode), cache the message notice into ME,
and send to TE at a time
Note: Message notice will be cached in volatile memory. If MT is powered off
before sending, the message could lose. Therefore, as <mode>=0 or 2, can‟t use
the message to directly forward (<mt>=2 and 3)
<mt>: used to set the message storage and notice rules
1. save SMS_DELIVER to MT, and send a notice to TE(default)
+CMTI: <mem>,<index>
2. not save SMS_DELIVER to MT, and send SMS_DELIVER to TE directly
+ZCMT:<callerID>,<year>,<month>,<day>,<hour>,<minute>,<second>,<lang>,
<format>,<length>,<prt>,<prv>,<type>,<tag><CR><LF><msg> <CTRL+Z>
3. save SMS_DELIVER to MT, and not send a notice to TE
<bm>: used to set cell broadcast information, do not temporarily support(default
is 0)
<ds>: used to set the message receipt
0: do not send the message receipt to TE
1: do not save the message receipt to MT, but send to TE
+ZCDS:<callerID>,<year>,<month>,<day>,<hour>,<minute>,<second>,<lang>,
<format>,<length>,<prt>,<prv>,<type>,<tag><CR><LF><msg> <CTRL+Z>
2: save the message receipt to MT, and send a notice to TE through +CDSI to
show the storage location
+CDSI: <mem>,<index>
<bfr>: used to set the cache processing from <mode>=0 to <mode>=1, 2
0: after entering <mode>1-2, send unsolicited result code to TE at a time(default)
1: after entering <mode>1-2, clear unsolicited result code
Manual
6
AT Command User
note
<mode> and <bfr> are used to set new message alert(including +CMTI,
+ZCMT, +CDSI, +ZCDS)
<mt> is used to set directly report to TE or save in MT and report the storage
location when receiving new message
<bm> do not use it temporarily
<ds> is used to set whether or not report SMS status report(+CDSI, +ZCDS)
Default:
+CNMI=1,1,0,2,0
description
Indicates new messages are received (or new message report)
format
<CR><LF>+CMTI: <mem>,<index>
<CR><LF>
parameter
<mem>
type of memory, currently support "MT" only, other memory optional
"BM": broadcast message memory
"ME": ME message memory
"MT": memory relating to ME
"TA": TA message memory
"SR": status report memory
<index>
value of integral type, the location in memory
description
Indicates new message status report is received and show the storage
location.
format
<CR><LF>+CDSI: <mem>,<index>
<CR><LF>
parameter
<mem>: message memory
"MT":ROM message memory
<index>
value of integral type, location in memory
description
Execution command is used to delete the messages at <index> in <mem1>
format
AT+CMGD=<index>[,<delflag>]
<CR><LF>OK<CR><LF>
otherwise:
+CMS ERROR: <err>
AT+CMGD=?
<CR><LF>+CMGD:
(list of supported <index>s)[,(list of
supported <delflag>s)]
<CR><LF><CR><LF>OK<CR><LF>
Manual
1.1.3 +CMTI: Message Arrival Indication
1.1.4 +CDSI: New Message Status Report
1.1.5 +CMGD: Delete Messages
7
AT Command User
parameter
<index>: the messages storage location.
<delflag>
0: (or default) delete the messages designated by <index>.
1: delete all read messages in first prior memory, save unread messages,
sent messages and unsent messages
2: delete all read and sent messages in first prior memory, save unread
messages and unsent messages
3: delete all read, sent and unsent messages in first prior memory, save
unread messages
4: delete all messages including unread messages in first prior memory
Execution command is used to acknowledge the receipt of new message
directly sent to TE. For the use of this command, please refer to the
descriptions of +CNMI command
format
AT+CNMA
<CR><LF>OK<CR><LF>
if there is any error regarding message:
<CR><LF>+CMS
ERROR:<err><CR><LF>
AT+CNMA=?
<CR><LF>OK<CR><LF>
note
Before the acknowledge of previous message, MT would not sent TE
another +ZCMT or +ZCDS result code.
If MT doesn‟t obtain the acknowledge in specified period of time (network
timeout), MT would send RP-ERROR to network and automatically set the
parameter <mt> and <ds> of +CNMI command as 0. It would forbid
sending message notice to TE. If it requires MT to report the message
notice again, you need set <mt> & <ds> again
If the command is executed, but the message is not acknowledged, return
with ERROR.
Test command is used to <n> value supported by the command. If it
supports 0 only, it means the command doesn‟t support send by TPDU
Mandatory when <service> value 1 of command Select Message Service
+CSMS is supported
description
When SMS storage memory is full, it will report the message
format
<CR><LF>+ZSMMEMFULL:<mem_type>
<CR><LF>
Manual
1.1.6 +CNMA: Acknowledge New Messages
1.2 Proprietary Interface: SMS Interface
1.2.1 +ZSMMEMFULL: SMS Storage memory full
8
AT Command User
parameter
<mem_type>
value of character string, indicating the type of full storage memory
“ME”: indicating NV
example
+ZSMMEMFULL: “ME”
description
Don‟t save newly received messages, and report to TE directly
<callerID>: number of message sender
<year, month, day, hour, minute, second>: year, month, day, hour, minute,
second when received SMS
<lang>: language, refer to +ZCMGW to take the value
<format>: indicating the coding format of the message, refer to +ZCMGW to
take the value
<length>: the length of received message. <prt>: message priority level, refer
to +ZCMGW to take the value
<prv>: Privacy level, refer to +ZCMGR to take the value
<type>: type of message, refer to +ZCMGR to take the value
<tag>: value of integral number, SMS status, refer to +ZCMGR to take the
value
<msg>: received SMS. Control characters
<ctrl-Z>: indicating the ending of one message, character:'0x1A'(Unicode:
'0x001A')
<ESC>: cancel the sending of the message,character: '0x1B'(Unicode:
'0x001B')
description
Don‟t save newly received messages, and directly report to TE
<callerID>: number of message sender
<year, month, day, hour, minute, second>
year, month, day, hour, minute, second when received SMS
<lang>: language, refer to +ZCMGW to take the value
<format>
indicating the coding format of the message, refer to +ZCMGW to take the value
<length>: the length of received message
<prt>: message priority level, refer to +ZCMGW to take the value
Manual
1.2.2 +ZCMT: Don’t save newly received messages, and report to TE directly
1.2.3 +ZCDS: New SMS Status Direct Report
9
AT Command User
<prv>: Privacy level, refer to +ZCMGR to take the value
<type>: type of message, refer to +ZCMGR to take the value
<tag>: value of integral number, SMS status, refer to +ZCMGR to take the value
<msg>: received SMS. Control characters
<ctrl-Z>: indicating the ending of one message, character: '0x1A'(Unicode:
'0x001A')
<ESC>: cancel the sending of the message,character: '0x1B'(Unicode: '0x001B')
description
Send a message to network side. It takes two steps to send a message
TEXT mode:
When GSM 7 BIT or UNICODE is used, the value of text character is shown. For
example: the UCS2 value for the character “会” is 4E1A, then, the text should be
“0x4E1A” rather than “4E1A”
<da>: number of message recipient. Take the value from 0~9,*, #, up to 20 digits.
< language >
language, take the value as below:
0: UNSPECIFIED
1: ENGLISH
2: FRENCH
3: SPANISH
4: JAPANESE
5: KOREAN
6: CHINESE
7: HEBREW
<encode>: indicating the coding method of the message, take the value as below:
0: GSM 7 BIT
1: ASCII code (coding range<=7F). Send the original characters in ASCII coding,
for example, the ASCII code for the letter A is 0x41, then the character to be
transmitted is “A”
2: IA5 (optional)
3: OCTET (optional)
4: LATIN (optional)
5: LATIN_HEBREW (optional)
6: UNICODE (coding range>7F). Send the original value in UNICODE coding.
For example, the UNICODE for the Chinese character “一” is 0x4E00, then the
Manual
1.2.4 +ZCMGS: Send Message
10
AT Command User
character to be transmitted is „0x4E00„
7: Other coding method
<ack>
0: no ack
1: need ack
<ptriority>
value of integral type, indicating the priority level of the message, take the value
as below:
0: Normal
1: Interactive
2: Urgent
3: Emergency
<mr>: message symbol
<data>: message date
<ctrl-Z>: indicating the ending of one message. Under non-UNICOD:'0x1A';
under UNICOD:'0x001A'
<ESC>: Cancel the sending of the message. Under non-UNICOD:'0x1B', under
UNICOD:'0x001B'
example
AT+ZCMGS=13554890280,1,1,1,0
<CR>414243<ctrl-Z>
+ZCMGS:4
OK
description
Save message into <mem2> through +CPMS command, and you could save it
into ME
<oa/da>
number of message sender/recipient. Take the value from 0~9,*, #, up to 20
digits
< tooa/toda>
address coding method. The number of one byte, this parameters works as the
address coding is 8bit. Now 4bit coding is used, therefore this parameter doesn‟t
work. The value is fixed to be 0
The higher four digits is number type:
0: UNKNOWN
1: INTERNATIONAL
The lower four digits is number plan:
0: UNKNOWN
Manual
1.2.5 +ZCMGW: Write Message to Memory
11
AT Command User
1: TELEPHONY
<stat>
value of integral type, indicating the storage status of SMS, take the value as
below:
0: received unread messages
1: received read messages
2: saved unsent messages
3: saved sent messages
4: all messages (the value is only applicable for +CMGL command)
<lang>
language take the value as below:
0: UNSPECIFIED
1: ENGLISH
2: FRENCH
3: SPANISH
4: JAPANESE
5: KOREAN
6: CHINESE
7: HEBREW
<ptr>
value of integral type, indicating the priority level of the message, take the value
as below:
0: Normal
1: Interactive
2: Urgent
3: Emergency
<year>,<month>,<day>,<hour>,<minute>,<second>: year, month, day, hour,
minute, second when received SMS.
<index>: the location number in memory, take a decimal from 0~9, and the
value ranges from 0 to the max. capacity of the memory.
<format>: indicating the coding method of the message, take the value as below:
0: GSM 7 BIT
1: ASCII code (coding range<=7F). Send the original characters in ASCII
coding, for example, the ASCII code for the letter A is 0x41, then the character
to be transmitted is “A”
2: IA5 (optional)
3: OCTET (optional)
4: LATIN (optional)
5: LATIN_HEBREW (optional)
6: UNICODE (coding range>7F). Send the original value in UNICODE coding.
For example, the UNICODE for the Chinese character “-” is 0x4E00, then the
character to be transmitted is „0x4E00„
7: Other coding method
<type>: type of message
Manual
12
AT Command User
0: Normal
1: CPT (Optional)
2: Voice Mail
3: SMS Report
<text>: message text
<CR>: command ending mark, indicating the ending of one command.
<ctrl-Z>: indicating the ending of one message. Under non-UNICOD:'0x1A',
and under UNICOD:'0x001A'
<ESC>: Cancel the sending of the message. Under non-UNICOD:'0x1B', and
under UNICOD:'0x001B'
description
Return all SMS index designated by <stat> from <mem1>
format
AT+ZCMGL=<stat>
Under text mode, the command is
successfully executed:
<CR><LF>+ZCMGL: <index1>,
<tag1><CR><LF>
<CR><LF>+ZCMGL: <index1>,
<tag1><CR><LF> ……
<CR><LF>OK<CR><LF>
otherwise:
+CMS ERROR: <err>
AT+ZCMGL=?
<CR><LF>+ZCMGL: (list of
supported <stat>s)
<CR><LF><CR><LF>OK
<CR><LF>
parameter
<stat>
type of message, the default value is 0
0: received unread message
1: received read message
2: saved unsent message
3: saved messages in Sent Messages
4: all sms
<index>: value of integral type, location in memory
<tag>: value of integral number, SMS status, please refer to +ZCMGR to
take the value
note
The SMS status report will be processed as a common received message.
TEST command is used to return all stat values
description
EXECUTION command is used to return the message saved at index from
<mem1>
Manual
1.2.6 +ZCMGL: List Messages
1.2.7 +ZCMGR: Read Message
13
AT Command User
format
AT+ZCMGR=<index>[,<mode>]
Under text mode, the command is
successfully executed:
<CR><LF>+ZCMGR:
<callerID>,<year>,<month>,<day>,<hour>,
<minute>,<second>,<lang>,<format>,
<length>,<prt>,<prv>,<type>,
<stat><CR><LF><msg><CTRL+Z>
<CR><LF>OK<CR><LF>
otherwise:
+CMS ERROR: <err>
AT+ZCMGR=?
<CR><LF>OK<CR><LF>
parameter
<index>: value of integral type, location in memory
<mode>: SMS status modifying mode
0: change to READ status
1: don‟t change the status
<callerID>: number of message sender
<format>: indicating the coding format of the message, refer to +ZCMGW to
take the value
<year, month, day, hour, minute,second>: year, month, day, hour, minute,
second when received SMS
<Length>: the length of received message.
<lang>: language, refer to +ZCMGW to take the value
<prt>: message priority level, refer to +ZCMGW to take the value
<Prv>: Privacy level
0: Normal
1: Restricted
2: Confidential
3: Secret
<type>: type of message
0: Normal
1: CPT
2: Voice Mail
3: SMS Report
<stat>: type of message, refer to +ZCMGW to take the value
<Msg>: received messages
<ctrl-Z>: indicating the ending of one message. Under non-UNICOD: '0x1A';
under UNICOD:'0x001A'
note
The SMS status will be revised by single board or back end according to the
value of <mode>.
description
If the message is sent successfully, report to TE through this command.
format
<CR><LF>+ZCMGSS:
<mr><CR><LF>
Manual
1.2.8 +ZCMGSS: Message Sent Report
14
Loading...
+ 32 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.