Moxa Technologies G2150I Carrying Case User Manual


 
OnCell G2150I AT Command Set Security Commands
6-3
AT+CPI N?
+CPIN: SIM PIN
AT+CPIN=1235
+CME ERROR: 16
AT+CPIN=1236
+CME ERROR: 16
AT+CPIN=1237
+CME ERROR: 16
AT+CPI N?
+CPIN: SIM PUK
AT+CPIN=99999999,5678
OK
AT+CPI N?
+CPIN: READY
Read the PIN status
The product requires SIM PIN
First attempt to enter a SIM PIN
Wrong PIN
Second attempt
Wrong PIN
Third attempt
Wrong PIN
Read PIN state
The product requires PUK
The PUK is entered, the new PIN shall be 5678 PUK
validation is OK. New Pin is 5678
Read PIN state
The product is ready
If the user tries to do something that requires PIN2 (CHV2), the product will refuse the action with
a “+ CME ERROR: 17” (SIM PIN2 required). The product then waits for SIM PIN2 to be given.
Of course, if SIM PIN2 is blocked, SIM PUK2 is required instead of SIM PIN2.
For example, the product needs PIN2 to write in the fixed dialing phonebook (FDN), so if SIM
PIN2 authentication has not been performed during the current session, SIM PIN2 is required.
Command Possible responses
AT+CPBS=“FD”
Note: Choose FDN
OK
AT+CPBW=5,”01290917”,129,”Jacky”
Note: Write in FDN at location 5
+CME ERROR: 17
Note: SIM PIN2 is required
AT+CPIN? +CPIN: SIM PIN2
Note: SIM PIN2 is required
AT+CPIN=5678
Note: Enter SIM PIN2
OK
AT+CPBW=2,”01290917”,129,”Jacky”
Note: Write in FDN at location 5
OK
Note: Now writing in FDN is allowed
Please note that the product only requests PIN2 or PUK2 once. Therefore, if they are not entered
properly, the next + CPIN? command will return “+CPIN: READY”.
Defined values:
<pin> Personal Identification Number. 4-digit number.
<puk> Personal Unblocking Key needed to change the PIN. 8-digit number.
Enter PIN2: +CPIN2
Description: This specific command is used to validate the PIN2 code (CHV2), or to validate the
PUK2 code (UNBLOCK CHV2) and to define a new PIN Code. Of course, the +CPIN command
allows PIN2 or PUK2 codes to be validated, but only when the last command executed resulted in
PIN2 authentication failure.
PIN2 length is between 4 and 8 digits, PUK2 length is 8 digits only.
Command syntax: AT+CPIN2=<pin2>
Command Possible responses
AT+CPIN2=1234
Note: Enter PIN2
OK
Note: PIN2 code is correct