
RYZ014 Modules
Use Cases with AT Commands
R19AN0075EU0150 Rev.1.50
Page 7 of 76
Mar.15.22
2.1.2.3 Check the SIM Card Status after Powering on the SIM Slot
Command
Response
Comment
Check the SIM
status
AT+CPIN?
+CPIN: READY
OK
SIM card is present and unlocked, ready to use
Option: Check the SIM card state by enabling
+SQNSIMST
URC
AT+SQNSIMST=1
OK
Enable SIM state URC
AT+CFUN=4
OK
Set the modem to airplane mode to read the SIM card
+SQNSIMST: 1
Start reading the SIM card
+SQNSIMST: 5
SIM card is now ready to use
AT+SQNSIMST?
+SQNSIMST: 1,5
OK
If URC are not enabled, it is possible to check the SIM state
with this command as well
2.1.2.4 Enable SIM Lock with PIN Code
Command
Response
Comment
AT+CLCK="SC",1,"0000"
OK
"SC": SIM (lock SIM/UICC card installed in the currently selected card
slot) (SIM/UICC asks password in MT power-up and when this lock
command issued)
1: lock
"0000": PIN code
2.1.2.5 Disable SIM Lock with PIN Code
Command
Response
Comment
Unlock SIM with correct PIN code
AT+CPIN="0000"
OK
"0000": PIN code
Disable SIM lock with correct PIN code.
AT+CLCK="SC",0,"0000"
OK
"SC": SIM (lock SIM/UICC card installed in the currently selected card
slot) (SIM/UICC asks for password in MT power-up and when this lock
command issued)
0: unlock
"0000": PIN code