User`s manual
PocketGSM Functional Examples
3.2
A) PIN MANAGEMENT
Due to security reasons, usually SIM cards require the insertion of PIN code. With Pocket
GSM you can insert the PIN code through the AT+CPIN command.
If your application has other security systems, you can disable the PIN request using a
mobile phone.
Examples:
Command: AT+CPIN? (Verify the SIM and the PIN status)
Answer: ERROR (SIM card reading failed)
Answer: +CPIN: READY (PIN code present: SIM ready)
Answer: +CPIN: SIM PIN (PIN code insertion is required)
Answer: +CPIN: SIM PUK (PUK code insertion is required)
Answer: +CPIN: SIM PIN2 (PIN2 code insertion is required)
In case the PIN code is not present, it must be inserted before using the SIM card:
Command: AT+CPIN=4321 (PIN insertion)
Answer: OK (PIN code right)
Answer: ERROR (PIN code wrong)
Attention: remember that if the PIN code is wrongly inserted for three times, the SIM card will block. To
unblock it you must insert the PUK code.
[ For further information see the chapter “AT Commands” present in the user’s manual on Digicom
website ]










