User Manual

Table Of Contents
SARA-R4 series-AT commands manual
UBX-17003787 - R16
9Short Messages Service
Page 79 of 401
9.4.2Syntax
Type Syntax Response Example
Set AT+CMGF=[<mode>] OK AT+CMGF=1
OK
Read AT+CMGF? +CMGF: <mode>
OK
+CMGF: 1
OK
Test AT+CMGF=? +CMGF: (list of supported <mode>s)
OK
+CMGF: (0-1)
OK
9.4.3Defined values
Parameter Type Description
<mode> Number Indicates the format of messages used with send, list, read and write commands and
URCs resulting from receiving SMSes messages:
0 (default and factory-programmed value): PDU mode
1: text mode
9.4.4Notes
SARA-R4 / SARA-N4
The command setting is not stored in the personal profile.
The <mode> parameter is mandatory.
9.5Save settings +CSAS
+CSAS
Modules All products
Syntax PIN required Settings saved Can be aborted Response time Error referenceAttributes
full No No No - +CMS Error
9.5.1Description
Saves active message service settings from the current active memory (RAM) to non-volatile memory (NVM).
The settings related to the +CSCA (the current SMSC address stored in RAM), +CSMP and +CSCB commands
are stored in a specific SMS profile (only one profile is available).
9.5.2Syntax
Type Syntax Response Example
Set AT+CSAS[=<profile>] OK AT+CSAS
OK
Test AT+CSAS=? +CSAS: (list of supported
<profile>s)
OK
+CSAS: (0)
OK
9.5.3Defined values
Parameter Type Description
<profile> Number Specific SMS profile index where to store the active message settings. The factory-
programmed value is 0.