1vv0301515 Rev.1
Page 40 of 59
2018-07-18
2.10.4.
SMS Receiving/Reading & Sending
Use the following AT command to read a SMS received.
AT+CMGR
Example
Check the current character set.
AT+CSCS?
+CSCS: "IRA"
OK
Check the SMS format
AT+CMGF?
+CMGF: 1
Text Mode
OK
Check header parameters of SMS
AT+CSMP?
+CSMP: 0, 168, 0, 240
OK
Select memory storage "SM":
AT+CPMS="SM"
+CPMS: 15, 30, 15, 30, 15, 30
OK
Check the number of SMS stored: 15
AT+CPMS?
+CPMS: "SM", 15, 30, "SM_P", 15, 30, "SM_P", 15, 30
OK
When the module receives a new SMS, an Unsolicited Result Code is generated. This indication
may be sent to the DTE, buffered if the DTE is busy (for example, during a data call), or
discarded. To set the desired behavior, use the following command:
Select how the module notifies to the DTE the new SMS receiving from the network.
AT+CNMI=1,1,0,0,0
OK
Now, a remote device sends a SMS, the DTE displays the following URC:
+CMTI: "SM", 16
16 is the SMS index the "SM" memory
Check the number of SMS stored: 16
AT+CPMS?
+CPMS: "SM", 16, 30, "SM_P", 16, 30, "SM_P", 16, 30
OK
Read the SMS pointed by index=16. The SMS body is in yellow.
AT+CMGR=16
+CMGR: "REC UNREAD","393477928479","","2018/03/07 14:36:25+04"
SMS
#
1
OK
Содержание GL865-QUAD V4
Страница 1: ...GL865 QUAD V4 Module Software User Guide 1vv0301515 Rev 1 2018 07 18...
Страница 11: ...1vv0301515 Rev 1 Page 11 of 59 2018 07 18 Related Documents 1 GL865 QUAD V4 Hardware User Guide 1vv0301518...
Страница 14: ...1vv0301515 Rev 1 Page 14 of 59 2018 07 18 Check the module identification AT CGMM GL865 QUAD V4 OK...
Страница 49: ...1vv0301515 Rev 1 Page 49 of 59 2018 07 18 Establish the voice call using the index ATD 3 OK...
Страница 59: ...04 2016 Mod 0815...