SARA-R4/N4 series-AT Commands Manual
UBX-17003787 - R09

11SIM management
Page 113 of 307
Type Syntax Response Example
OK OK
Test AT+CLAN=? OK
11.2.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î™–î™–î™–î™–SIM states reporting +USIMSTAT
+USIMSTAT
SARA-R410M-02B SARA-R410M-52B SARA-R412MModules
SARA-N4
Syntax PIN required Settings saved Can be aborted Response time Error referenceAttributes
partial No NVM No - +CME Error
11.3.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.3.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.3.3î™–î™–î™–î™–Defined values
Parameter Type Description
<mode> Number Bitmask representing which indications the +UUSIMSTAT URC is allowed to report.
See Table 9 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
• 12: voice call active, (U)SIM toolkit REFRESH proactive command delayed till call
release