User Manual

Table Of Contents
SARA-R4 series-AT commands manual
UBX-17003787 - R16
11SIM management
Page 122 of 401
11.3.3Defined values
Parameter Type Description
<code> String It is a two-letter abbreviation of the language. The language codes, as defined in ISO
639, consists of two characters, e.g. "en", "it" etc
11.3.4Notes
SARA-R4 / SARA-N4
The set command is not supported.
11.4SIM states reporting +USIMSTAT
+USIMSTAT
SARA-R410M-02B SARA-R410M-52B SARA-R410M-63B SARA-R410M-73B SARA-R410M-83B
SARA-R412M
Modules
SARA-N4
Syntax PIN required Settings saved Can be aborted Response time Error referenceAttributes
partial No NVM No - +CME Error
11.4.1Description
Configures the +UUSIMSTAT URC presentation. Based on the configuration, the URC is able to report the SIM
card initialization status, the phonebook initialization status and the REFRESH proactive command execution
result.
If <state> 9 and 10 are reported, update all SIM card related parameters cached in the DTE's application
(e.g. the IMSI retrieved with +CIMI command).
11.4.2Syntax
Type Syntax Response Example
Set AT+USIMSTAT=<mode> OK AT+USIMSTAT=3
OK
Read AT+USIMSTAT? +USIMSTAT: <mode>
OK
+USIMSTAT: 3
OK
Test AT+USIMSTAT=? +USIMSTAT: (list of supported
<mode>s)
OK
+USIMSTAT: (0-7)
OK
URC +UUSIMSTAT: <state> +UUSIMSTAT: 8
11.4.3Defined values
Parameter Type Description
<mode> Number Bitmask representing which indications the +UUSIMSTAT URC is allowed to report.
See Table 7 for the meaning of each bit. The factory-programmed value is 0.
<state> Number
0: SIM card not present
1: PIN needed
2: PIN blocked
3: PUK blocked
4: (U)SIM not operational
5: (U)SIM in restricted use (FDN or BDN active)
6: (U)SIM operational (registration may be initiated)
7: SIM phonebook ready to be used (when the SIM application is active)
8: USIM phonebook ready to be used (when the USIM application is active)
9: (U)SIM toolkit REFRESH proactive command successfully concluded
10: (U)SIM toolkit REFRESH proactive command unsuccessfully concluded
11: PPP connection active, (U)SIM toolkit REFRESH proactive command delayed till
PPP deactivation