Download Multitech MTCMR-H User guide

Transcript
Chapter 3 – Supported GSM/WCDMA AT Commands
<length>
<mr>
<pdu>
<ra>
<sca>
<st>
<stat>
<stat>
<tora>
<tosca>
<alpha>
<data>
<vp>
Text Mode (AT+CMGF=1): Number of Characters
PDU Mode (AT+CMGF=0): Length of the TP Data Unit in Bytes
Integer type
Message Reference
Integer type
SMS User Data in PDU Mode
String type (hexadecimal format)
Recipient Address
String type
Service Center Address
String type
Status of a SMS-STATUS-REPORT
Integer type
Status of Message in Memory (PDU Mode)
0
Received unread messages
1
Received read messages
2
Stored unsent messages
3
Stored sent messages
Status of Message in Memory (Text Mode)
“REC UNREAD” Received unread messages
“REC READ”
Received read messages
“STO UNSENT”
Stored unsent messages
“STO SENT”
Stored sent messages
Type of Address of <ra>
129
ISDN / telephony numbering plan, national / international unknown
145
ISDN / telephony numbering plan, international number
161
ISDN / telephony numbering plan, national number
128-255
Other values (refer GSM 04.08 section 10.5.4.7)
Type of Address of <sca>
129
ISDN / telephony numbering plan, national / international unknown
145
ISDN / telephony numbering plan, international number
161
ISDN / telephony numbering plan, national number
128-255
Other values (refer GSM 04.08 section 10.5.4.7)
Associated Phonebook Name
String type
SMS User Data in Text Mode
String type
Validity Period
In text mode is only coded in "relative" format.
This means that one byte can describe different values.
0 to 143
(VP + 1) x 5 minutes (up to 12 hours)
144 to 167 12 hours + ( (VP – 143) x 30 minutes )
168 to 196 (VP – 166) x 1 day
197 to 255 (VP – 192) x 1 week
Examples:
Command
AT+CMGR=1
Note: Read the message
AT+CMGR=1
Note: Read the message again
AT+CMGR=2
Responses
AT+CMTI: “SM”,1
Note: New message received
+CMGR: “REC UNREAD”,
”0146290800”,”98/10/01,18:22:11+00” ABCdefGHI
OK
+CMGR: “REC READ”,
”0146290800”,”98/10/01,18:22:11+00” ABCdefGHI
OK Note: Message is read now
OK
Note: Location empty
High Speed HSPA-H4 AT Commands Reference Guide (Document S000483A)
68